minor update regarding requestFile option

This commit is contained in:
Miroslav Stampar 2010-01-12 14:01:58 +00:00
parent 8817b2884f
commit a193205323
3 changed files with 10 additions and 10 deletions

View File

@ -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": {

View File

@ -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 "

View File

@ -17,6 +17,10 @@ list =
# Example: +ext:php +inurl:"&id=" +intext:"powered by "
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]
# HTTP method to perform HTTP requests.
@ -99,10 +103,6 @@ retries = 3
# Example: (google|yahoo)
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]
# Testable parameter(s) comma separated. By default all GET/POST/Cookie