With Girsh, just run it and it will detect the OS and execute the correct commands to upgrade it to a full interactive reverse shell.
For a Linux
For a Windows
Usage
Two modes are available:
go run main.go listener -h
Usage:
girsh listen [flags]
Flags:
-h, –help help for listen
Global Flags:
-d, –debug Debug output
-p, –port int port to listen (default is 1234) (default 1234)
go run main.go -h
Generate a reverseshell oneliners (credits shellerator).
And listen then run stty raw -echo and send the python command to spawn a tty shell if it’s Linux
or use ConPTY if it’s windows
Usage:
girsh [flags]
girsh [command]
Available Commands:
help Help about any command
listen Listen and spawn a fully interactive for windows and linux client
Flags:
-d, –debug Debug output
-h, –help help for revshell
-p, –port int port to listen (default is 1234) (default 1234)
Demo
Linux
The groupdel command in Linux removes a group from the system. It deletes the group's entry from /etc/group and /etc/gshadow,…
The wc command in Linux counts lines, words, characters, and bytes in files or standard input. It…
The top command in Linux provides a real-time view of running processes and system resource usage. From…
The usermod command in Linux modifies existing user account attributes. You can use it to manage group…
The sort command in Linux reads lines from files or standard input and writes them to standard…
The wall command in Linux sends a message to the terminals of all currently logged-in users. The…