mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-01-11 00:59:01 +00:00
minor update regarding requestFile option
This commit is contained in:
@@ -28,7 +28,8 @@ optDict = {
|
||||
"url": "string",
|
||||
"list": "string",
|
||||
"googleDork": "string",
|
||||
"configFile": "string"
|
||||
"configFile": "string",
|
||||
"requestFile": "string"
|
||||
},
|
||||
|
||||
"Request": {
|
||||
@@ -48,8 +49,7 @@ optDict = {
|
||||
"delay": "float",
|
||||
"timeout": "float",
|
||||
"retries": "integer",
|
||||
"scope": "string",
|
||||
"requestFile": "string"
|
||||
"scope": "string"
|
||||
},
|
||||
|
||||
"Injection": {
|
||||
|
||||
@@ -59,6 +59,9 @@ def cmdLineParser():
|
||||
target.add_option("-c", dest="configFile",
|
||||
help="Load options from a configuration INI file")
|
||||
|
||||
target.add_option("-r", dest="requestFile",
|
||||
help="Load HTTP request from a file")
|
||||
|
||||
# Request options
|
||||
request = OptionGroup(parser, "Request", "These options can be used "
|
||||
"to specify how to connect to the target url.")
|
||||
@@ -121,9 +124,6 @@ def cmdLineParser():
|
||||
request.add_option("--scope", dest="scope",
|
||||
help="Regexp to filter targets from provided proxy log")
|
||||
|
||||
request.add_option("-r", dest="requestFile",
|
||||
help="Load HTTP request from a file")
|
||||
|
||||
# Injection options
|
||||
injection = OptionGroup(parser, "Injection", "These options can be "
|
||||
"used to specify which parameters to test "
|
||||
|
||||
Reference in New Issue
Block a user