Ca0s PathFinder
----------------------------------------------------------------------------------------------------
";
if(@get_headers("$url"))
{
if(isset($_POST["ulist"]))
{
echo '[+]Using user list (Default too)';
echo '
[+]Uploading list...';
copy($_FILES["ulistpath"]["tmp_name"], $_FILES["ulistpath"]["name"]);
echo '
[+]Uploaded: '.$_FILES["ulistpath"]["name"];
readulist($_FILES["ulistpath"]["name"]);
}
echo '
';
foreach($paths as $admin)
{
$headers=get_headers("$url$admin");
if(!strpos($headers[0], "404"))
{
echo ('Found: '.$url.$admin.' | '.$headers[0].' |
');
$found="yeah";
}
}
if(@$upaths[1])
{
foreach($upaths as $admin)
{
$headers=get_headers("$url$admin");
if(!strpos($headers[0], "404"))
{
echo ('Found: '.$url.$admin.' | '.$headers[0].' |
');
$found="yeah";
}
}
}
if(!isset($found))
{
echo '
';
echo '
[-]No results found. Try with another word list :-)
';
echo '[+]Finished';
}
else
{
echo '';
echo '
[+]Finished';
}
echo '
Reset';
}
else
{
echo '[-]Host doesnt exist or is down
';
echo '[+]Finished
';
echo '
Reset';
}
}
function readulist($file)
{
global $upaths;
$lista=fopen($file, "r");
while(!feof($lista))
{
$path=fgets($lista);
if(substr($path, 0)=="/")
{
$path=substr($path, 1, strlen($path));
}
$upaths[]=$path;
}
fclose($lista);
}
?>
----------------------------------------------------------------------------------------------------
Coded By Ca0s