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
|
|
@ -200,13 +200,16 @@ def cmdLineParser():
|
|||
"default %d)" % defaults.level)
|
||||
|
||||
detection.add_option("--string", dest="string",
|
||||
help="String to match in page when the "
|
||||
help="String to match in the response when "
|
||||
"query is valid")
|
||||
|
||||
detection.add_option("--regexp", dest="regexp",
|
||||
help="Regexp to match in page when the "
|
||||
help="Regexp to match in the response when "
|
||||
"query is valid")
|
||||
|
||||
detection.add_option("--code", dest="code", type="int",
|
||||
help="HTTP response code to match when the query is valid")
|
||||
|
||||
detection.add_option("--text-only", dest="textOnly",
|
||||
action="store_true",
|
||||
help="Compare pages based only on the textual content")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue