Skip to content

Instantly share code, notes, and snippets.

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 'wSt!)~mm= b@i2%d[' '13,50,4,83,70'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment