Make --keep-alive public

This commit is contained in:
Bernardo Damele 2010-06-30 11:29:35 +00:00
parent 8625763c07
commit d40a238335
4 changed files with 9 additions and 3 deletions

View File

@ -10,6 +10,8 @@ sqlmap (0.9-1) stable; urgency=low
(Bernardo).
* Added support to fetch unicode data (Bernardo and Miroslav).
* Added support for SOAP based web services requests (Bernardo).
* Added support to use persistent HTTP(s) connection for speed
improvement, --keep-alive switch (Miroslav).
* Added safe URL feature, --safe-url and --safe-freq (Miroslav).
* Added --use-between switch to use BETWEEN syntax in inferencial
statement and bypass firewalls filtering '>' character (Bernardo and

View File

@ -49,6 +49,7 @@ optDict = {
"aType": "string",
"aCred": "string",
"aCert": "string",
"keepAlive": "boolean",
"proxy": "string",
"ignoreProxy": "boolean",
"threads": "integer",

View File

@ -113,6 +113,9 @@ def cmdLineParser():
help="HTTP authentication certificate ("
"key_file,cert_file)")
request.add_option("--keep-alive", dest="keepAlive", action="store_true",
help="Use persistent HTTP(s) connections")
request.add_option("--proxy", dest="proxy",
help="Use a HTTP proxy to connect to the target url")
@ -454,9 +457,6 @@ def cmdLineParser():
parser.add_option("--common-prediction", dest="useCommonPrediction", action="store_true",
help=SUPPRESS_HELP)
parser.add_option("--keep-alive", dest="keepAlive", action="store_true",
help=SUPPRESS_HELP)
parser.add_option_group(target)
parser.add_option_group(request)
parser.add_option_group(injection)

View File

@ -85,6 +85,9 @@ aCred =
# Syntax: key_file,cert_file
aCert =
# Use persistent HTTP(s) connections
keepAlive = False
# Use a HTTP proxy to connect to the target url.
# Syntax: http://address:port
proxy =