Skip to content

Commit f0194a8

Browse files
committed
Fixing a special case (capitalized UNION response)
1 parent e034042 commit f0194a8

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

lib/techniques/union/use.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,11 @@ def _oneShotUnionUse(expression, unpack=True, limited=False):
9595
# Perform the request
9696
page, headers, _ = Request.queryPage(payload, content=True, raise404=False)
9797

98+
if page and kb.chars.start.upper() in page and kb.chars.start not in page:
99+
singleTimeWarnMessage("results seems to be upper-cased by force. sqlmap will automatically lower-case them")
100+
101+
page = page.lower()
102+
98103
incrementCounter(PAYLOAD.TECHNIQUE.UNION)
99104

100105
if kb.jsonAggMode:

0 commit comments

Comments
 (0)