Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- error_reporting(0);
- set_time_limit(0);
- session_start();
- function fgt($limit){
- $fgt = file_get_contents("http://pastebin.com/api_scraping.php?limit=$limit");
- return $fgt;
- }
- function cek_cc($url){
- $ch = curl_init();
- curl_setopt($ch,CURLOPT_URL,$url);
- curl_setopt($ch,CURLOPT_RETURNTRANSFER,true);
- curl_setopt($ch, CURLOPT_CONNECTTIMEOUT ,0);
- curl_setopt($ch, CURLOPT_TIMEOUT, 5); //timeout in seconds
- if (preg_match("/visa|mastercard|paypal|amex/", curl_exec ($ch))){
- return true;
- }else{
- return false;
- }
- }
- function save($name,$data){
- $myfile = fopen($name, "a+") or die("Unable to open file!");
- fwrite($myfile, $data);
- fclose($myfile);
- if($myfile){
- return true;
- }else{
- return false;
- }
- }
- $label.= "----------------------------------\r\n";
- $label.= "--- Scraping PASTEBIN LEAK CC ----\r\n";
- $label.= "----------------------------------\r\n";
- echo $label;
- $no=1;
- for ($i=0; $i <$no; $i++) {
- $x = fgt(50);
- // save("cc-pastebin.txt",$save);
- // if(cek_cc($data)){
- $jx = json_decode($x,true);
- foreach ($jx as $key => $value) {
- $data = $value['scrape_url'];
- $full_url = $value['full_url'];
- if(isset($_SESSION[$full_url])){
- }else{
- $_SESSION[$full_url] = true;
- if(cek_cc($data)){
- echo "-> $full_url {Sikat cok}\r\n";
- }else{
- echo "-> $full_url {Zonk cok}\r\n";
- }
- }
- $no++;
- }
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement