full page read is not needed in DNS exfiltration mode

This commit is contained in:
Miroslav Stampar 2012-05-26 21:28:43 +00:00
parent 4e6fcce9ca
commit 09f2144485

View File

@ -124,6 +124,8 @@ class Connect:
@staticmethod
def __connReadProxy(conn):
retVal = ""
if not kb.dnsMode:
while True:
_ = conn.read(MAX_CONNECTION_CHUNK_SIZE)
if len(_) == MAX_CONNECTION_CHUNK_SIZE:
@ -134,6 +136,7 @@ class Connect:
else:
retVal += _
break
return retVal
@staticmethod