File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -844,8 +844,8 @@ Options:
844844
845845 --level=LEVEL Level of tests to perform (1-5, default 1)
846846 --risk=RISK Risk of tests to perform (0-3, default 1)
847- --string=STRING String to match in page when the query is valid
848- --regexp=REGEXP Regexp to match in page when the query is valid
847+ --string=STRING String to match when query is evaluated to True
848+ --regexp=REGEXP Regexp to match when query is evaluated to True
849849 --text-only Compare pages based only on the textual content
850850
851851 Techniques:
Original file line number Diff line number Diff line change @@ -237,15 +237,16 @@ def cmdLineParser():
237237 "default %d)" % defaults .level )
238238
239239 detection .add_option ("--string" , dest = "string" ,
240- help = "String to match in the response when "
241- "query is valid " )
240+ help = "String to match when "
241+ "query is evaluated to True " )
242242
243243 detection .add_option ("--regexp" , dest = "regexp" ,
244- help = "Regexp to match in the response when "
245- "query is valid " )
244+ help = "Regexp to match when "
245+ "query is evaluated to True " )
246246
247247 detection .add_option ("--code" , dest = "code" , type = "int" ,
248- help = "HTTP response code to match when the query is valid" )
248+ help = "HTTP code to match when "
249+ "query is evaluated to True" )
249250
250251 detection .add_option ("--text-only" , dest = "textOnly" ,
251252 action = "store_true" ,
Original file line number Diff line number Diff line change @@ -238,20 +238,20 @@ level = 1
238238# Default: 1
239239risk = 1
240240
241- # String to match within the raw response when the query is valid, only
242- # needed if the page content dynamically changes at each refresh.
241+ # String to match within the raw response when the query is evaluated to
242+ # True, only needed if the page content dynamically changes at each refresh.
243243# Refer to the user's manual for further details.
244244string =
245245
246246# Regular expression to match within the raw response when the query is
247- # valid , only needed if the needed if the page content dynamically changes
248- # at each refresh.
247+ # evaluated to True , only needed if the needed if the page content
248+ # dynamically changes at each refresh.
249249# Refer to the user's manual for further details.
250250# Valid: regular expression with Python syntax
251251# (http://www.python.org/doc/2.5.2/lib/re-syntax.html)
252252regexp =
253253
254- # HTTP response code to match when the query is valid .
254+ # HTTP response code to match when the query is True .
255255# Valid: Integer
256256# Example: 200 (assuming any False statement returns a different response
257257# code)
You can’t perform that action at this time.
0 commit comments