simple info grabber [php]

3
876
simple info grabber [php]
simple info grabber [php]

Latest posts by sharu (see all)

http://i.imgur.com/zPKs7qM.png simple info grabber [php]

<?php

@set_time_limit(0);

echo”
===========================
#  info grabber by sharu  #
===========================
\n”;

echo”\r\n [+] Target (without http://) :”; // Put Target
$target=trim(fgets(STDIN,1024));

echo “\n[+]———————— Start ————————–[+]\n\n”;

echo”\r\n [+] START INFORMATION GATHERING: \n\n”;

echo”[-] Host IP : “.gethostbyname($target).” \n”;

$sourc = @file_get_contents(“http://www.whois.com/whois/$target”);
preg_match_all(“#<br>Name Server:(.*?)<br>#i”,$sourc,$name);

$nameservers = $name[1];
foreach($nameservers as $nameserver){
echo”[-] Name Server: $nameserver \n”;
}

$source = @file_get_contents(“http://www.mydnstools.info/webserverinfo/$target”);
preg_match_all(“#<b>Server: (.*?)
</b>#i”,$source,$serv);
$servers = $serv[1];
foreach($servers as $server){
echo”[-] Server: $server \n”;

}

echo”\r\n [+] START REVERSE IP: \n\n”;

$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, “http://domains.yougetsignal.com/domains.php”);
curl_setopt($ch, CURLOPT_POST, true);
curl_setopt($ch, CURLOPT_POSTFIELDS, “remoteAddress={$target}”);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
$postResult = curl_exec($ch);
curl_close($ch);

if(preg_match_all(“#\”domainCount\”:\”(.*?)\”#”,$postResult,$domain)) {
$nigga = $domain[1];
}
foreach ($nigga as $domains)
if(preg_match_all(“#\[([^\]]*)\]#”,$postResult,$fuck)){
$zebi = $fuck[1];
}
foreach ($zebi as $fucck) {

if(preg_match_all(“#\”(.*?)\”, \”\”#”,$fucck,$matches)) {
$klawi = $matches[1];
foreach ($klawi as $fuckaa)  {
echo”\t[*] “.$fuckaa.” \n”;
$save = fopen(‘Log.txt’,’ab’);
fwrite($save,”http://”.$fuckaa.”/\r\n”);
fclose($save);
}
}
}
{ echo “\n[-] Total Websites: $domains\n”;    }
echo “\n[-] Result in Log.txt\n”;

?>

3 মন্তব্য

একটি উত্তর ত্যাগ