From a65f7a8e172cc21742687045d39a68c8fb11daa7 Mon Sep 17 00:00:00 2001 From: Alexander Bersenev Date: Fri, 16 Aug 2019 16:45:22 +0500 Subject: [PATCH] add one more nonce in the reserved nonces list --- mtprotoproxy.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mtprotoproxy.py b/mtprotoproxy.py index c763848..e016438 100755 --- a/mtprotoproxy.py +++ b/mtprotoproxy.py @@ -1057,7 +1057,7 @@ async def do_direct_handshake(proto_tag, dc_idx, dec_key_and_iv=None): RESERVED_NONCE_FIRST_CHARS = [b"\xef"] RESERVED_NONCE_BEGININGS = [b"\x48\x45\x41\x44", b"\x50\x4F\x53\x54", b"\x47\x45\x54\x20", b"\xee\xee\xee\xee", - b"\xdd\xdd\xdd\xdd"] + b"\xdd\xdd\xdd\xdd", b"\x16\x03\x01\x02"] RESERVED_NONCE_CONTINUES = [b"\x00\x00\x00\x00"] global my_ip_info