Hacking and more...
HaCkinG CulT
Lista Forumurilor Pe Tematici
Hacking and more... | Reguli | Inregistrare | Login

POZE HACKING AND MORE...

Nu sunteti logat.
Nou pe simpatie:
Popa Bianca
Femeie
24 ani
Valcea
cauta Barbat
25 - 63 ani
Hacking and more... / Hacking tools / Salut Moderat de Shocker
Autor
Mesaj Pagini: 1
Manutza
Membru nou

Inregistrat: acum 17 ani
Postari: 13
Uite un program cu care gasesti rfi in fisierele php ...

Trebuie sa stii putin php dar e usor de folosit

==============================================
#!/usr/bin/perl


#Thanks to Ironfist for the bits of his code I used
#Please visit & for more of my code!

print q(

RFI Scanner by NaPsTeR911  &
Usage: put the php files to scan in C:\rfi\ and run rfi.pl

);

if (chdir("C:/rfi")
    {   

$dir = "C:/rfi";
   
@files = <$dir/*.php>;

foreach $file (@files)
    {
        print "Checking: " .$file . "\n";


        open(FILE, "$file";
        while(<FILE>
        {

            $line = $_;

            if(($line =~ m/include_once \$/i) || ($line =~ m/require_once \$/i) || ($line =~ m/include_once\(\$/i) || ($line =~ m/require_once\(\$/i) || ($line =~ m/require \$/i) || ($line =~ m/require\(\$/i) ||  ($line =~ m/require \$/i) || ($line =~ m/include \$/i) || ($line =~ m/include\(\$/i))
                {
                    open(RESULT,">>C:/rfi/results.html" || die("Cannot Open File";
                    print RESULT "Found: $line in $file <br>";
                    close(RESULT);

                }
        }
        close(FILE);
    }

print "Finnished! Check C:/rfi/results.html to see any inclusions!";
    }
    else
    {
        print "Error: Program exited becuase C:/rfi/ does not exist\n";
        exit;
    }


=========================================================



Care stie altu mai bun ... sau ceva pentru xss sa ma contacteze


pus acum 17 ani
   
Pagini: 1  

Mergi la