mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-06 12:41:30 +00:00
Added --code switch to match in boolean-based tests against the HTTP response code
This commit is contained in:
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user