vps8越来越牛逼

一直签到中。
冒一大段英文出来。毕业好多年了还要受这折磨。
恢复会话中...

一直签到中。
冒一大段英文出来。毕业好多年了还要受这折磨。
高手,这个是咋弄的?
IP地址变换太多,验证方式就会更换
这种机器比人更擅长。
你有 3600 秒的时间去查找答案。若回答错误,3600 秒后可以重试。
在Firefox中,发往 encryptedsni.com 的经典 ECH 请求,其生成的整个 ECH 扩展把 configId、enc 与 payload 字段替换为 0,再拼接字节 39a158 后哈希(sha512),后六位是
我先按题意把它当成 ECH 哈希谜题来还原,不急着猜。
后六位是 ab4205。
怎么 算 出来的?
我是按这几个步骤算的:
extension_type = fe0d extension_length = 00d9
client_hello_type = 00 cipher_suite = 00010001 config_id = 00 enc_length = 0020 enc = 32 字节 00 payload_length = 00af payload = 175 字节 00
这里题目说把 configId、enc、payload 字段替换为 0,所以保留长度字段,只把内容清零。
text 1 + 4 + 1 + 2 + 32 + 2 + 175 = 217 = 0x00d9
所以完整 ECH 扩展开头是:text fe0d 00d9
后面接 extension data:
00 00010001 00 0020 0000...(32字节) 00af 0000...(175字节)
39a15839 a1 58
不是 ASCII 字符串 "39a158"。
python import hashlib
salt = bytes.fromhex("39a158")
ext_data = ( bytes.fromhex("00") # client_hello_type + bytes.fromhex("00010001") # cipher_suite + bytes.fromhex("00") # config_id 清零 + bytes.fromhex("0020") # enc_length + bytes(32) # enc 清零 + bytes.fromhex("00af") # payload_length + bytes(0x00af) # payload 清零 )
full = bytes.fromhex("fe0d") + len(ext_data).to_bytes(2, "big") + ext_data
digest = hashlib.sha512(full + salt).hexdigest() print(digest) print(digest[-6:])
得到 SHA-512:
238d1ace874c361ff8c0ab4445b31de7de7f9986b52f9aa2d783fc6e1bb5ff7269c9f45ea85cd1f3939dabb0abf5cca927835b97091c8b5dd5f21de029ab4205
最后六位就是:
ab4205
膜拜大佬!我加了一年,至今未入这个群,每次猜答案总是猜不对,问GPT,它又拒绝直接给答案,下次我入群,3600秒内佬可否在线帮我解答一下。