billythegoat356 / Riptide

A powerful tool allowing you to reverse .EXE back to .PY
Eclipse Public License 2.0
182 stars 25 forks source link

how to avoid skids using this tool on your .exe #4

Open xtekky opened 2 years ago

xtekky commented 2 years ago

Imagine you have the sourcecode in a file in main.py and a function called start() that starts the code.

then just create another .py file and write:

 from main import start; start()

( don't worry, like pip imports, py2exe will pack the other file in the .exe )

when decompiling the .exe the tool will only find this file with no source code in it, and l I think skid will be too dumb to search elsewhere in the .exe for the remaining files

billythegoat356 commented 2 years ago

I think pyinstxyractor does extract the file but skids won't find it yes XD

xtekky commented 2 years ago

image

you can also rename your file to something starting with pyi ex: pyi_rth_win64api.py which will make riptide crash

billythegoat356 commented 2 years ago

nice