[关闭]
@jzp113 2018-02-06T07:35:24.000000Z 字数 603 阅读 1042

紫金山api分析

安卓、逆向


https://api-zijinshan.jstv.com/V2/nav/65?OrderIndex=0&pageSize=10&AppID=zijinshan&Sign=66bc3c7398f097de82d487348c2f7d06&TT=616532651

Sign = md5(ZJS#XC@$AB3*#F2%cx$zVE*R9&L<B/V2/nav/65?OrderIndex=0&pageSize=10&AppID=zijinshan1517899475)

TT = tt(1517899475)

  1. <?php
  2. function tt($time){
  3. $rslBytes = array();
  4. $tBytes = str_split(dechex($time),$split_length = 2);
  5. for($i=0;$i<4;$i++){
  6. $rslBytes[(4 - $i) - 1] = dechex((hexdec($tBytes[$i]) & 240) ^ 240| (((hexdec($tBytes[$i]) & 15) + 1) & 15));
  7. }
  8. $TT = hexdec($rslBytes[0].$rslBytes[1].$rslBytes[2].$rslBytes[3]);
  9. if ($TT>2000000000){
  10. $TT = -($TT ^ 4294967295 - 1);
  11. }
  12. return $TT;
  13. }
  14. echo tt(1517899475);
添加新批注
在作者公开此批注前,只有你和作者可见。
回复批注