Skip to content

Latest commit

 

History

History
34 lines (26 loc) · 999 Bytes

File metadata and controls

34 lines (26 loc) · 999 Bytes

decompile-python-obf

Hello everyone, today I'm going to show you how to deobfuscate this kind of code in python:

import base64, codecs
magic = 'cHJpbnQoJ'
love = '2uyoTkiVT'
god = 'l0J3MgbWU'
destiny = 'tq3yervpc'
joy = '\x72\x6f\x74\x31\x33'
trust = eval('\x6d\x61\x67\x69\x63') + eval('\x63\x6f\x64\x65\x63\x73\x2e\x64\x65\x63\x6f\x64\x65\x28\x6c\x6f\x76\x65\x2c\x20\x6a\x6f\x79\x29') + eval('\x67\x6f\x64') + eval('\x63\x6f\x64\x65\x63\x73\x2e\x64\x65\x63\x6f\x64\x65\x28\x64\x65\x73\x74\x69\x6e\x79\x2c\x20\x6a\x6f\x79\x29')
eval(compile(base64.b64decode(eval('\x74\x72\x75\x73\x74')),'<string>','exec'))

You just need to change the last line

eval(compile(base64.b64decode(eval('\x74\x72\x75\x73\x74')),'<string>','exec'))

to:

print(base64.b64decode(trust).decode ())

and you get the deobfuscate code.

print('hello it's me 64Bit-C)

Don't forget to star the repository ⭐⭐!

decompile-python-obf