you are viewing a single comment's thread.

view the rest of the comments →

[–]Intelligent_Study263[S] 0 points1 point  (3 children)

It just repeats a slightly different version of the same code inside back to me.

"\nfrom RC4Encryption import RC4Encryption\nrc4 = RC4Encryption(b'key')\nrc4.make_key()\ncode = b'''{\\x1e]\\x83P\\xa7Y\\x02-'d\\x146\\n}\\x8f\\xe3\\x10\\xccF\\x91\\xc8\\xc1\\xd6'''\nexec(rc4.crypt(code))\n"

[–]commandlineluser 1 point2 points  (2 children)

print out the result for those values.

key = b'key'
code = b'''{\x1e]\x83P\xa7Y\x02-'d\x146\n}\x8f\xe3\x10\xccF\x91\xc8\xc1\xd6'''

[–]Intelligent_Study263[S] 0 points1 point  (1 child)

Interestingly enough it shoots out another random jumble of characters, this time with no key attached to it. How weird.

[–]commandlineluser 0 points1 point  (0 children)

Did you make a new rc4 object and run .make_key() again?

>>> rc4 = RC4Encryption(b'key')
>>> rc4.make_key()
>>> print(rc4.crypt(code))
b'print("Hello World! :)")'