Girsh : Automatically Spawn A Reverse Shell Fully Interactive

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

  • Get the terminal’s size
  • Spawn a tty using python2.7, python3 and python
  • Change the terminal as raw

For a Windows

  • Dowload ConPTY on the same machine and same port as the reverse shell server
  • Listen for getting the ConPTY reverse shell

Usage

Two modes are available:

  • Simple listener

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)

  • Interactive

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

R K

Recent Posts

garak, LLM Vulnerability Scanner : The Comprehensive Tool For Assessing Language Model Security

garak checks if an LLM can be made to fail in a way we don't…

4 hours ago

Vermilion : Mastering Linux Post-Exploitation For Red Team Success

Vermilion is a simple and lightweight CLI tool designed for rapid collection, and optional exfiltration…

4 hours ago

AD-CS-Forest-Exploiter : Mastering Security Through PowerShell For AD CS Misconfiguration

ADCFFS is a PowerShell script that can be used to exploit the AD CS container…

4 hours ago

Usage Of Tartufo – A Comprehensive Guide To Securing Your Git Repositories

Tartufo will, by default, scan the entire history of a git repository for any text…

4 hours ago

Loco : A Rails-Inspired Framework For Rust Developers

Loco is strongly inspired by Rails. If you know Rails and Rust, you'll feel at…

1 day ago

Monolith : The Ultimate Tool For Storing Entire Web Pages As Single HTML Files

A data hoarder’s dream come true: bundle any web page into a single HTML file.…

1 day ago