逆向日期:2024.02.16
使用工具:Node.js
加密方法:RSA标准库
文章全程已做去敏处理!!! 【需要做的可联系我】
AES解密处理(直接解密即可)(crypto-js.js 标准算法):在线AES加解密工具
仅供学习,这个网站的逆向还是蛮简单的,大家在测试的时候要注意,不用登录、有debugger、每天只能免费请求10次,超过10次的会通过禁IP的方法禁止使用,所以大家不要乱点,要珍惜。有池子的可以随便点
1、打开某某网站(请使用文章开头的AES在线工具解密):H/yIs9e+gElb4jxbCqe3x4L5L72pQ1VY36m6kAIsG14=
2、打开网站,过debugger直接右键一律不在此处暂停,
3、输入框输入js代码,然后点击混淆,哎幺,弹出了一个接口,直接全局搜索【Sojsondata】和【Sojsonhost】,发现只能搜索到【Sojsondata】,另一个搜索不到,那我们就选把能搜索到的先模拟一下
4、全局搜索大法,哟哟哟,找到了,还是个混淆,断上,点击混淆按钮,哎幺,断上了,经过我测试,目测为RSA加密,然后加密参数就是【js|2l.58ddn5vja|17】,其中【jsjs|2l.58ddn5vja|】写固定就行,那个17其实就是我们要混淆的参数的总长度,,我们往里进,步入步入再步入
5、好家伙,步入进来了,经过测试,发现就是RSA算法加密,你看下面图。。。RSA一般在加密之前都会导入密钥,无论什么时候导入的密钥,一定会在加密参数之前导入,,导入后是可以通过查看【方法.key.n】是否存在,存在就是已经导入了,我们可以通过【方法.getPublicKey()】提取公钥。在本网站里,RSA的方法是【this】,所以我们用【this.getPublicKey()】即可将公钥提取出来。
6、我们直接复制公钥,然后本地直接模拟,嘿,成功了,接下来我们继续步入找【Sojsonhost】
7、经过我千年的寻找,终于找到了,他这个也很简单,一个固定值加一个时间戳,得,我们直接模拟
8、【Sojsonhost】【Sojsondata】都模拟成功了,上python去请求,测试看看
9、我们的python代码要导入刚刚写好的js代码,然后直接调用即可
10、我们直接模拟测试一下,成功了,请求混淆后的js代码都保存到了本地的【text.js】文件里了
11、我们打开js文件,然后我们调用那个方法,黑,成了
【附上源码】
为防止二次编辑或对该网站的原创保护,请大家自觉一点,源码在下方,请用网页版AES进行解密即可,无密码,尽量使用博主提供的AES加解密网站(crypto-js.js 标准算法),否则可能会出现其他不必要的问题。
可使用AES进行解密处理(直接解密即可):在线AES加解密工具
由于某限制问题,请使用本文章自带的在线AES解密工具进行解密,即可获得python代码
【new_1.py】:
JXtvLmP9Dt9/JkkmxV1w1+V6TviFL10uR2oSMSsPES7brQRzziFlUrZ2Vdyapj9ONguiZsvsVxsG03BVhEgcYtRxLOP3XD+35iJsC/1Fpa8MgirYw8ktt9sOwHLpLCemW9CJplZXHtArbXwYpmp536YR3NAAOHEPppyd0ggk+p9DkIvtVkATGuzecjJUxN9o50cas6OfH9J5bBHxIacg0bUXYSPoA1gabQNe3yUHO51PLPs5SVBP3mf9VpihYh9k3E7AfyaG52UcTlQSeaiQv1rdfbkzq0OBD3R9Z0qnSnljcC+EKRSTePParDwUwwAZHRlolsIvx1bIRcsu0C26urDM7DBCxzzcs7Dbb+QJ9TI3xqRo7S3K68XDNSkEG/3Y5iRTqvmuvAi0Og4j8QBEYyPZ6K5wKMJATyoiu5pAQkEv2jJl9x2o4gBY1LxuE+s9+wZs35Yb0u7KsXuXpKZtUh27mUBNSbXjCIrF/yaEyNeZrsOlF1y2hrcIX/VgAyNeu2Z26BNWnZPC1trJTMU8ryXwDl1vi+vnzBIAu8x7qv3roJtd7aLH71AokW8OTOPrEoNRLx0CB+R5LIbYYIEXNlqwauf/7bQrhqiLDXBWBoIf1pr45JyVsVxEneYE5DWAiKUVfo2KTdxI/nJYObD+r/Uu4nBV24mL/rB/Tba06uYXFWWAA/s1Mf6vRCq+16nXB/zjzKFtDi9Ui3OC/Lo5DlDX22Lw5Pkyz0/SiCqnRXnARkzuxsRYn/eBe7Oy7HY8BbBrxuogp9xWpJu9H1WucWp4cNJe1xOcfjJN9Sy2pE7NAYvbwX+vy7zLuzNsNcpqiq35WXKH4tICBuoLtCJlwU6nfnnzv3IG/U8HysS20Wj4w/hCEGqOPs8QSM40VMYU6AYP32tCQNx9ymzLMhY9GmJiL9yukhY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FOrdmPIAUpWqRN4Inn0HVbR41jtVdzAZPRZUmRAedoHPar1+BAynM3D41KVwvuCI6FWXQ5IB8DsGdJ2JQq7zsKf0Q6xvju/a4A3RvcpcYdC+UxQbJlBBofTEng4IbwpJn17PLB69IDw257SfYIn3jNo+yVlwZZgamEeOUTvxhAWHXLFhR34cNIcL2RSdGTHwSlwzvIO0dKiFz2dtxsAacA8vwgdc44lTSnviR92qK09wrUW3gVe0XuaJ2MpLQqYi5u8YYcEZk6QzsovdgLe+pLoB6n0b7DLN3MS3yP8u9hV9FudeCN/PRdQUO1tHCnJI++hOyHk0frFHn3rWb5jsFCNchVDJ7jwbSGYWlmMHtkvgrRu3nitLM19ckAoAk4w/9HvwpNQk4tnLmL6gIqOwvOhlvnkZAhhgHvdc2TGWmS6vZt2PykgQzCmqbAJ8pMsLZZpD40R0I7Z2hcyEcuiroduNbmD2hEGEzkMFutL9BC+ykKTfMnRUb2ibvD6eEKNqFtE6mdPNQ+vSSfGI+ka7DJl2zW7V+sve94GpTTnDBNbIPFjuKo2kJNFwjYIevbSc6mbIYElJE7Kv189Mgwl1u1rK3UwkOQXh/keTrrytb+uD1bK0yFguhIW/oDRd3x20e0ZbBErrQgd5OPPBdOGZ6akxxGbBP1caxTeJGMmzX6IUaP7hFoOYMn3JG/SAQAtYynW23aNOFwHLBJZPhYk1xiPV1NOzUBdcGkNKTlYbwFedOM9rQZ7QbkoDms8PRKdfoz+vA+AHcnl14FuH+ZGIuaHtEQfoTnnq+2zAZmWA3FKNDTK15l28FaBTg5PUrqBPgfCGlBzTlnN0xNkbaCNyYH9cn8Shj4ozboviFi7R50hcBxggEjDIIq2MPJLbfbDsBy6SwnpsHM6THohGuhEO/sbXfOJxgESqbL2WOEdIkdxZjsiVjBahT9IXXVPzmWjgIjyOIp4g==
由于某限制问题,请使用本文章自带的在线AES解密工具进行解密,即可获得js代码
【c1.js】:
fZslTjinCyMn2AngMj3aaca1w3QQ2n0+6kbZRwnlyDg7LLTyzRLoy5/b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