mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-26 03:23:48 +03:00
minor update regarding requestFile option
This commit is contained in:
parent
8817b2884f
commit
a193205323
|
@ -28,7 +28,8 @@ optDict = {
|
||||||
"url": "string",
|
"url": "string",
|
||||||
"list": "string",
|
"list": "string",
|
||||||
"googleDork": "string",
|
"googleDork": "string",
|
||||||
"configFile": "string"
|
"configFile": "string",
|
||||||
|
"requestFile": "string"
|
||||||
},
|
},
|
||||||
|
|
||||||
"Request": {
|
"Request": {
|
||||||
|
@ -48,8 +49,7 @@ optDict = {
|
||||||
"delay": "float",
|
"delay": "float",
|
||||||
"timeout": "float",
|
"timeout": "float",
|
||||||
"retries": "integer",
|
"retries": "integer",
|
||||||
"scope": "string",
|
"scope": "string"
|
||||||
"requestFile": "string"
|
|
||||||
},
|
},
|
||||||
|
|
||||||
"Injection": {
|
"Injection": {
|
||||||
|
|
|
@ -59,6 +59,9 @@ def cmdLineParser():
|
||||||
target.add_option("-c", dest="configFile",
|
target.add_option("-c", dest="configFile",
|
||||||
help="Load options from a configuration INI file")
|
help="Load options from a configuration INI file")
|
||||||
|
|
||||||
|
target.add_option("-r", dest="requestFile",
|
||||||
|
help="Load HTTP request from a file")
|
||||||
|
|
||||||
# Request options
|
# Request options
|
||||||
request = OptionGroup(parser, "Request", "These options can be used "
|
request = OptionGroup(parser, "Request", "These options can be used "
|
||||||
"to specify how to connect to the target url.")
|
"to specify how to connect to the target url.")
|
||||||
|
@ -121,9 +124,6 @@ def cmdLineParser():
|
||||||
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")
|
||||||
|
|
||||||
request.add_option("-r", dest="requestFile",
|
|
||||||
help="Load HTTP request from a file")
|
|
||||||
|
|
||||||
# Injection options
|
# Injection options
|
||||||
injection = OptionGroup(parser, "Injection", "These options can be "
|
injection = OptionGroup(parser, "Injection", "These options can be "
|
||||||
"used to specify which parameters to test "
|
"used to specify which parameters to test "
|
||||||
|
|
|
@ -17,6 +17,10 @@ list =
|
||||||
# Example: +ext:php +inurl:"&id=" +intext:"powered by "
|
# Example: +ext:php +inurl:"&id=" +intext:"powered by "
|
||||||
googleDork =
|
googleDork =
|
||||||
|
|
||||||
|
# Load HTTP request from a file
|
||||||
|
# Example (file content): POST /login.jsp HTTP/1.1\nUser-Agent: Mozilla/4.0\n\nuserid=joe&password=guessme
|
||||||
|
requestFile =
|
||||||
|
|
||||||
[Request]
|
[Request]
|
||||||
|
|
||||||
# HTTP method to perform HTTP requests.
|
# HTTP method to perform HTTP requests.
|
||||||
|
@ -99,10 +103,6 @@ retries = 3
|
||||||
# Example: (google|yahoo)
|
# Example: (google|yahoo)
|
||||||
scope =
|
scope =
|
||||||
|
|
||||||
# Load HTTP request from a file
|
|
||||||
# Example (file content): POST /login.jsp HTTP/1.1\nUser-Agent: Mozilla/4.0\n\nuserid=joe&password=guessme
|
|
||||||
requestFile =
|
|
||||||
|
|
||||||
[Injection]
|
[Injection]
|
||||||
|
|
||||||
# Testable parameter(s) comma separated. By default all GET/POST/Cookie
|
# Testable parameter(s) comma separated. By default all GET/POST/Cookie
|
||||||
|
|
Loading…
Reference in New Issue
Block a user