Skip to content

A TUI implementation of "Reverse Shell Generator" by 0dayCTF.

License

Notifications You must be signed in to change notification settings

ArmanHZ/reverse-from-the-shell

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Reverse from the Shell (rvfs)

This is a TUI implementation of 0dayCTF’s reverse shell generator.

The TUI library used for this project is tview.

I decided to work on this project because I wanted a quick and easy way to generate listeners and payloads when doing CTFs/HTB from the comfort of my Terminal environment.

⚠️ Attention ⚠️

I made this repo public when rvfs reached the minimal working version status.

As of now, some features from 0dayCTF’s website are missing.

These features are filtering of payloads and any other type of shell other than reverse shell. I will be implementing bind shell and the rest in the future.

Build and Run

# Build
go build -o bin/ ./cmd/rvfs/

# Run
./bin/rvfs

Color bug

tview uses tcell under the hood. So, all the colors are managed by that library (afaik). tcell respects your terminal colors and theme, but some colors might be unreadable in the context of a tview application.

If you encounter such colors, I implemented a temporary fix.

You can use the following flag:

# Color fix
rvfs -color-fix

Usage

  • You can navigate (change focus) between the components using tab and shift+tab
  • Use Enter to interact with the buttons and dropdown menus
  • When focused on the payload table, you can go up and down using the arrow keys, or the Vim keys.

This is how rvfs looks like with the default Kali theme/colors:

./img/rvfs-0.1.png

Current features

  • All listeners are available
  • All the reverse shell payloads (except P0wny Shell, which will be added later)) are available
  • rvfs utilizes design clipboard, so you can use the copy buttons to copy the payloads to your clipboard
    • If you press enter while your focus is on the shell table, it also copies the payload to your clipboard

About

A TUI implementation of "Reverse Shell Generator" by 0dayCTF.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages