Browse Source

[NEW] add poc script

master
myitinos 7 months ago
parent
commit
94ac129e13
1 changed files with 12 additions and 0 deletions
  1. 12
    0
      poc.py

+ 12
- 0
poc.py View File

@@ -0,0 +1,12 @@
1
+import base64
2
+
3
+a = "s1XWgtaLvfyEeYUi42Mo36NR9DKrVjbTpPuwHc5lA8dC0OSxzknm7qGJBIZFQh+/"
4
+a = [i for i in a]
5
+b = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"
6
+b = [i for i in b]
7
+# SlashRootCTF{7h1s_i5_n0t_a_b3t4_tE5t_k3y}
8
+c = "3akPbN6noa6GDNzheoO4ratIDRftbLsheWO4ratIDRfv3W7keWsF3akPbN6n4R2CiogzUq109RccVH2cDw7qUq109RccVHIPrN3hoa6x"
9
+d = list(map(lambda x: a.index(x), c))
10
+e = ''.join(list(map(lambda x: b[x], d)))
11
+f = base64.b64decode(e)
12
+print(f)

Loading…
Cancel
Save