Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1dd3fae commit d77a5f5Copy full SHA for d77a5f5
1 file changed
lib/techniques/union/test.py
@@ -59,8 +59,8 @@ def __orderByTest(cols):
59
query = agent.prefixQuery("ORDER BY %d" % cols, prefix=prefix)
60
query = agent.suffixQuery(query, suffix=suffix, comment=comment)
61
payload = agent.payload(newValue=query, place=place, parameter=parameter, where=where)
62
- page, _ = Request.queryPage(payload, place=place, content=True, raise404=False)
63
- return not re.search(r"((warning|error)[^\n]*order)|(order by)", page or "", re.I)
+ page, headers = Request.queryPage(payload, place=place, content=True, raise404=False)
+ return not re.search(r"((warning|error)[^\n]*order)|(order by)", page or "", re.I) and comparison(page, headers)
64
65
if __orderByTest(1) and not __orderByTest(randomInt()):
66
infoMsg = "ORDER BY technique seems to be usable. "
0 commit comments