Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- xor_key = [0x01, 0x20, 0x96, 0x03, 0x09, 0x38, 0x2F, 0x72, 0xD3, 0x38, 0x4D, 0x5D, 0xE7, 0x6D, 0x07, 0x37, 0x5E, 0x18, 0xFC, 0x4F, 0x31, 0x06, 0x44, 0xC8]
- encrypted_file=open('asset/acf64357200dae915a579b6356599c480_637587231250178560','rb')
- decrypted_file=open('out.bin','wb')
- while True:
- line = list(encrypted_file.read(24))
- if len(line) == 0:
- break
- for i in range(len(line)):
- line[i] ^= xor_key[i]
- decrypted_file.write(bytes(line))
- decrypted_file.close()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement