Fixing a special case (capitalized UNION response)

This commit is contained in:
Miroslav Stampar 2021-10-11 21:38:36 +02:00
parent e03404283c
commit f0194a8814

View File

@ -95,6 +95,11 @@ def _oneShotUnionUse(expression, unpack=True, limited=False):
# Perform the request
page, headers, _ = Request.queryPage(payload, content=True, raise404=False)
if page and kb.chars.start.upper() in page and kb.chars.start not in page:
singleTimeWarnMessage("results seems to be upper-cased by force. sqlmap will automatically lower-case them")
page = page.lower()
incrementCounter(PAYLOAD.TECHNIQUE.UNION)
if kb.jsonAggMode: