diff --git a/exploit/components.pl b/exploit/components.pl index 2d74235..88b82f2 100644 --- a/exploit/components.pl +++ b/exploit/components.pl @@ -39,12 +39,14 @@ $xm=$row; $xm=~ s/com_//g; + my $comversion; + $response=$ua->get("$target/components/$row/$xm.xml"); my $headers = $response->headers(); $sourcer=$response->decoded_content; if ($response->status_line =~ /200/g ) { $sourcer =~ /type=\"component\" version=\"(.*?)\"/; - my $comversion = $1; + $comversion = $1; $tmp.="Installed version : $comversion\n"; }