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

View File

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

View File

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