逆向案例二十一——遇到混淆怎么办

news2024/11/30 0:40:14

开始新的板块尝试,混淆了怎么办

网址:极简壁纸_海量电脑桌面壁纸美图_4K超高清_最潮壁纸网站

抓包抓到,好久没做解密了,奥里给干他!:

 搜索关键字,打上断点,点击第二页。

 

 

_0x10a345就是明文已经出现 ,现在就是确定是什么函数解密的。

很明显啊,前一行代码就是疑似解密的位置,打上断点,点击下一页。在控制台打印。

 

OK,已经确定好了解密函数了 。分析这段代码!

JSON['parse'](_0x5401c5['a']['decipher'](_0x38f555['data']['result']))

使用了某种加密算法来解密 data 对象中的 result 字段,然后通过 JSON.parse() 解析得到的解密结果。

具体来说,它首先调用 _0x5401c5['a']['decipher']() 函数对 data['result'] 进行解密,然后将解密后的结果传递给 JSON.parse() 函数进行解析。

那么就找到这个函数的位置,控制台打印

确定位置打上断点

 

_0xzz53b5就是传入的密文,返回的是明文。很明显,这里又嵌套了别的函数。_0x1b12e2(_0x388932(_0xbcd174(_0x2253b5)))

要找到的未定义包括_0x1b12e2,_0x388932,_0xbcd174

先复制代码:

_0x2253b5 = 'ak+9VCsq4dEdB+UdVfGo8kh5JDEbMHGTCmF/ACXJQ0IgGEauVgivRFLreNzrhFPP2wTUOBzYbqpOsl2NAezyg9rgZStPA6xJ+j9L3h9lfJ/+zIfKG1j6Eh/bWp9BcjXF3RMhCk3P2kFG5fHTK8myMdL+FT/K7sLwE1urbVYF17VKP3V0k27y/uF2ZRX3UnhBQbsvhwB6hZgJ0vuBLeHPQ4WPcc+pZmk5dO4FmTSXrxie+iq1IXGiQRSVvz9YwfwDqj78BwHRgZR+ibYi3qQH4yLIKCFj7UDw9WxFzatw98cEpoLETlB855xgiCrYeRsKPSU+TghsmJg9LuHzcvbIZ7WURHr5PGt4ARP3bOe4HYD9Sf5IfQCCUOh2OH1qt+64POe7OpsIhcZlb9fMyhajmgO1u3RHfC44UMVZDBHHt6Fbx5ETTx0Z9m94gQDPTLaJ45BePjdKEySVWXmrYwalKsFPvIL3QJ9KZ7IN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LC0YUt8fg9Zs6lQeEuNDc2/Zu5wPutvpLXV8iP2D0mhT/ronXglLbePFPYoKhxH09v5TPb2MK1eh64LqMVq94KmSp4NyShLGmACpfxrWbUUKTXPf08MXyj6XbSLA7rlIPcgvlH2xF9oJPnk15EOWSnHkxW47t3zh3hCw/8xW/PeZY/C+q/Bzlke9VeTDBpvo5HFwOV8XmL1pEQ8SUqjc1QdgRvphtmAKy73cJYc31AoptmiauEmBtY8IMoqb02jmr4w4dYmg670jt9c/qTUiclhqh+X48kohciYUmz1X+KMQen/Qkv1SUM1Fi3f0hcHMOek2KR/ZXeMOFj9PGea9KEYN+Ofn1xM9uJdCGSizXo1FEomyvuBhqzfgzj8KE8mGrdfqm7KZpASea1P8s7tmHHq8RUYVYRSvnpoDZd6GNRPYpVGO6iDuh2kQl03Syaq/N4Dbc+p0PP3+OY9GGue8WexeWI5WQhLvBflzfSJFjVJTUfSlLmNs5meMxbZ2naFTfy2iK+3u9kDV37ENY09BwT1x3eSBUBj5V3E0fAIo17Z7yuf9na0vJYht7VrxSQAJoBormCVhAJ7k4CrUNtU6k2G/xofL5slSTt7hasGil03Cv5OYDclGq0gBcUwFvAajQbUK'

function _0x461344(_0x2253b5) {
            return _0x1b12e2(_0x388932(_0xbcd174(_0x2253b5)));
}
console.log(_0x461344(_0x2253b5))

不出意外的,要出意外了。

那么开始扣代码吧!

看看代码在哪,就在上面

 

复制之后的代码:

_0x2253b5 = 'ak+9VCsq4dEdB+UdVfGo8kh5JDEbMHGTCmF/ACXJQ0IgGEauVgivRFLreNzrhFPP2wTUOBzYbqpOsl2NAezyg9rgZStPA6xJ+j9L3h9lfJ/+zIfKG1j6Eh/bWp9BcjXF3RMhCk3P2kFG5fHTK8myMdL+FT/K7sLwE1urbVYF17VKP3V0k27y/uF2ZRX3UnhBQbsvhwB6hZgJ0vuBLeHPQ4WPcc+pZmk5dO4FmTSXrxie+iq1IXGiQRSVvz9YwfwDqj78BwHRgZR+ibYi3qQH4yLIKCFj7UDw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xVybLV4EDwaeFseeB7XfR3QpqszMOspG81ov2/43ClLGtS9TV6if/cgUIHxBmCjH4gQCnktpxxGlpZ0R2oKV0QJSHrvHauOemO6Y4CWKA4Mgx1mB1fCHfB8BJGu9bwE0Ehtca5tFzRKNZ6qWcVnZqxOBVvVYsEFUwVDMtd1BsxCQljGJyezECYSNdXBS4QS0ySoLC0YUt8fg9Zs6lQeEuNDc2/Zu5wPutvpLXV8iP2D0mhT/ronXglLbePFPYoKhxH09v5TPb2MK1eh64LqMVq94KmSp4NyShLGmACpfxrWbUUKTXPf08MXyj6XbSLA7rlIPcgvlH2xF9oJPnk15EOWSnHkxW47t3zh3hCw/8xW/PeZY/C+q/Bzlke9VeTDBpvo5HFwOV8XmL1pEQ8SUqjc1QdgRvphtmAKy73cJYc31AoptmiauEmBtY8IMoqb02jmr4w4dYmg670jt9c/qTUiclhqh+X48kohciYUmz1X+KMQen/Qkv1SUM1Fi3f0hcHMOek2KR/ZXeMOFj9PGea9KEYN+Ofn1xM9uJdCGSizXo1FEomyvuBhqzfgzj8KE8mGrdfqm7KZpASea1P8s7tmHHq8RUYVYRSvnpoDZd6GNRPYpVGO6iDuh2kQl03Syaq/N4Dbc+p0PP3+OY9GGue8WexeWI5WQhLvBflzfSJFjVJTUfSlLmNs5meMxbZ2naFTfy2iK+3u9kDV37ENY09BwT1x3eSBUBj5V3E0fAIo17Z7yuf9na0vJYht7VrxSQAJoBormCVhAJ7k4CrUNtU6k2G/xofL5slSTt7hasGil03Cv5OYDclGq0gBcUwFvAajQbUK'
 function _0x1b12e2(_0xb1af28) {
            let _0x166d21, _0x7151a5, _0x5a9a0d = '';
            for (var _0x38d9cb = 0x0; _0x38d9cb < _0xb1af28['length']; )
                _0x166d21 = _0xb1af28[_0x38d9cb],
                _0x7151a5 = 0x0,
                _0x166d21 >>> 0x7 === 0x0 ? (_0x5a9a0d += String['fromCharCode'](_0xb1af28[_0x38d9cb]),
                _0x38d9cb += 0x1) : 0xfc === (0xfc & _0x166d21) ? (_0x7151a5 = (0x3 & _0xb1af28[_0x38d9cb]) << 0x1e,
                _0x7151a5 |= (0x3f & _0xb1af28[_0x38d9cb + 0x1]) << 0x18,
                _0x7151a5 |= (0x3f & _0xb1af28[_0x38d9cb + 0x2]) << 0x12,
                _0x7151a5 |= (0x3f & _0xb1af28[_0x38d9cb + 0x3]) << 0xc,
                _0x7151a5 |= (0x3f & _0xb1af28[_0x38d9cb + 0x4]) << 0x6,
                _0x7151a5 |= 0x3f & _0xb1af28[_0x38d9cb + 0x5],
                _0x5a9a0d += String['fromCharCode'](_0x7151a5),
                _0x38d9cb += 0x6) : 0xf8 === (0xf8 & _0x166d21) ? (_0x7151a5 = (0x7 & _0xb1af28[_0x38d9cb]) << 0x18,
                _0x7151a5 |= (0x3f & _0xb1af28[_0x38d9cb + 0x1]) << 0x12,
                _0x7151a5 |= (0x3f & _0xb1af28[_0x38d9cb + 0x2]) << 0xc,
                _0x7151a5 |= (0x3f & _0xb1af28[_0x38d9cb + 0x3]) << 0x6,
                _0x7151a5 |= 0x3f & _0xb1af28[_0x38d9cb + 0x4],
                _0x5a9a0d += String['fromCharCode'](_0x7151a5),
                _0x38d9cb += 0x5) : 0xf0 === (0xf0 & _0x166d21) ? (_0x7151a5 = (0xf & _0xb1af28[_0x38d9cb]) << 0x12,
                _0x7151a5 |= (0x3f & _0xb1af28[_0x38d9cb + 0x1]) << 0xc,
                _0x7151a5 |= (0x3f & _0xb1af28[_0x38d9cb + 0x2]) << 0x6,
                _0x7151a5 |= 0x3f & _0xb1af28[_0x38d9cb + 0x3],
                _0x5a9a0d += String['fromCharCode'](_0x7151a5),
                _0x38d9cb += 0x4) : 0xe0 === (0xe0 & _0x166d21) ? (_0x7151a5 = (0x1f & _0xb1af28[_0x38d9cb]) << 0xc,
                _0x7151a5 |= (0x3f & _0xb1af28[_0x38d9cb + 0x1]) << 0x6,
                _0x7151a5 |= 0x3f & _0xb1af28[_0x38d9cb + 0x2],
                _0x5a9a0d += String['fromCharCode'](_0x7151a5),
                _0x38d9cb += 0x3) : 0xc0 === (0xc0 & _0x166d21) ? (_0x7151a5 = (0x3f & _0xb1af28[_0x38d9cb]) << 0x6,
                _0x7151a5 |= 0x3f & _0xb1af28[_0x38d9cb + 0x1],
                _0x5a9a0d += String['fromCharCode'](_0x7151a5),
                _0x38d9cb += 0x2) : (_0x5a9a0d += String['fromCharCode'](_0xb1af28[_0x38d9cb]),
                _0x38d9cb += 0x1);
            return _0x5a9a0d;
        };
function _0x388932(_0x1f2851) {
            let _0x9e49bd = [-0x6f, 0x34, 0x5b, 0x41, -0x41, 0x74, 0x77, 0x6a, -0x79, -0x52, -0x5, 0x50, 0x33, 0x61, 0x44, -0x53, -0x70, -0x33, 0x17, -0x2e, -0x22, -0x72, -0x37, -0xb, -0x7f, 0x5a, 0x21, 0x16, -0x1f, 0x32, -0x11, 0x14, -0x2c, 0xf, -0x5e, -0x7b, 0x76, -0x17, -0x3d, 0x72, 0x47, -0x68, -0x7e, -0x75, -0x51, -0x36, -0x12, -0x6e, -0x4, -0x5f, -0x5b, 0x5e, -0x50, -0xe, 0x78, 0x69, 0x55, 0x68, -0x56, -0x6c, 0x43, 0x19, 0x65, 0x6c, 0x10, -0x69, 0x6f, -0xa, 0x75, -0x49, 0x4d, 0x59, -0x1d, -0x62, -0x44, 0x70, 0x6b, -0x1, 0x56, 0x79, 0x58, -0x65, -0x7c, 0x45, -0x1e, -0x8, -0x71, -0x4a, -0x76, 0x39, -0x19, 0xc, -0x73, -0x6a, 0x5f, 0x7f, 0x54, 0x7c, -0x66, -0x1c, 0x49, 0x2b, -0x3c, 0x1c, 0x2e, 0x73, 0x1e, 0x7a, -0x4b, 0x7d, -0x43, -0x4d, 0x3, -0x7, -0x35, -0xd, 0x35, 0x4e, -0x48, 0x1, 0xb, -0x47, -0x27, -0x4f, -0x3, 0x13, 0x29, 0x7e, -0x2b, -0x7d, -0x1b, 0x22, 0x3f, 0x8, 0x48, -0x23, -0x29, -0x3f, 0x3c, -0x18, 0x66, 0x2f, -0x77, -0x67, -0x16, 0x2d, 0x3b, 0x40, -0x60, 0x31, 0x53, -0x6b, -0x78, -0x39, -0x46, 0x0, -0x26, -0x54, -0x28, 0x18, 0xe, 0x30, 0x1d, 0x2c, -0x24, -0x2f, 0x38, -0x5c, 0x26, 0x25, 0x4, -0x32, 0x67, 0xa, -0x59, 0x37, 0x71, -0x1a, 0x6e, 0x36, 0x24, -0x14, -0x4e, -0xc, -0x74, 0x46, -0x25, 0x5, -0x3e, -0x4c, -0x30, -0x40, 0x4f, 0x64, 0x28, 0x6, -0x3a, -0x5a, -0x13, -0x9, 0x27, 0x5d, -0x63, 0x15, 0x7, 0x1a, -0x2, 0x1b, -0x2d, 0x51, 0x3a, -0x7a, 0x4c, -0x42, 0x2, 0x5c, -0x2a, 0x62, -0x10, 0x9, 0x3d, 0x3e, -0xf, 0x63, -0x15, 0x1f, -0x38, 0x57, 0x11, -0x34, -0x45, -0x21, -0x3b, -0x55, 0x42, 0x4a, 0x12, -0x5d, -0x80, -0x57, -0x20, 0x2a, 0x20, -0x58, 0x6d, 0x60, 0xd, -0x6, 0x4b, -0x64, -0x31, 0x23, -0x61, 0x52, -0x6d, 0x7b]
              , _0x51471c = 0x0
              , _0x34e6f0 = 0x0
              , _0x59ee63 = 0x0
              , _0x5f1a04 = new Array();
            for (let _0x2192fb = 0x0; _0x2192fb < _0x1f2851['length']; _0x2192fb++) {
                _0x51471c = _0x51471c + 0x1 & 0xff,
                _0x34e6f0 = (0xff & _0x9e49bd[_0x51471c]) + _0x34e6f0 & 0xff;
                const _0x5aaee9 = _0x9e49bd[_0x51471c];
                _0x9e49bd[_0x51471c] = _0x9e49bd[_0x34e6f0],
                _0x9e49bd[_0x34e6f0] = _0x5aaee9,
                _0x59ee63 = (0xff & _0x9e49bd[_0x51471c]) + (0xff & _0x9e49bd[_0x34e6f0]) & 0xff,
                _0x5f1a04['push'](_0x1f2851[_0x2192fb] ^ _0x9e49bd[_0x59ee63]);
            }
            return _0x5f1a04;
        };
function _0xbcd174(_0x4c0a5e) {
            const _0xa531c2 = window['atob'](_0x4c0a5e)
              , _0x487e70 = new Int8Array(_0xa531c2['length']);
            for (let _0x1dad95 = 0x0; _0x1dad95 < _0xa531c2['length']; _0x1dad95++)
                _0x487e70[_0x1dad95] = _0xa531c2['charCodeAt'](_0x1dad95);
            return _0x487e70;
        };
function _0x461344(_0x2253b5) {
            return _0x1b12e2(_0x388932(_0xbcd174(_0x2253b5)));
};
console.log(_0x461344(_0x2253b5))

结果展现:

 

window['atob'](_0x4c0a5e)

这段代码使用了 JavaScript 中的 atob 函数来解码 _0x4c0a5e 变量所代表的 Base64 字符串。atob 函数用于将 Base64 编码的字符串解码为原始的 ASCII 字符串。 

怎么改?

atob(_0x4c0a5e)

改进代码:

_0x2253b5 = 'ak+9VCsq4dEdB+UdVfGo8kh5JDEbMHGTCmF/ACXJQ0IgGEauVgivRFLreNzrhFPP2wTUOBzYbqpOsl2NAezyg9rgZStPA6xJ+j9L3h9lfJ/+zIfKG1j6Eh/bWp9BcjXF3RMhCk3P2kFG5fHTK8myMdL+FT/K7sLwE1urbVYF17VKP3V0k27y/uF2ZRX3UnhBQbsvhwB6hZgJ0vuBLeHPQ4WPcc+pZmk5dO4FmTSXrxie+iq1IXGiQRSVvz9YwfwDqj78BwHRgZR+ibYi3qQH4yLIKCFj7UDw9WxFzatw98cEpoLETlB855xgiCrYeRsKPSU+TghsmJg9LuHzcvbIZ7WURHr5PGt4ARP3bOe4HYD9Sf5IfQCCUOh2OH1qt+64POe7OpsIhcZlb9fMyhajmgO1u3RHfC44UMVZDBHHt6Fbx5ETTx0Z9m94gQDPTLaJ45BePjdKEySVWXmrYwalKsFPvIL3QJ9KZ7INGYZIE1G6mGLBHFGbB8NCDOSqRMI6p0XahnEiM0/KFDIL3jFICVT8Lk7Sj06QCrXb8eEBJWVwp6AYL7z/74rAgaIeCXWBt5Zq1aA1pEMT6rpz8vl1B3e98bhvYPL3+dKoNu0VTF5L8zXU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WSnHkxW47t3zh3hCw/8xW/PeZY/C+q/Bzlke9VeTDBpvo5HFwOV8XmL1pEQ8SUqjc1QdgRvphtmAKy73cJYc31AoptmiauEmBtY8IMoqb02jmr4w4dYmg670jt9c/qTUiclhqh+X48kohciYUmz1X+KMQen/Qkv1SUM1Fi3f0hcHMOek2KR/ZXeMOFj9PGea9KEYN+Ofn1xM9uJdCGSizXo1FEomyvuBhqzfgzj8KE8mGrdfqm7KZpASea1P8s7tmHHq8RUYVYRSvnpoDZd6GNRPYpVGO6iDuh2kQl03Syaq/N4Dbc+p0PP3+OY9GGue8WexeWI5WQhLvBflzfSJFjVJTUfSlLmNs5meMxbZ2naFTfy2iK+3u9kDV37ENY09BwT1x3eSBUBj5V3E0fAIo17Z7yuf9na0vJYht7VrxSQAJoBormCVhAJ7k4CrUNtU6k2G/xofL5slSTt7hasGil03Cv5OYDclGq0gBcUwFvAajQbUK'
 function _0x1b12e2(_0xb1af28) {
            let _0x166d21, _0x7151a5, _0x5a9a0d = '';
            for (var _0x38d9cb = 0x0; _0x38d9cb < _0xb1af28['length']; )
                _0x166d21 = _0xb1af28[_0x38d9cb],
                _0x7151a5 = 0x0,
                _0x166d21 >>> 0x7 === 0x0 ? (_0x5a9a0d += String['fromCharCode'](_0xb1af28[_0x38d9cb]),
                _0x38d9cb += 0x1) : 0xfc === (0xfc & _0x166d21) ? (_0x7151a5 = (0x3 & _0xb1af28[_0x38d9cb]) << 0x1e,
                _0x7151a5 |= (0x3f & _0xb1af28[_0x38d9cb + 0x1]) << 0x18,
                _0x7151a5 |= (0x3f & _0xb1af28[_0x38d9cb + 0x2]) << 0x12,
                _0x7151a5 |= (0x3f & _0xb1af28[_0x38d9cb + 0x3]) << 0xc,
                _0x7151a5 |= (0x3f & _0xb1af28[_0x38d9cb + 0x4]) << 0x6,
                _0x7151a5 |= 0x3f & _0xb1af28[_0x38d9cb + 0x5],
                _0x5a9a0d += String['fromCharCode'](_0x7151a5),
                _0x38d9cb += 0x6) : 0xf8 === (0xf8 & _0x166d21) ? (_0x7151a5 = (0x7 & _0xb1af28[_0x38d9cb]) << 0x18,
                _0x7151a5 |= (0x3f & _0xb1af28[_0x38d9cb + 0x1]) << 0x12,
                _0x7151a5 |= (0x3f & _0xb1af28[_0x38d9cb + 0x2]) << 0xc,
                _0x7151a5 |= (0x3f & _0xb1af28[_0x38d9cb + 0x3]) << 0x6,
                _0x7151a5 |= 0x3f & _0xb1af28[_0x38d9cb + 0x4],
                _0x5a9a0d += String['fromCharCode'](_0x7151a5),
                _0x38d9cb += 0x5) : 0xf0 === (0xf0 & _0x166d21) ? (_0x7151a5 = (0xf & _0xb1af28[_0x38d9cb]) << 0x12,
                _0x7151a5 |= (0x3f & _0xb1af28[_0x38d9cb + 0x1]) << 0xc,
                _0x7151a5 |= (0x3f & _0xb1af28[_0x38d9cb + 0x2]) << 0x6,
                _0x7151a5 |= 0x3f & _0xb1af28[_0x38d9cb + 0x3],
                _0x5a9a0d += String['fromCharCode'](_0x7151a5),
                _0x38d9cb += 0x4) : 0xe0 === (0xe0 & _0x166d21) ? (_0x7151a5 = (0x1f & _0xb1af28[_0x38d9cb]) << 0xc,
                _0x7151a5 |= (0x3f & _0xb1af28[_0x38d9cb + 0x1]) << 0x6,
                _0x7151a5 |= 0x3f & _0xb1af28[_0x38d9cb + 0x2],
                _0x5a9a0d += String['fromCharCode'](_0x7151a5),
                _0x38d9cb += 0x3) : 0xc0 === (0xc0 & _0x166d21) ? (_0x7151a5 = (0x3f & _0xb1af28[_0x38d9cb]) << 0x6,
                _0x7151a5 |= 0x3f & _0xb1af28[_0x38d9cb + 0x1],
                _0x5a9a0d += String['fromCharCode'](_0x7151a5),
                _0x38d9cb += 0x2) : (_0x5a9a0d += String['fromCharCode'](_0xb1af28[_0x38d9cb]),
                _0x38d9cb += 0x1);
            return _0x5a9a0d;
        };
function _0x388932(_0x1f2851) {
            let _0x9e49bd = [-0x6f, 0x34, 0x5b, 0x41, -0x41, 0x74, 0x77, 0x6a, -0x79, -0x52, -0x5, 0x50, 0x33, 0x61, 0x44, -0x53, -0x70, -0x33, 0x17, -0x2e, -0x22, -0x72, -0x37, -0xb, -0x7f, 0x5a, 0x21, 0x16, -0x1f, 0x32, -0x11, 0x14, -0x2c, 0xf, -0x5e, -0x7b, 0x76, -0x17, -0x3d, 0x72, 0x47, -0x68, -0x7e, -0x75, -0x51, -0x36, -0x12, -0x6e, -0x4, -0x5f, -0x5b, 0x5e, -0x50, -0xe, 0x78, 0x69, 0x55, 0x68, -0x56, -0x6c, 0x43, 0x19, 0x65, 0x6c, 0x10, -0x69, 0x6f, -0xa, 0x75, -0x49, 0x4d, 0x59, -0x1d, -0x62, -0x44, 0x70, 0x6b, -0x1, 0x56, 0x79, 0x58, -0x65, -0x7c, 0x45, -0x1e, -0x8, -0x71, -0x4a, -0x76, 0x39, -0x19, 0xc, -0x73, -0x6a, 0x5f, 0x7f, 0x54, 0x7c, -0x66, -0x1c, 0x49, 0x2b, -0x3c, 0x1c, 0x2e, 0x73, 0x1e, 0x7a, -0x4b, 0x7d, -0x43, -0x4d, 0x3, -0x7, -0x35, -0xd, 0x35, 0x4e, -0x48, 0x1, 0xb, -0x47, -0x27, -0x4f, -0x3, 0x13, 0x29, 0x7e, -0x2b, -0x7d, -0x1b, 0x22, 0x3f, 0x8, 0x48, -0x23, -0x29, -0x3f, 0x3c, -0x18, 0x66, 0x2f, -0x77, -0x67, -0x16, 0x2d, 0x3b, 0x40, -0x60, 0x31, 0x53, -0x6b, -0x78, -0x39, -0x46, 0x0, -0x26, -0x54, -0x28, 0x18, 0xe, 0x30, 0x1d, 0x2c, -0x24, -0x2f, 0x38, -0x5c, 0x26, 0x25, 0x4, -0x32, 0x67, 0xa, -0x59, 0x37, 0x71, -0x1a, 0x6e, 0x36, 0x24, -0x14, -0x4e, -0xc, -0x74, 0x46, -0x25, 0x5, -0x3e, -0x4c, -0x30, -0x40, 0x4f, 0x64, 0x28, 0x6, -0x3a, -0x5a, -0x13, -0x9, 0x27, 0x5d, -0x63, 0x15, 0x7, 0x1a, -0x2, 0x1b, -0x2d, 0x51, 0x3a, -0x7a, 0x4c, -0x42, 0x2, 0x5c, -0x2a, 0x62, -0x10, 0x9, 0x3d, 0x3e, -0xf, 0x63, -0x15, 0x1f, -0x38, 0x57, 0x11, -0x34, -0x45, -0x21, -0x3b, -0x55, 0x42, 0x4a, 0x12, -0x5d, -0x80, -0x57, -0x20, 0x2a, 0x20, -0x58, 0x6d, 0x60, 0xd, -0x6, 0x4b, -0x64, -0x31, 0x23, -0x61, 0x52, -0x6d, 0x7b]
              , _0x51471c = 0x0
              , _0x34e6f0 = 0x0
              , _0x59ee63 = 0x0
              , _0x5f1a04 = new Array();
            for (let _0x2192fb = 0x0; _0x2192fb < _0x1f2851['length']; _0x2192fb++) {
                _0x51471c = _0x51471c + 0x1 & 0xff,
                _0x34e6f0 = (0xff & _0x9e49bd[_0x51471c]) + _0x34e6f0 & 0xff;
                const _0x5aaee9 = _0x9e49bd[_0x51471c];
                _0x9e49bd[_0x51471c] = _0x9e49bd[_0x34e6f0],
                _0x9e49bd[_0x34e6f0] = _0x5aaee9,
                _0x59ee63 = (0xff & _0x9e49bd[_0x51471c]) + (0xff & _0x9e49bd[_0x34e6f0]) & 0xff,
                _0x5f1a04['push'](_0x1f2851[_0x2192fb] ^ _0x9e49bd[_0x59ee63]);
            }
            return _0x5f1a04;
        };
function _0xbcd174(_0x4c0a5e) {
            const _0xa531c2 = atob(_0x4c0a5e)
              , _0x487e70 = new Int8Array(_0xa531c2['length']);
            for (let _0x1dad95 = 0x0; _0x1dad95 < _0xa531c2['length']; _0x1dad95++)
                _0x487e70[_0x1dad95] = _0xa531c2['charCodeAt'](_0x1dad95);
            return _0x487e70;
        };
function _0x461344(_0x2253b5) {
            return _0x1b12e2(_0x388932(_0xbcd174(_0x2253b5)));
};
console.log(JSON.parse(_0x461344(_0x2253b5)))

最终结果:

 

你能写一个python获取数据,再调用js代码,对密文进行解密,返回数据的代码吗?

还是我来吧,先把js改进一下,写一个新函数,接收明文,转变为json格式。

function get_data(data) {
            return JSON.parse(_0x1b12e2(_0x388932(_0xbcd174(data))));
};

完整js代码:


 function _0x1b12e2(_0xb1af28) {
            let _0x166d21, _0x7151a5, _0x5a9a0d = '';
            for (var _0x38d9cb = 0x0; _0x38d9cb < _0xb1af28['length']; )
                _0x166d21 = _0xb1af28[_0x38d9cb],
                _0x7151a5 = 0x0,
                _0x166d21 >>> 0x7 === 0x0 ? (_0x5a9a0d += String['fromCharCode'](_0xb1af28[_0x38d9cb]),
                _0x38d9cb += 0x1) : 0xfc === (0xfc & _0x166d21) ? (_0x7151a5 = (0x3 & _0xb1af28[_0x38d9cb]) << 0x1e,
                _0x7151a5 |= (0x3f & _0xb1af28[_0x38d9cb + 0x1]) << 0x18,
                _0x7151a5 |= (0x3f & _0xb1af28[_0x38d9cb + 0x2]) << 0x12,
                _0x7151a5 |= (0x3f & _0xb1af28[_0x38d9cb + 0x3]) << 0xc,
                _0x7151a5 |= (0x3f & _0xb1af28[_0x38d9cb + 0x4]) << 0x6,
                _0x7151a5 |= 0x3f & _0xb1af28[_0x38d9cb + 0x5],
                _0x5a9a0d += String['fromCharCode'](_0x7151a5),
                _0x38d9cb += 0x6) : 0xf8 === (0xf8 & _0x166d21) ? (_0x7151a5 = (0x7 & _0xb1af28[_0x38d9cb]) << 0x18,
                _0x7151a5 |= (0x3f & _0xb1af28[_0x38d9cb + 0x1]) << 0x12,
                _0x7151a5 |= (0x3f & _0xb1af28[_0x38d9cb + 0x2]) << 0xc,
                _0x7151a5 |= (0x3f & _0xb1af28[_0x38d9cb + 0x3]) << 0x6,
                _0x7151a5 |= 0x3f & _0xb1af28[_0x38d9cb + 0x4],
                _0x5a9a0d += String['fromCharCode'](_0x7151a5),
                _0x38d9cb += 0x5) : 0xf0 === (0xf0 & _0x166d21) ? (_0x7151a5 = (0xf & _0xb1af28[_0x38d9cb]) << 0x12,
                _0x7151a5 |= (0x3f & _0xb1af28[_0x38d9cb + 0x1]) << 0xc,
                _0x7151a5 |= (0x3f & _0xb1af28[_0x38d9cb + 0x2]) << 0x6,
                _0x7151a5 |= 0x3f & _0xb1af28[_0x38d9cb + 0x3],
                _0x5a9a0d += String['fromCharCode'](_0x7151a5),
                _0x38d9cb += 0x4) : 0xe0 === (0xe0 & _0x166d21) ? (_0x7151a5 = (0x1f & _0xb1af28[_0x38d9cb]) << 0xc,
                _0x7151a5 |= (0x3f & _0xb1af28[_0x38d9cb + 0x1]) << 0x6,
                _0x7151a5 |= 0x3f & _0xb1af28[_0x38d9cb + 0x2],
                _0x5a9a0d += String['fromCharCode'](_0x7151a5),
                _0x38d9cb += 0x3) : 0xc0 === (0xc0 & _0x166d21) ? (_0x7151a5 = (0x3f & _0xb1af28[_0x38d9cb]) << 0x6,
                _0x7151a5 |= 0x3f & _0xb1af28[_0x38d9cb + 0x1],
                _0x5a9a0d += String['fromCharCode'](_0x7151a5),
                _0x38d9cb += 0x2) : (_0x5a9a0d += String['fromCharCode'](_0xb1af28[_0x38d9cb]),
                _0x38d9cb += 0x1);
            return _0x5a9a0d;
        };
function _0x388932(_0x1f2851) {
            let _0x9e49bd = [-0x6f, 0x34, 0x5b, 0x41, -0x41, 0x74, 0x77, 0x6a, -0x79, -0x52, -0x5, 0x50, 0x33, 0x61, 0x44, -0x53, -0x70, -0x33, 0x17, -0x2e, -0x22, -0x72, -0x37, -0xb, -0x7f, 0x5a, 0x21, 0x16, -0x1f, 0x32, -0x11, 0x14, -0x2c, 0xf, -0x5e, -0x7b, 0x76, -0x17, -0x3d, 0x72, 0x47, -0x68, -0x7e, -0x75, -0x51, -0x36, -0x12, -0x6e, -0x4, -0x5f, -0x5b, 0x5e, -0x50, -0xe, 0x78, 0x69, 0x55, 0x68, -0x56, -0x6c, 0x43, 0x19, 0x65, 0x6c, 0x10, -0x69, 0x6f, -0xa, 0x75, -0x49, 0x4d, 0x59, -0x1d, -0x62, -0x44, 0x70, 0x6b, -0x1, 0x56, 0x79, 0x58, -0x65, -0x7c, 0x45, -0x1e, -0x8, -0x71, -0x4a, -0x76, 0x39, -0x19, 0xc, -0x73, -0x6a, 0x5f, 0x7f, 0x54, 0x7c, -0x66, -0x1c, 0x49, 0x2b, -0x3c, 0x1c, 0x2e, 0x73, 0x1e, 0x7a, -0x4b, 0x7d, -0x43, -0x4d, 0x3, -0x7, -0x35, -0xd, 0x35, 0x4e, -0x48, 0x1, 0xb, -0x47, -0x27, -0x4f, -0x3, 0x13, 0x29, 0x7e, -0x2b, -0x7d, -0x1b, 0x22, 0x3f, 0x8, 0x48, -0x23, -0x29, -0x3f, 0x3c, -0x18, 0x66, 0x2f, -0x77, -0x67, -0x16, 0x2d, 0x3b, 0x40, -0x60, 0x31, 0x53, -0x6b, -0x78, -0x39, -0x46, 0x0, -0x26, -0x54, -0x28, 0x18, 0xe, 0x30, 0x1d, 0x2c, -0x24, -0x2f, 0x38, -0x5c, 0x26, 0x25, 0x4, -0x32, 0x67, 0xa, -0x59, 0x37, 0x71, -0x1a, 0x6e, 0x36, 0x24, -0x14, -0x4e, -0xc, -0x74, 0x46, -0x25, 0x5, -0x3e, -0x4c, -0x30, -0x40, 0x4f, 0x64, 0x28, 0x6, -0x3a, -0x5a, -0x13, -0x9, 0x27, 0x5d, -0x63, 0x15, 0x7, 0x1a, -0x2, 0x1b, -0x2d, 0x51, 0x3a, -0x7a, 0x4c, -0x42, 0x2, 0x5c, -0x2a, 0x62, -0x10, 0x9, 0x3d, 0x3e, -0xf, 0x63, -0x15, 0x1f, -0x38, 0x57, 0x11, -0x34, -0x45, -0x21, -0x3b, -0x55, 0x42, 0x4a, 0x12, -0x5d, -0x80, -0x57, -0x20, 0x2a, 0x20, -0x58, 0x6d, 0x60, 0xd, -0x6, 0x4b, -0x64, -0x31, 0x23, -0x61, 0x52, -0x6d, 0x7b]
              , _0x51471c = 0x0
              , _0x34e6f0 = 0x0
              , _0x59ee63 = 0x0
              , _0x5f1a04 = new Array();
            for (let _0x2192fb = 0x0; _0x2192fb < _0x1f2851['length']; _0x2192fb++) {
                _0x51471c = _0x51471c + 0x1 & 0xff,
                _0x34e6f0 = (0xff & _0x9e49bd[_0x51471c]) + _0x34e6f0 & 0xff;
                const _0x5aaee9 = _0x9e49bd[_0x51471c];
                _0x9e49bd[_0x51471c] = _0x9e49bd[_0x34e6f0],
                _0x9e49bd[_0x34e6f0] = _0x5aaee9,
                _0x59ee63 = (0xff & _0x9e49bd[_0x51471c]) + (0xff & _0x9e49bd[_0x34e6f0]) & 0xff,
                _0x5f1a04['push'](_0x1f2851[_0x2192fb] ^ _0x9e49bd[_0x59ee63]);
            }
            return _0x5f1a04;
        };
function _0xbcd174(_0x4c0a5e) {
            const _0xa531c2 = atob(_0x4c0a5e)
              , _0x487e70 = new Int8Array(_0xa531c2['length']);
            for (let _0x1dad95 = 0x0; _0x1dad95 < _0xa531c2['length']; _0x1dad95++)
                _0x487e70[_0x1dad95] = _0xa531c2['charCodeAt'](_0x1dad95);
            return _0x487e70;
        };
function get_data(data) {
            return JSON.parse(_0x1b12e2(_0x388932(_0xbcd174(data))));
};

 

好了,写一个python来获取密文吧!

import requests
import execjs
headers = {
    'authority': 'api.zzzmh.cn',
    'accept': 'application/json, text/plain, */*',
    'accept-language': 'zh-CN,zh;q=0.9',
    'cache-control': 'no-cache',
    'content-type': 'application/json;charset=UTF-8',
    'origin': 'https://bz.zzzmh.cn',
    'pragma': 'no-cache',
    'referer': 'https://bz.zzzmh.cn/',
    'sec-ch-ua': '"Not_A Brand";v="8", "Chromium";v="120", "Google Chrome";v="120"',
    '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/120.0.0.0 Safari/537.36',
}

json_data = {
    'size': 24,
    'current': 2,
    'sort': 0,
    'category': 0,
    'resolution': 0,
    'color': 0,
    'categoryId': 0,
    'ratio': 0,
}

response = requests.post('https://api.zzzmh.cn/bz/v3/getData', headers=headers, json=json_data).json()
data = response['result']
json_code = execjs.compile(open('demo11.js','r',encoding='utf-8').read())
result = json_code.call('get_data',data)
for value in result['list']:
    print(value)

结果展现:

 

如果想多页爬取,怎么做,分析数据包的参数有什么不同!

 

写个循环,按照页码进行多页爬取 。不知道你有没有想过,得到的数据有什么用呢?

数据中i有什么作用呢?

这是图片的链接url中需要的参数,对比几张不同的图,你有什么发现吗?

 

只有最后那部分在变化,而变化的那部分数据刚好是i所返回的数据。有了i,就有了批量的图片的url,就可以进行批量的采集了。你可以在自己写代码,批量采集图片吗?

插一嘴,这个网站以前是有debugger的,不知为什么,现在没了,更简单了。

这是一个很简单的混淆案例!!!

 

 

 

 

 

 

 

 

 

 

 

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:http://www.coloradmin.cn/o/1586447.html

如若内容造成侵权/违法违规/事实不符,请联系多彩编程网进行投诉反馈,一经查实,立即删除!

相关文章

中国企业级存储市场:五年来首次负增长,第二曲线在哪里?

出人意料&#xff0c;中国企业级存储市场出现过去五年来的首次负增长。 IDC最新《中国企业级存储市场跟踪报告,2023》显示&#xff0c;2023年中国企业级存储市场规模达到66亿美元&#xff0c;同比下降0.6%。外部环境的动荡与不确定性的陡增&#xff0c;让中国不少行业用户受到…

深度学习每周学习总结P4(猴痘识别)

&#x1f368; 本文为&#x1f517;365天深度学习训练营 中的学习记录博客&#x1f356; 原作者&#xff1a;K同学啊 | 接辅导、项目定制 –来自百度网盘超级会员V5的分享 目录 0. 总结1. 数据导入部分2. 划分数据集3. 模型构建部分3.1 模型构建3.2 公式推导 4. 设置超参数5. …

关于AI Agent、RAG技术揭秘:如何让人工智能更懂你?

人工智能技术正以前所未有的速度改变着我们的世界。从深度学习算法的突破到自动化和机器学习技术的进步。在这个变革的时代&#xff0c;几种前沿技术尤其引人注目&#xff0c;其中包括RAG&#xff08;Retrieval-Augmented Generation&#xff09;、AI Agent以及多模态技术。 近…

python之文件操作与管理

1、文件操作 通过open&#xff08;&#xff09;操作&#xff0c;来创建文件对象&#xff0c;下面是open&#xff08;&#xff09;函数语法如下&#xff1a; open&#xff08;file,mode r,buffering -1 , encoding None ,errors None , newline None,closefd True,opener …

2024年Flink CDC 实时同步数据(MySQL到MySQL)

#准备工作# 看到一下图片说明执行成功&#xff01;&#xff01;&#xff01; 异常处理及分析&#xff1a; Could not execute SQL statement. Reason: org.apache.flink.sql.parser.impl.ParseException: Encountered "\connector\" at line 21, column 3. Was expec…

记录一次浅拷贝导致的缺陷

背景&#xff1a;假期表查询&#xff0c;表中存放的工作日信息是按照月份维度的&#xff0c;例如1月的假期表信息是NNNYYYYYNN.....一共31天&#xff0c;如果是工作日那么就是Y&#xff0c;如果非工作日那就是N。获取指定日期的下一个工作日&#xff0c;就会先查出这个月份的这…

Qt学习记录(C++)——Day 2

目录 一、作业 要求&#xff1a; 实现&#xff1a; 1.创建新的窗口类 2. 主窗口中实现 二、 窗口菜单设计 效果展示图 三、图片资源的导入 步骤&#xff1a; 举例&#xff1a; 四、 对话框 1.模拟对话框 2. 非模态对话框 3.错误对话框 4.信息对话框 5.提问对话…

边缘计算采集网关如何助力制造企业解决数采问题-天拓四方

一、企业背景 某大型制造企业&#xff0c;位于国内某经济发达的工业园区内&#xff0c;拥有多个生产线和智能化设备&#xff0c;致力于提高生产效率、降低运营成本。随着企业规模的扩大和生产自动化的推进&#xff0c;该企业面临着海量数据处理、实时响应和网络安全等多重挑战…

Linux下网络编程基础知识--协议

网络基础 这一个课程的笔记 相关文章 协议 Socket编程 高并发服务器实现 线程池 协议 一组规则, 数据传输和数据的解释的规则。 比如说依次发送文件的文件名, 文件的大小, 以及实际的文件, 这样规定发送一个文件的顺序以及发送的每一个部分的格式等可以算是一种协议 型协议 …

(学习日记)2024.04.12:UCOSIII第四十节:软件定时器函数接口讲解

写在前面&#xff1a; 由于时间的不足与学习的碎片化&#xff0c;写博客变得有些奢侈。 但是对于记录学习&#xff08;忘了以后能快速复习&#xff09;的渴望一天天变得强烈。 既然如此 不如以天为单位&#xff0c;以时间为顺序&#xff0c;仅仅将博客当做一个知识学习的目录&a…

CUDA 12.4文档1:使用GPU好处CUDA可扩展编程模型

本博客参考官方文档进行介绍&#xff0c;全网仅此一家进行中文翻译&#xff0c;走过路过不要错过。 官方网址&#xff1a;https://docs.nvidia.com/cuda/cuda-c-programming-guide/ 本文档分成多个博客进行介绍&#xff0c;在本人专栏中含有所有内容&#xff1a; https://bl…

Linux网卡:连接虚拟与现实的桥梁

在介绍Linux网卡之前&#xff0c;让我们先迈入时光机&#x1f570;️&#xff0c;回到1980年代末期&#xff0c;互联网正在逐步从一个科研网络向公众网络转变&#xff0c;Linux——一个自由和开源的操作系统诞生了&#x1f427;。Linux的出现&#xff0c;对于计算机科学领域来说…

【微命令】git 如何修改某个分支的名字(git branch -m newbranch)

简要信息&#xff0c;快速记录 命令 # 切换到某个需要修改的分支 git checkout oldbranch# 修改分支名字 git branch -m newbranch假设作为git设计者&#xff0c;要用来修改branch的命令&#xff0c;那么就是 git branch作为前缀&#xff0c;然后进一步修改的命令是branch相关…

CorelDRAW21.2.4中文最新官方和谐版下载

CorelDRAW是一款由加拿大Corel公司出品的平面设计软件&#xff0c;也被称为CDR。它是一款功能强大的矢量图形制作和排版软件&#xff0c;主要面向绘图设计师和印刷输出人员。该软件提供了矢量插图、页面布局、图片编辑和设计工具&#xff0c;广泛应用于排版印刷、矢量图形编辑及…

24/04/11总结

IO流(First edition): IO流&#xff1a;用于读入写出文件中的数据 流的方向&#xff08;输入指拿出来,输出指写进去) 输入流:读取 输出流:写出 操作文件类型 字节流:所有类型文件 字符流:纯文本 字节流: InputStream的子类:FileInputStream:操作本地文件的字节输入流 OutputSt…

【HTML】制作一个简单的实时字体时钟

目录 前言 HTML部分 CSS部分 JS部分 效果图 总结 前言 无需多言&#xff0c;本文将详细介绍一段HTML代码&#xff0c;具体内容如下&#xff1a; 开始 首先新建文件夹&#xff0c;创建一个文本文档&#xff0c;两个文件夹&#xff0c;其中HTML的文件名改为[index.html]&am…

二分查找-图文详解,看不懂你来打我。。。

一、查找算法 在计算机科学和算法领域&#xff0c;搜索是一项基本的任务。在海量数据中寻找特定的元素是一项常见的任务&#xff0c;而二分查找&#xff08;Binary Search&#xff09;是一种非常高效的搜索算法&#xff0c;特别适用于有序数组。 二、二分查找 二分查找是一种…

【阿里淘天笔试题汇总】2024-04-10-阿里淘天春招笔试题-三语言题解(CPP/Python/Java)

&#x1f36d; 大家好这里是KK爱Coding &#xff0c;一枚热爱算法的程序员 ✨ 本系列打算持续跟新淘天近期的春秋招笔试题汇总&#xff5e; &#x1f4bb; ACM银牌&#x1f948;| 多次AK大厂笔试 &#xff5c; 编程一对一辅导 &#x1f44f; 感谢大家的订阅➕ 和 喜欢&#x1f…

【前端Vue】Vue3+Pinia小兔鲜电商项目第5篇:整体认识和路由配置,本资源由 收集整理【附代码文档】

Vue3ElementPlusPinia开发小兔鲜电商项目完整教程&#xff08;附代码资料&#xff09;主要内容讲述&#xff1a;认识Vue3&#xff0c;使用create-vue搭建Vue3项目1. Vue3组合式API体验,2. Vue3更多的优势,1. 认识create-vue,2. 使用create-vue创建项目,1. setup选项的写法和执行…

基于Springboot的箱包存储系统(有报告)。Javaee项目,springboot项目。

演示视频&#xff1a; 基于Springboot的箱包存储系统&#xff08;有报告&#xff09;。Javaee项目&#xff0c;springboot项目。 项目介绍&#xff1a; 采用M&#xff08;model&#xff09;V&#xff08;view&#xff09;C&#xff08;controller&#xff09;三层体系结构&…