mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-27 04:05:58 +00:00
Patch for an Issue #304
This commit is contained in:
parent
45d6fdcdc8
commit
2b64c10710
3 changed files with 16 additions and 4 deletions
|
|
@ -71,7 +71,7 @@ def _comparison(page, headers, code, getRatioValue, pageLength):
|
|||
return re.search(conf.regexp, rawResponse, re.I | re.M) is not None
|
||||
|
||||
# HTTP code to match when the query is valid
|
||||
if isinstance(code, int) and conf.code:
|
||||
if conf.code:
|
||||
return conf.code == code
|
||||
|
||||
if page:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue