mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-02-03 13:14:13 +03:00
full page read is not needed in DNS exfiltration mode
This commit is contained in:
parent
4e6fcce9ca
commit
09f2144485
|
@ -124,6 +124,8 @@ class Connect:
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def __connReadProxy(conn):
|
def __connReadProxy(conn):
|
||||||
retVal = ""
|
retVal = ""
|
||||||
|
|
||||||
|
if not kb.dnsMode:
|
||||||
while True:
|
while True:
|
||||||
_ = conn.read(MAX_CONNECTION_CHUNK_SIZE)
|
_ = conn.read(MAX_CONNECTION_CHUNK_SIZE)
|
||||||
if len(_) == MAX_CONNECTION_CHUNK_SIZE:
|
if len(_) == MAX_CONNECTION_CHUNK_SIZE:
|
||||||
|
@ -134,6 +136,7 @@ class Connect:
|
||||||
else:
|
else:
|
||||||
retVal += _
|
retVal += _
|
||||||
break
|
break
|
||||||
|
|
||||||
return retVal
|
return retVal
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
|
|
Loading…
Reference in New Issue
Block a user