极验geetest|4代无感|js逆向
仅使用app_id
参数生成请求url
和请求payload
。
安装 Node 环境
-
发起请求(测试接口:
https://dkapi.geetest.com/deepknow/v2/judge?pt=1&app_id=
)
//node-fetch
fetch(url + app_id, {
"headers": {
"user-agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64)"
},
"body": payload,
"method": "POST"
}).then(function (response) {
return response.json();
}).then(data => {
console.log(data);
});
- 成功返回:
{"gen_time":xxx,"message":"ok","session_id":"xxx","status":1,"ttl":1800}
本项目仅供学习交流使用,请勿用于非法用途!