Find this useful? Enter your email to receive occasional updates for securing PHP code.
Signing you up...
Thank you for signing up!
PHP Decode
<? eval(gzinflate(base64_decode(' bVRtb+I4EP6OxH/wRUjAKmnSbfeuF0pRS0PLibdL wu6erqfIlwzEd..
Decoded Output download
?><?php
$id=$_GET['id'];
header('Content-Type: application/json;charset=UTF-8');
if(file_exists('delay.txt')){
$delay=file_get_contents('delay.txt');
if(time()-$delay<30)
{echo '{"error":"wait a few seconds!"}';die();}
}
$url = "https://ssm-api.vnpost.vn/api/services/app/TraCuu/TraCuuThongTinThe?maSoBhxh=$id";
$token=file_get_contents('token.txt');
$headers = array(
"Accept: application/json, text/plain, */*",
"Accept-Language: vi-VN,vi;q=0.9,en;q=0.8,fr-FR;q=0.7,fr;q=0.6,en-US;q=0.5,zh-CN;q=0.4,zh;q=0.3",
"Authorization: Bearer $token",
"Cache-Control: no-cache",
"Expires: Sat, 01 Jan 2000 00:00:00 GMT",
"Pragma: no-cache",
"Sec-Ch-UA: \"Not_A Brand\";v=\"8\", \"Chromium\";v=\"120\", \"Google Chrome\";v=\"120\"",
"Sec-Ch-UA-Mobile: ?0",
"Sec-Ch-UA-Platform: \"Windows\"",
"Sec-Fetch-Dest: empty",
"Sec-Fetch-Mode: cors",
"Sec-Fetch-Site: same-site",
"X-Requested-With: XMLHttpRequest"
);
$referrer = "https://ssm.vnpost.vn";
$options = array(
CURLOPT_PORT => "443",
CURLOPT_URL => "$url",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_SSL_VERIFYPEER => false,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
//CURLOPT_POSTFIELDS => $data,
CURLOPT_HTTPHEADER => $headers
);
$ch = curl_init();
curl_setopt_array($ch, $options);
$response = curl_exec($ch);
$err = curl_error($ch);
curl_close($ch);
//echo $err;
// Handle $response as needed
echo $response;
file_put_contents('delay.txt',time());
?>
<?
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