Advertisement
shor7cut

Scraping PASTEBIN LEAK CC

Dec 28th, 2015
1,460
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 1.42 KB | None | 0 0
  1. <?php
  2. error_reporting(0);
  3. set_time_limit(0);
  4. session_start();
  5. function fgt($limit){
  6.     $fgt = file_get_contents("http://pastebin.com/api_scraping.php?limit=$limit");
  7.     return $fgt;
  8. }
  9.  
  10. function cek_cc($url){
  11.     $ch = curl_init();  
  12.     curl_setopt($ch,CURLOPT_URL,$url);
  13.     curl_setopt($ch,CURLOPT_RETURNTRANSFER,true);
  14.     curl_setopt($ch, CURLOPT_CONNECTTIMEOUT ,0);
  15.     curl_setopt($ch, CURLOPT_TIMEOUT, 5); //timeout in seconds
  16.     if (preg_match("/visa|mastercard|paypal|amex/", curl_exec ($ch))){
  17.         return true;
  18.     }else{
  19.         return false;
  20.     }
  21. }
  22.  
  23. function save($name,$data){
  24.         $myfile = fopen($name, "a+") or die("Unable to open file!");
  25.         fwrite($myfile, $data);
  26.         fclose($myfile);
  27.         if($myfile){
  28.                 return true;
  29.         }else{
  30.                 return false;
  31.         }
  32. }
  33. $label.= "----------------------------------\r\n";
  34. $label.= "--- Scraping PASTEBIN LEAK CC ----\r\n";
  35. $label.= "----------------------------------\r\n";
  36. echo $label;
  37. $no=1;
  38. for ($i=0; $i <$no; $i++) {
  39. $x = fgt(50);
  40. // save("cc-pastebin.txt",$save);
  41. // if(cek_cc($data)){
  42. $jx = json_decode($x,true);
  43. foreach ($jx as $key => $value) {
  44.     $data = $value['scrape_url'];
  45.     $full_url = $value['full_url'];
  46.  
  47. if(isset($_SESSION[$full_url])){
  48.  
  49. }else{
  50.     $_SESSION[$full_url] = true;
  51.     if(cek_cc($data)){
  52.         echo "-> $full_url {Sikat cok}\r\n";
  53.     }else{
  54.         echo "-> $full_url {Zonk cok}\r\n";
  55.     }
  56. }
  57.  
  58.  
  59.  
  60.  
  61. $no++;
  62. }
  63. }
  64. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement