mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-04 14:55:40 +00:00
Added --code switch to match in boolean-based tests against the HTTP response code
This commit is contained in:
parent
e34787db99
commit
702ed73a65
9 changed files with 39 additions and 23 deletions
|
|
@ -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"
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue