29 September 2017

Python reverse bytes of file

Developers like to troll us by reversing whole bytes of DLL file so we have a python code to reverse back to original. Thanks to hokage242 for his simple code

open('name_of_your_file.dll','wb').write(open('name_of_your_file.dll','rb').read()[::-1])

Download Python: https://www.python.org/

Create a .py file and add this code, edit, save and execute. Done.

Before:



After:

0 comments:

Post a Comment