Skip to content

Commit 69e3a2c

Browse files
committed
Minor update
1 parent 03c4eb8 commit 69e3a2c

3 files changed

Lines changed: 8 additions & 8 deletions

File tree

lib/core/optiondict.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,8 @@
4646
"safUrl": "string",
4747
"saFreq": "integer",
4848
"skipUrlEncode": "boolean",
49-
"evalCode": "string",
5049
"forceSSL": "boolean",
50+
"evalCode": "string",
5151
},
5252

5353
"Optimization": {

lib/parse/cmdline.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -154,13 +154,13 @@ def cmdLineParser():
154154
action="store_true",
155155
help="Skip URL encoding of payload data")
156156

157-
request.add_option("--eval", dest="evalCode",
158-
help="Evaluate provided Python code before the request (e.g. \"import hashlib;id2=hashlib.md5(id).hexdigest()\")")
159-
160157
request.add_option("--force-ssl", dest="forceSSL",
161158
action="store_true",
162159
help="Force usage of SSL/HTTPS")
163160

161+
request.add_option("--eval", dest="evalCode",
162+
help="Evaluate provided Python code before the request (e.g. \"import hashlib;id2=hashlib.md5(id).hexdigest()\")")
163+
164164
# Optimization options
165165
optimization = OptionGroup(parser, "Optimization", "These "
166166
"switches can be used to optimize the "

sqlmap.conf

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -134,14 +134,14 @@ saFreq = 0
134134
# Valid: True or False
135135
skipUrlEncode = False
136136

137-
# Evaluate provided Python code before the request.
138-
# Example: import hashlib;id2=hashlib.md5(id).hexdigest()
139-
evalCode =
140-
141137
# Force usage of SSL/HTTPS
142138
# Valid: True or False
143139
forceSSL = False
144140

141+
# Evaluate provided Python code before the request.
142+
# Example: import hashlib;id2=hashlib.md5(id).hexdigest()
143+
evalCode =
144+
145145
# These options can be used to optimize the performance of sqlmap.
146146
[Optimization]
147147

0 commit comments

Comments
 (0)