Added --code switch to match in boolean-based tests against the HTTP response code

This commit is contained in:
Bernardo Damele
2011-08-12 16:48:11 +00:00
parent e34787db99
commit 702ed73a65
9 changed files with 39 additions and 23 deletions

View File

@@ -204,12 +204,12 @@ level = 1
# Default: 1
risk = 1
# String to match within the page content when the query is valid, only
# String to match within the raw response when the query is valid, only
# needed if the page content dynamically changes at each refresh.
# Refer to the user's manual for further details.
string =
# Regular expression to match within the page content when the query is
# Regular expression to match within the raw response when the query is
# valid, only needed if the needed if the page content dynamically changes
# at each refresh.
# Refer to the user's manual for further details.
@@ -217,6 +217,12 @@ string =
# (http://www.python.org/doc/2.5.2/lib/re-syntax.html)
regexp =
# HTTP response code to match when the query is valid
# Valid: True or False
# Example: 200 (assuming any False statement returns a different response
# code)
code =
# Compare pages based only on the textual content
# Valid: True or False
textOnly = False