Backdoor-pyc – Replace pyc files with malicious pyc files.
How it work:
– It replace for .pyc files and injects itself into them.
– If at any time the .py file is updated, the .pyc will be automatically recompiled & Self infecting payload.
Usage :
Example :
*Make edits to the testing27.py file [HOST]* For python27 python ./backdoor-pyc27.py -l testing27.py -p /usr/lib/python27/encodings/utf_8.py For python3.X python3 ./backdoor-pyc3X.py -l testing3X.py -p /usr/lib/python3/rlcompleter.py -v 34 #notice version for python3
Download : backdoor-pyc.zip(4.2 KB)
Source :https://github.com/secretsquirrel