mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-06 12:41:30 +00:00
Patch for an Issue #304
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user