Skip to content

Commit cd1c100

Browse files
committed
Another patch for an Issue sqlmapproject#757
1 parent e66a81a commit cd1c100

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/techniques/error/use.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ def _oneShotErrorUse(expression, field=None):
100100
incrementCounter(kb.technique)
101101

102102
if page and conf.noCast:
103-
page = re.sub(r"'%s'.*?'%s'" % (kb.chars.start, kb.chars.stop), "", page)
103+
page = re.sub(r"('|\%%27)%s('|\%%27).*?('|\%%27)%s('|\%%27)" % (kb.chars.start, kb.chars.stop), "", page)
104104

105105
# Parse the returned page to get the exact error-based
106106
# SQL injection output

0 commit comments

Comments
 (0)