From baae7c1b44cb13ff42fc33390f41d89cae984093 Mon Sep 17 00:00:00 2001 From: spin6lock Date: Sun, 16 Feb 2020 02:12:03 +0800 Subject: [PATCH] fix #3 inconsist use of space and tab --- attack2_with_https_pocket.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/attack2_with_https_pocket.py b/attack2_with_https_pocket.py index 3b48e74..a2593be 100644 --- a/attack2_with_https_pocket.py +++ b/attack2_with_https_pocket.py @@ -36,7 +36,7 @@ def up(c): obj.send(cipertext)# send the payload to construct a redirect tunnel time.sleep(0.2) for i in range(0,0,1): - prefix_https_recv='\x16\x03\x03\x00'+chr(i)+'\x02\x00' + prefix_https_recv='\x16\x03\x03\x00'+chr(i)+'\x02\x00' x=xor(prefix_https_recv,targetIP) z=xor(x,y) cipertext=c[0:16]+z+c[16+7:]