I have problem..
this is my code...
#!/usr/bin/perl
print "SITE:\n";
$SITE = <STDIN>;
chomp $SITE;
print "PATH:\n";
$PATH = <STDIN>;
chomp $PATH;
print "USERID:\n";
$USERID = <STDIN>;
chomp $USERID;
#Send Request
use LWP::UserAgent;
$ua = new LWP::UserAgent;
$ua->agent("Mozilla/8.0");
$ua = LWP::UserAgent->new;
my $req = HTTP::Request->new(GET => "$SITE$PATH/***** ****");
$req->header('Accept' => 'text/html');
$res = $ua->request($req);
$con = $res->content;
if ($con =! /m[0-9a-fA-F]{32}/){
print $1;
}
else{
print "";
}
I need grab md5 hash from site.. i have this code
main(skins/MD5HASH_HERE/header.php)
I need grab this .. this have 32 lenght.. i try
if ($con =! /m[0-9a-fA-F]{32}/
but not work..
pls help me
this is my code...
#!/usr/bin/perl
print "SITE:\n";
$SITE = <STDIN>;
chomp $SITE;
print "PATH:\n";
$PATH = <STDIN>;
chomp $PATH;
print "USERID:\n";
$USERID = <STDIN>;
chomp $USERID;
#Send Request
use LWP::UserAgent;
$ua = new LWP::UserAgent;
$ua->agent("Mozilla/8.0");
$ua = LWP::UserAgent->new;
my $req = HTTP::Request->new(GET => "$SITE$PATH/***** ****");
$req->header('Accept' => 'text/html');
$res = $ua->request($req);
$con = $res->content;
if ($con =! /m[0-9a-fA-F]{32}/){
print $1;
}
else{
print "";
}
I need grab md5 hash from site.. i have this code
main(skins/MD5HASH_HERE/header.php)
I need grab this .. this have 32 lenght.. i try
if ($con =! /m[0-9a-fA-F]{32}/
but not work..
pls help me