View Full Version : Help with reverse of function

March 31st, 2011, 14:17

I'm new to this forum, but I'm not new to reverse engineering.
I want to create a keygen for a program and I managed to create a python script that does the validation of name/key pair exactly like the program does.
Here is a part of the script that I need help with http://pastebin.com/fGQ2AQ1S ("http://pastebin.com/fGQ2AQ1S") (and the dump.txt file http://www.megaupload.com/?d=2M4UXT6G ("http://www.megaupload.com/?d=2M4UXT6G"), if you need another link please let me know ).

I need help understanding what the decode function does and if it can be reversed. I need to get the bits100 when I now only the table variable.
Is it even reversible? Or is it a decode function of some asymmetric encryption algorithm and the data in dump.txt is the public key?

If you need an explanation of the python script please let me know.
Thank you.