El codigo :
Código
#!usr/bin/perl #HTTP FingerPrinting 0.1 #Coded By Doddy H use LWP::UserAgent; my $nave = LWP::UserAgent->new; $nave->agent( "Mozilla/5.0 (Windows; U; Windows NT 5.1; nl; rv:1.8.1.12) Gecko/20080201Firefox/2.0.0.12" ); unless ( $ARGV[0] ) { } else { my $code = $nave->get( $ARGV[0] ); if ( $ARGV[1] eq "-full" ) { } else { } } #The End ?
Tambien hice una version grafica :
Una imagen :
El codigo :
Código
#!usr/bin/perl #HTTP FingerPrinting 0.1 #Version Tk #Coded By Doddy H use Tk; use LWP::UserAgent; if ( $^O eq 'MSWin32' ) { use Win32::Console; Win32::Console::Free(); } my $nave = LWP::UserAgent->new; $nave->agent( "Mozilla/5.0 (Windows; U; Windows NT 5.1; nl; rv:1.8.1.12) Gecko/20080201Firefox/2.0.0.12" ); my $background_color = "black"; my $foreground_color = "green"; my $ven = MainWindow->new( -background => $background_color, -foreground => $foreground_color ); $ven->title("HTTP FingerPrinting 0.1 (C) Doddy Hackman 2013"); $ven->geometry("430x340+20+20"); $ven->resizable( 0, 0 ); $ven->Label( -background => $background_color, -foreground => $foreground_color, -text => "Target : ", -font => "Impact" my $target = $ven->Entry( -background => $background_color, -foreground => $foreground_color, -width => 30, -text => "http://www.petardas.com" $ven->Button( -command => \&fast, -activebackground => $foreground_color, -background => $background_color, -foreground => $foreground_color, -text => "Fast", -width => 10 $ven->Button( -command => \&full, -activebackground => $foreground_color, -background => $background_color, -foreground => $foreground_color, -text => "Full", -width => 10 $ven->Label( -background => $background_color, -foreground => $foreground_color, -text => "OutPut", -font => "Impact" my $output = $ven->Text( -background => $background_color, -foreground => $foreground_color, -width => 55, -heigh => 15 MainLoop; sub fast { $output->delete( "0.1", "end" ); my $code = $nave->get( $target->get ); $output->insert( "end", "[+] Date : " . $code->header('date') ); $output->insert( "end", "\n[+] Server : " . $code->header('server') ); $output->insert( "end", "\n[+] Connection : " . $code->header('connection') ); $output->insert( "end", "\n[+] Content-Type : " . $code->header('content-type') ); } sub full { $output->delete( "0.1", "end" ); my $code = $nave->get( $target->get ); $output->insert( "end", $code->headers()->as_string() ); } #The End ?