FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Fixes #1474 · getcode2git/sqlmap@3dc8820 · GitHub

Commit 3dc8820

Browse files
committed
1 parent 441196f commit 3dc8820

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎lib/request/inject.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ def _goInferenceProxy(expression, fromUser=False, batch=False, unpack=True, char
190190
countFirstField = queries[Backend.getIdentifiedDbms()].count.query % expressionFieldsList[0]
191191
countedExpression = expression.replace(expressionFields, countFirstField, 1)
192192

193-
if " ORDER BY " in expression.upper():
193+
if " ORDER BY " in countedExpression.upper():
194194
_ = countedExpression.upper().rindex(" ORDER BY ")
195195
countedExpression = countedExpression[:_]
196196

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL