Merge branch 'master' of github.com:sqlmapproject/sqlmap

This commit is contained in:
Bernardo Damele 2012-07-16 15:03:16 +01:00
commit 2cb3b99910
2 changed files with 4 additions and 1 deletions

View File

@ -577,6 +577,9 @@ Bedirhan Urgun <bedirhanurgun@gmail.com>
Kyprianos Vasilopoulos <kyprianos.vasilopoulos@gmail.com>
for reporting a couple of minor bugs
Vlado Velichkovski <ketejadam@hotmail.com>
for reporting a couple of bugs
Johnny Venter <johnny.venter@zoho.com>
for reporting a couple of bugs

View File

@ -52,7 +52,7 @@ def __findUnionCharCount(comment, place, parameter, value, prefix, suffix, where
query = agent.suffixQuery(query, suffix=suffix, comment=comment)
payload = agent.payload(newValue=query, place=place, parameter=parameter, where=where)
page, headers = Request.queryPage(payload, place=place, content=True, raise404=False)
return not re.search(r"(warning|error|order by)", page or "", re.I) and comparison(page, headers)
return not re.search(r"(warning|error|order by|failed)", page or "", re.I) and comparison(page, headers)
if __orderByTest(1) and not __orderByTest(randomInt()):
infoMsg = "ORDER BY technique seems to be usable. "