Tutorial Reverse bytes of file using Python

AndnixSH

PMT Elite Modder
Original poster
Staff member
Modding-Team
Jun 27, 2017
4,546
303,691
1,213
Modding World
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

Code:
open('name_of_your_file.dll','wb').write(open('name_of_your_file.dll','rb').read()[::-1])
Download Python: Welcome to Python.org

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

Before:

PL880Ev.png


After:

tTMX270.png