illidanX 发表于 2022-2-15 15:14:43

大佬们进来看看---关于hKHnQfLv 的混淆解析

萌新遇到网站混淆图片验证码,,
kaptcha?hKHnQfLv=5h2D__TaMZ9RxOoRxPkVxBTdhUabu_3evUdVutiXLqU_rKYTeYPT0PpV8bKvPNGXbO.o2FirS0Ylp1GWbCObIloo3srjMc7LgOtLf.3VYW82VxflECYHHhaiuvMZ6WdioA4F7ujIEciIdpODcDO.7BTknDH2ZINIuK5Pr9KJJo8dvvPWZR0iAW.V_9KfehpgKoUqutLEEY9OsAsY_f8JtW9nqrixcxbUfYYXZYvOEKkAFLa_aOPd5GWbvoqmOWiX61fyw10HLZm.lTm8JgjqtITeCl6X8BcdUbV1PhHsNwgqAa8r6BTScpPxdG5HFT8CcqbPFnkPTI2Hu6Rix1_DHZ2gOr.1EMv4zFd68.XTToh7


有遇到过的大佬们可以帮忙指出一点思路么?
打码的图片地址是base64
{"captchaKey":"69c2732d-c02d-4f35-92be-35cab2c241f6","expire":300,"base64Img":"data:image/jpeg;base64,/9j/4AAQSkZJRgABAgAAAQABAAD/2wBDAAgGBgcGBQgHBwcJCQgKDBQNDAsLDBkSEw8UHRofHh0aHBwgJC4nICIsIxwcKDcpLDAxNDQ0Hyc5PTgyPC4zNDL/2wBDAQkJCQwLDBgNDRgyIRwhMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjL/wAARCAAoAG4DASIAAhEBAxEB/8QAHwAAAQUBAQEBAQEAAAAAAAAAAAECAwQFBgcICQoL/8QAtRAAAgEDAwIEAwUFBAQAAAF9AQIDAAQRBRIhMUEGE1FhByJxFDKBkaEII0KxwRVS0fAkM2JyggkKFhcYGRolJicoKSo0NTY3ODk6Q0RFRkdISUpTVFVWV1hZWmNkZWZnaGlqc3R1dnd4eXqDhIWGh4iJipKTlJWWl5iZmqKjpKWmp6ipqrKztLW2t7i5usLDxMXGx8jJytLT1NXW19jZ2uHi4+Tl5ufo6erx8v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OAdvUnGc9sk1l/Au7kk13XrWKV201QTCGJOfnOOT7H9aydJ1qfUry902/0q4vruTfGquu9QWfB54xwNo4PIJzWj4AOo+HPHLQaxpVzaQXEzmFljHlqzKByRxt2qKAOe8U2HiOy+K7aHZ6guoXVwWMAmG1cSoAVOT/cULnPavo3QDqraLbHW1iXUdv78Rfdz7cmvFPFjRaH8ZLHV9QlPnIWkQnO1lziNc/7pYf8Br3m3nhuU3wSpKn95GBFAE6ipAKaoqQCgDjFFSKKKKAJAK5DU/hh4e1nXp9WvY55JpyC6eZhc7dvb6A/Ue9FFAHWafpdjpkQjsrSGBACAI0A4Jz/ADq4IYy+8xqX4+bHPHSiigBbm0hvbWS3nQPHIu1gQD/Ouf8ADnge18L3ksmm3G2GT/lm0Y3HLAsWYEZPBA4AGehxyUUAdNHYWiTmdbaITH+PaM9COv4n8zViW3huImimjV42BBVhkYoooAzPEfhHRvFlmttq1qJVVgysp2sDz3/E0/wp4U07wfpLabphmNu0pl/etuOSADz+H60UUAdAoqQCiigD/9k="}

isdkz 发表于 2022-2-15 18:07:59

本帖最后由 isdkz 于 2022-2-15 18:11 编辑

没有做了混淆吧,直接解码就行了呀,网络传输使用base64编码一下是很正常的
从"base64Img":"data:image/jpeg;base64,/9j/4AAQSk...AdAoqQCiigD/9k="可以看到
图片格式是jpg,用的base64编码,后面那一长串就是编码后的数据了

python解码的代码:
import base64

raw = b'/9j/4AAQSkZJRgABAgAAAQABAAD/2wBDAAgGBgcGBQgHBwcJCQgKDBQNDAsLDBkSEw8UHRofHh0aHBwgJC4nICIsIxwcKDcpLDAxNDQ0Hyc5PTgyPC4zNDL/2wBDAQkJCQwLDBgNDRgyIRwhMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjL/wAARCAAoAG4DASIAAhEBAxEB/8QAHwAAAQUBAQEBAQEAAAAAAAAAAAECAwQFBgcICQoL/8QAtRAAAgEDAwIEAwUFBAQAAAF9A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HAIB596rzaI9t4tt9MjimjTcIXIO3LE5UZAxuAGFbGCARweaAOp8LQ2PjPTVl1BRJKrpvadCWLdgpOMDAIO3qRn6enQ26W9v5NsixqowoA4FeUa+mpeBr5NUt43kgDgTMudoiznaowE69icj+HI6dzF4hj8QeEJdQ0cs7yRfKuCGHrgdc9cH1oA4/xH4R065muNQ8beKzHI/ENvDL5caIOAdvUnGc9sk1l/Au7kk13XrWKV201QTCGJOfnOOT7H9aydJ1qfUry902/0q4vruTfGquu9QWfB54xwNo4PIJzWj4AOo+HPHLQaxpVzaQXEzmFljHlqzKByRxt2qKAOe8U2HiOy+K7aHZ6guoXVwWMAmG1cSoAVOT/cULnPavo3QDqraLbHW1iXUdv78Rfdz7cmvFPFjRaH8ZLHV9QlPnIWkQnO1lziNc/7pYf8Br3m3nhuU3wSpKn95GBFAE6ipAKaoqQCgDjFFSKKKKAJAK5DU/hh4e1nXp9WvY55JpyC6eZhc7dvb6A/Ue9FFAHWafpdjpkQjsrSGBACAI0A4Jz/ADq4IYy+8xqX4+bHPHSiigBbm0hvbWS3nQPHIu1gQD/Ouf8ADnge18L3ksmm3G2GT/lm0Y3HLAsWYEZPBA4AGehxyUUAdNHYWiTmdbaITH+PaM9COv4n8zViW3huImimjV42BBVhkYoooAzPEfhHRvFlmttq1qJVVgysp2sDz3/E0/wp4U07wfpLabphmNu0pl/etuOSADz+H60UUAdAoqQCiigD/9k='
with open('test.jpg', 'wb') as f:
    f.write(base64.b64decode(raw))

不弃_ 发表于 2022-2-15 19:36:49

isdkz 发表于 2022-2-15 18:07
没有做了混淆吧,直接解码就行了呀,网络传输使用base64编码一下是很正常的
从"base64Img":"data:image/jp ...

{:5_106:}

illidanX 发表于 2022-2-16 15:58:46

isdkz 发表于 2022-2-15 18:07
没有做了混淆吧,直接解码就行了呀,网络传输使用base64编码一下是很正常的
从"base64Img":"data:image/jp ...

上面那一串请求,后面怎么解决~~~大佬有解开么?听说是什么瑞数5代~~~

illidanX 发表于 2022-2-16 15:59:35

hKHnQfLv      这个后面那一串~~~

isdkz 发表于 2022-2-16 16:27:02

illidanX 发表于 2022-2-16 15:58
上面那一串请求,后面怎么解决~~~大佬有解开么?听说是什么瑞数5代~~~

没明白你想表达什么
页: [1]
查看完整版本: 大佬们进来看看---关于hKHnQfLv 的混淆解析