var timeStamp =Math[_0x1d6c('0x29')](newDate()[_0x1d6c('0x9')]()/ 0x3e8); var _md5 =md5(timeStamp); var s =btoa(timeStamp +','+ _md5); fetch('./h05/api/'+ s)['then'](function(_0x35f53c){ return _0x35f53c[_0x1d6c('0x14')](); }
functions(){ var timeStamp =Math['trunc'](newDate()['getTime']()/ 0x3e8); var _md5 =md5(timeStamp); var s =btoa(timeStamp +','+ _md5); console.log(s); return s; } s()
python代碼為:
import requests import execjs file=open('H05.js','r',encoding='utf-8').read() ctx=execjs.compile(file) s=ctx.call('s') heard={ 'user-agent':'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/127.0.0.0 Safari/537.36 Edg/127.0.0.0' } url='https://www./playground/h05/api/'+s res = requests.get(url=url,headers=heard).json()