mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-04-25 11:23:44 +03:00
minor update
This commit is contained in:
parent
8a7b0406c8
commit
087e29d272
|
@ -101,6 +101,7 @@ from lib.core.settings import DEFAULT_MSSQL_SCHEMA
|
||||||
from lib.core.settings import DUMP_NEWLINE_MARKER
|
from lib.core.settings import DUMP_NEWLINE_MARKER
|
||||||
from lib.core.settings import DUMP_CR_MARKER
|
from lib.core.settings import DUMP_CR_MARKER
|
||||||
from lib.core.settings import DUMP_TAB_MARKER
|
from lib.core.settings import DUMP_TAB_MARKER
|
||||||
|
from lib.core.settings import LARGE_OUTPUT_THRESHOLD
|
||||||
from lib.core.settings import ML
|
from lib.core.settings import ML
|
||||||
from lib.core.settings import MIN_TIME_RESPONSES
|
from lib.core.settings import MIN_TIME_RESPONSES
|
||||||
from lib.core.settings import PAYLOAD_DELIMITER
|
from lib.core.settings import PAYLOAD_DELIMITER
|
||||||
|
@ -1333,6 +1334,10 @@ def parseUnionPage(output, unique=True):
|
||||||
return None
|
return None
|
||||||
|
|
||||||
if output.startswith(kb.chars.start) and output.endswith(kb.chars.stop):
|
if output.startswith(kb.chars.start) and output.endswith(kb.chars.stop):
|
||||||
|
if len(output) > LARGE_OUTPUT_THRESHOLD:
|
||||||
|
warnMsg = "large output detected. This might take a while"
|
||||||
|
logger.warn(warnMsg)
|
||||||
|
|
||||||
data = BigArray()
|
data = BigArray()
|
||||||
_ = []
|
_ = []
|
||||||
|
|
||||||
|
|
|
@ -425,3 +425,6 @@ DEFAULT_COOKIE_DELIMITER = ';'
|
||||||
|
|
||||||
# Skip unforced HashDB flush requests below the threshold number of cached items
|
# Skip unforced HashDB flush requests below the threshold number of cached items
|
||||||
HASHDB_FLUSH_THRESHOLD = 32
|
HASHDB_FLUSH_THRESHOLD = 32
|
||||||
|
|
||||||
|
# Warn user of possible delay due to large page dump in full UNION query injections
|
||||||
|
LARGE_OUTPUT_THRESHOLD = 1024**2
|
||||||
|
|
Loading…
Reference in New Issue
Block a user