Reverse shell cheat sheet

Reverse /bin/sh TCP shell

 Loop Connect-back reverse /bin/sh shell

Reverse shell handler (attacker side)

TCP listener

SCTP listener

TLS listener

From arbitrary redirect to XSS

Assuming we have an open redirection through the following URL:

Using the data: scheme

Using the javascript: scheme