Minor cosmetics

This commit is contained in:
Miroslav Stampar 2013-04-02 17:34:56 +02:00
parent 4b5335a323
commit f387333415
3 changed files with 7 additions and 7 deletions

View File

@ -29,7 +29,6 @@ optDict = {
"dropSetCookie": "boolean", "dropSetCookie": "boolean",
"agent": "string", "agent": "string",
"randomAgent": "boolean", "randomAgent": "boolean",
"rParam": "string",
"host": "string", "host": "string",
"referer": "string", "referer": "string",
"headers": "string", "headers": "string",
@ -42,6 +41,7 @@ optDict = {
"delay": "float", "delay": "float",
"timeout": "float", "timeout": "float",
"retries": "integer", "retries": "integer",
"rParam": "string",
"scope": "string", "scope": "string",
"safUrl": "string", "safUrl": "string",
"saFreq": "integer", "saFreq": "integer",

View File

@ -97,9 +97,6 @@ def cmdLineParser():
action="store_true", action="store_true",
help="Use randomly selected HTTP User-Agent header") help="Use randomly selected HTTP User-Agent header")
request.add_option("--randomize", dest="rParam",
help="Randomly change value for given parameter(s)")
request.add_option("--host", dest="host", request.add_option("--host", dest="host",
help="HTTP Host header") help="HTTP Host header")
@ -142,6 +139,9 @@ def cmdLineParser():
help="Retries when the connection timeouts " help="Retries when the connection timeouts "
"(default %d)" % defaults.retries) "(default %d)" % defaults.retries)
request.add_option("--randomize", dest="rParam",
help="Randomly change value for given parameter(s)")
request.add_option("--scope", dest="scope", request.add_option("--scope", dest="scope",
help="Regexp to filter targets from provided proxy log") help="Regexp to filter targets from provided proxy log")

View File

@ -65,9 +65,6 @@ host =
# each HTTP request. # each HTTP request.
referer = referer =
# Randomly change value for the given parameter
rParam =
# Extra HTTP headers # Extra HTTP headers
headers = Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5 headers = Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Language: en-us,en;q=0.5 Accept-Language: en-us,en;q=0.5
@ -116,6 +113,9 @@ timeout = 30
# Default: 3 # Default: 3
retries = 3 retries = 3
# Randomly change value for the given parameter.
rParam =
# Regular expression for filtering targets from provided Burp. # Regular expression for filtering targets from provided Burp.
# or WebScarab proxy log. # or WebScarab proxy log.
# Example: (google|yahoo) # Example: (google|yahoo)