Skip to content

Commit f387333

Browse files
committed
Minor cosmetics
1 parent 4b5335a commit f387333

3 files changed

Lines changed: 7 additions & 7 deletions

File tree

lib/core/optiondict.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@
2929
"dropSetCookie": "boolean",
3030
"agent": "string",
3131
"randomAgent": "boolean",
32-
"rParam": "string",
3332
"host": "string",
3433
"referer": "string",
3534
"headers": "string",
@@ -42,6 +41,7 @@
4241
"delay": "float",
4342
"timeout": "float",
4443
"retries": "integer",
44+
"rParam": "string",
4545
"scope": "string",
4646
"safUrl": "string",
4747
"saFreq": "integer",

lib/parse/cmdline.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -97,9 +97,6 @@ def cmdLineParser():
9797
action="store_true",
9898
help="Use randomly selected HTTP User-Agent header")
9999

100-
request.add_option("--randomize", dest="rParam",
101-
help="Randomly change value for given parameter(s)")
102-
103100
request.add_option("--host", dest="host",
104101
help="HTTP Host header")
105102

@@ -142,6 +139,9 @@ def cmdLineParser():
142139
help="Retries when the connection timeouts "
143140
"(default %d)" % defaults.retries)
144141

142+
request.add_option("--randomize", dest="rParam",
143+
help="Randomly change value for given parameter(s)")
144+
145145
request.add_option("--scope", dest="scope",
146146
help="Regexp to filter targets from provided proxy log")
147147

sqlmap.conf

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,9 +65,6 @@ host =
6565
# each HTTP request.
6666
referer =
6767

68-
# Randomly change value for the given parameter
69-
rParam =
70-
7168
# Extra HTTP headers
7269
headers = Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
7370
Accept-Language: en-us,en;q=0.5
@@ -116,6 +113,9 @@ timeout = 30
116113
# Default: 3
117114
retries = 3
118115

116+
# Randomly change value for the given parameter.
117+
rParam =
118+
119119
# Regular expression for filtering targets from provided Burp.
120120
# or WebScarab proxy log.
121121
# Example: (google|yahoo)

0 commit comments

Comments
 (0)