韭研参数简单逆向包含js 和案例py文件
立即下载
资源介绍:
逆向韭研参数,这个是之前的版本,不保证现在有效,可作为参考
# coding=utf8
# 2333333
import time
import requests
import execjs
t=str(int(time.time()*1000))
print(t)
token=execjs.compile(open('d1.js','r',encoding='utf-8').read()).call('jiemi',t)
headers = {
'authority': 'app.jiuyangongshe.com',
'accept': 'application/json, text/plain, */*',
'accept-language': 'zh-CN,zh;q=0.9,en;q=0.8,en-GB;q=0.7,en-US;q=0.6',
'cache-control': 'no-cache',
'content-type': 'application/json',
'cookie': 'Hm_lvt_58aa18061df7855800f2a1b32d6da7f4=1682010057,1682044243; Hm_lpvt_58aa18061df7855800f2a1b32d6da7f4=1682044679',
'origin': 'https://www.jiuyangongshe.com',
'platform': '3',
'pragma': 'no-cache',
'referer': 'https://www.jiuyangongshe.com/',
'sec-ch-ua': '"Chromium";v="112", "Microsoft Edge";v="112", "Not:A-Brand";v="99"',
'sec-ch-ua-mobile': '?0',
'sec-ch-ua-platform': '"Windows"',
'sec-fetch-dest': 'empty',
'sec-fetch-mode': 'cors',
'sec-fetch-site': 'same-site',
'timestamp': '{}'.format(t),
'token': '{}'.format(token),
'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/112.0.0.0 Safari/537.36 Edg/112.0.1722.48',
}
data = '{"back_garden":0,"keyword":"三六零","order":1,"limit":15,"start":3,"type":"2"}'.encode('utf-8')
response = requests.post('https://app.jiuyangongshe.com/jystock-app/api/v2/article/search', headers=headers, data=data)
print(response.text)