You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

poc.py 463B

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