mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-07 21:21:33 +00:00
Added --code switch to match in boolean-based tests against the HTTP response code
This commit is contained in:
@@ -1330,6 +1330,9 @@ def __cleanupOptions():
|
||||
else:
|
||||
kb.adjustTimeDelay = False
|
||||
|
||||
if conf.code:
|
||||
conf.code = int(conf.code)
|
||||
|
||||
def __setConfAttributes():
|
||||
"""
|
||||
This function set some needed attributes into the configuration
|
||||
|
||||
@@ -68,6 +68,7 @@ optDict = {
|
||||
"risk": "integer",
|
||||
"string": "string",
|
||||
"regexp": "string",
|
||||
"code": "string",
|
||||
"textOnly": "boolean",
|
||||
"titles": "boolean"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user