前言
本文章内容仅仅提供学习与交流,严禁用于商业和非法用途,如侵权请联系删除!!!
一、目标
- 目标网址:aHR0cHM6Ly93d3cuY2JhbGVhZ3VlLmNvbS9kYXRhLyMvbGVhZGVycw
- 目标api:
IGh0dHBzOi8vZGF0YS1zZXJ2ZXIuY2JhbGVhZ3VlLmNvbS9hcGkvcGxheWVyLW9mZmljaWFsL3NvcnQ/cGFnZU51bWJlcj0xJnBhZ2VTaXplPTIw - 返回内容解密
二、分析
1.抓包分析
- 目标内容
- 打开控制台,刷新网页或者点上面的参数,发送请求
请求参数很明显,但是返回内容加密了,所以浏览器会有一个解密的操作,在搜索框搜索 decrypt字眼
2.逆向分析
刚好可以看到存在解密,点进去,发现有提个创建解密器的函数
打上断点,并且我们发现上面有enc的字眼,初步判断为AES或者DES解密
刷新网页,卡在断点处,查看调用栈
发现堆栈有两个 decrypt ,点进去加上断点,再次刷新请求!
参数L 看起来就是我们要的解密数据,顺着断点一步一步下去,发现加密位置
可以明显看到加密位置就在这里,控制台打印一下,没错
3.代码实现
将代码扣下来
js代码
var tp = require('crypto-js');
function decrypt(e) {
var e=e.replace(/\s+/g,"+");
const t = "uVayqL4ONKjFbVzQ";
var r = tp.enc.Utf8.parse(t)
, n = tp.AES.decrypt(e, r, {
mode: tp.mode.ECB,
padding: tp.pad.Pkcs7
});
return tp.enc.Utf8.stringify(n);
}
console.log(decrypt("UmFJ3FE0zJK40J8tDSlJU/Lhp/ASU1um9TaXmDAZ0kG6OJ7HCbrZRLmPDYDOXD/l0tTp1Mci70iUkfLAXGzNUN6kwED8CxNFCXE+Z61Vgxdyo9qM7MgFJXCyCQ8mLXELVGFFeEIe+1rIIsQUo/i2bNKRDXXA3Hy1K2Rpn3qlyLth55PCF2A68nBV5JEbQ7IsjXqoSM+Gvm/TrJgPZvsOPXzT/d/HU6wq/Y5SjH5l9cZLHD2OtFsX4AP3UmyVsuMLaClfpjWt8JUy2IaSLDNxXehW16HXyZl7Noqze4sKACEHeHvqhmM/J1zV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zI6A3AhAuIed4RN0+Gb3mvlda6STgo7y1/Khoh2rbb1iahkC2y4+LCw63PuqskqkCAmC3FgmwJl9TeqrO6uhUVBsvwib3VaYAWpJYwBa0DbC0HzZyT+3R9M+pOrFdt96NhNJw8g2izw3ErCHxFMgOxUou9od9QTvm6AlITf6JEpGS+0iLpcNLc1AjCc4qA4ox9/xNEsyfVfikJKZlCeRXJKH7MN4ppklz4UNe2Yj81G2r7wK6Sx+1YlNjZpoEpoTyyXapfeL14gDZFy0EsFcz/0WGCXlSAbfzzIjwWkBsLRX0c65TJYGALG5y6VAOKgYHO24/mMvYirs6oBL6Il3yR02OJw027DVXX33cRSQnMjrTKE3oYbdMuxHP1fsxK4VPUsU1/p+ZPKZu5C0n6TP6ZXksVHE7YTNG13tIY7aM9BbLZJzcq6yMWzpDjNCje8vJaEQstcNEDPMl7yku6fvo6lLFm5JBbmsCA=="))
运行打印成功
python 代码
import requests
import execjs
from functools import partial
from subprocess import Popen
Popen=partial(Popen,encoding='utf-8')
body=open('a.js','r',encoding='utf-8').read()
obj=execjs.compile(body)
header={
"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;charset=UTF-8",
"isencrypt": "encrypt",
"origin": "aHR0cHM6Ly93d3cuY2JhbGVhZ3VlLmNvbS8=",
"referer": "aHR0cHM6Ly93d3cuY2JhbGVhZ3VlLmNvbS8=",
"sec-ch-ua": "\"Microsoft Edge\";v=\"111\", \"Not(A:Brand\";v=\"8\", \"Chromium\";v=\"111\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"sec-fetch-dest": "empty",
"sec-fetch-mode": "cors",
"sec-fetch-site": "same-site",
"user-agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/111.0.0.0 Safari/537.36 Edg/111.0.1661.62"
}
url='aHR0cHM6Ly9kYXRhLXNlcnZlci5jYmFsZWFndWUuY29tL2FwaS9wbGF5ZXItb2ZmaWNpYWwvc29ydA=='
parems={
"pageNumber":"1",
"pageSize":"20"
}
data={
"season": "2021",
"matchtypeid": "1",
"direction": "2",
"range": "1",
"sortField": "pointsAverage"
}
resp=requests.post(url,params=parems,json=data,headers=header,verify=False)
print(resp.status_code)
content=obj.call('decrypt',resp.json())
print(content)
- 敏感信息已脱敏处理
运行成功
总结
对于返回内容是密文的逆向,我们可以先搜搜看decrypt解密字眼看能不能找得到,或者去调用栈找到密文位置然后一步一步的去栈里找。
这个网站其他端口的解密过程也是一样,感兴趣的多试一试
希望大家多多支持,一起努力学习,后续慢慢分享更多新奇有趣的东西