Untitled
raw download clone
TEXT
views 22
,
size 2947 b
<?php
$ch = curl_init();

curl_setopt($ch, CURLOPT_URL, 'https://i16-tb.sgsnssdk.com/luckycat/helo/v1/task/sign_in?app_name=Helo&manifest_version_code=312&enter_client_ab=language_test&app_version=3.1.2&device_memory=3g&iid=6820420487886292737&gaid=2f387437-33af-4b7d-9fa7-52b88ef3babb&original_channel=gp&channel=gp&app_version_minor=3.1.2.03&device_type=Mi%2BMIX%2B3&language=en&resolution=1280*720&openudid=318401d9f428b59b&radio=LTE&update_version_code=31203&sys_language=en&login_platform=tiktok&sys_region=in&os_api=29&tz_name=Asia%2FKolkata&tz_offset=19800&dpi=270&brand=Xiaomi&bind_platforms=tiktok&ac=4G&device_id=6820419273186625025&os=android&os_version=10&version_code=312&hevc_supported=1&cold_start=0&release_build=v3.1.2.03%2BBuild%2Bgp_70a594a_20200320&sim_oper=405752&device_brand=Xiaomi&device_platform=android&sim_region=in&region=in&aid=1342&ui_language=en&polaris_version=helo_2.0.1.103&polaris_version_code=201');
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_POSTFIELDS, '{"read_time" :1536}');
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE) ;
curl_setopt($ch, CURLOPT_ENCODING, '') ;

//$headers = array();
$headers = array('Host: i16-tb.sgsnssdk.com','Connection: keep-alive', 'Cookie: _ENV["excgd=20200430; task_page_active=20200430; install_id=6820420487886292737; ttreq=14ad9848016bc5176677758f831d761030e7760c8; multi_sids=6820419699378799617%3A5616daa8560d73300fddbcc7356d6b95; odin_tt=b0deac5766d9d7d9ddc06f4595a56698706fb4ef3cf96aa33d9fabb1bb1bf0039a078f4dbe6cdf4d75da5f3f34814fb2a582d20045a2e864d4910c732e1bd0b8; d_ticket=b91c5db5db1fc012a868791a61dbd02feff0f; sid_guard=5616daa8560d73300fddbcc7356d6b95%7C1588002992%7C5184000%7CFri%2C+26-Jun-2020+15%3A56%3A32+GMT; uid_tt=78307230eef547126cc902233c7385e1a13a2d6b7e0ff2e37624732835913a62; uid_tt_ss=78307230eef547126cc902233c7385e1a13a2d6b7e0ff2e37624732835913a62; sid_tt=5616daa8560d73300fddbcc7356d6b95; sessionid=5616daa8560d73300fddbcc7356d6b95; sessionid_ss=5616daa8560d73300fddbcc7356d6b95; passport_csrf_token=b6e27ecb6429a712ab465f300d71e457"]', 'Content-Encoding: ', 'Sdk-Version: 1', 
//$headers[] = 'X-Tt-Token: 015616daa8560d73300fddbcc7356d6b957b8b12bb9ff78052911610f23050a1b96b326b87505e93eefbbffee74569336a2f';
//$headers[] = 'X-Ss-Req-Ticket: 1588180207684';
'User-Agent: Dalvik/2.1.0 (Linux; U; Android 10; Mi MIX 3 Build/QKQ1.190828.002) NewsArticle/3.1.2', 
'Content-Type: application/unknown', 
//$headers[] = 'X-Ss-Stub: 858BF147A1C90FE3113DCD36D7415A24';
//$headers[] = 'X-Tt-Trace-Id: 00-c6eac9d8105ea6ff315d8446014e053e-c6eac9d8105ea6ff-01';
'Accept-Encoding:') ;
//$headers[] = 'X-Khronos: 1588180207';
//$headers[] = 'X-Gorgon: 836141100000d684116ccd1d898bad3dd1b648f41bfba0741898';
curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

$result = curl_exec($ch);
echo $result;
if (curl_errno($ch)) {
    echo 'Error:' . curl_error($ch);
}
curl_close($ch);
close fullscreen
Login or Register to edit or fork this paste. It's free.