Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Android Malware Pracs 2
import sys
s = sys.argv[1].decode('unicode-escape')
key = [int(i) for i in sys.argv[2].split(',')]
index, res = 0, ""
for char in list(s):
res += chr(ord(char) ^ key[index])
index = (index + 1) % 5
print ''.join(res)
#$ python decrypt-tool.py 'wSt!)~mm= b@i2%d[' '13,50,4,83,70'
#zapros_informacii
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.