githubEdit

Shells

In computing, a shell is a user interface for access to an operating system's services. In general, operating system shells use either a command-line interface or graphical user interface, depending on a computer's role and particular operation.

-- Wikipediaarrow-up-right

General

Webshells in Kali

/usr/share/laudanum
/usr/share/webshells

GitHub - tennc/webshell: This is a webshell open source projectarrow-up-right E.g. /usr/share/webshell/asp/webshell.asp

TTY

See Terminal config & TTY

Listeners

netcat

SANS Netcat cheat sheetarrow-up-right Note: Try common ports like 443 if not working otherwise

Listening using rlwrap (makes e.g. arrow keys work in shell)

tcpdump

Listen for incoming icmp messages (like ping)

Reverse shells

bash

netcat

python

Powershell

See PowerShell

Reverse shell (from https://tryhackme.com/room/introtoshells)

perl

php

Linux: php-reverse-shell/php-reverse-shell.php at master · pentestmonkey/php-reverse-shell · GitHubarrow-up-right

Windows: windows-php-reverse-shell/Reverse Shell.php at master · Dhayalanb/windows-php-reverse-shell · GitHubarrow-up-right

ruby

aspx

java

Socat

socat - Multipurpose relayarrow-up-right

Listener

Connect (Linux)

Connect (Windows)

Encrypted (and TTY)

Create cert

Listener

Connect (Linux)

Last updated