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). (Bernardo).
* Added support to fetch unicode data (Bernardo and Miroslav). * Added support to fetch unicode data (Bernardo and Miroslav).
* Added support for SOAP based web services requests (Bernardo). * 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 safe URL feature, --safe-url and --safe-freq (Miroslav).
* Added --use-between switch to use BETWEEN syntax in inferencial * Added --use-between switch to use BETWEEN syntax in inferencial
statement and bypass firewalls filtering '>' character (Bernardo and statement and bypass firewalls filtering '>' character (Bernardo and

View File

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

View File

@ -113,6 +113,9 @@ def cmdLineParser():
help="HTTP authentication certificate (" help="HTTP authentication certificate ("
"key_file,cert_file)") "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", request.add_option("--proxy", dest="proxy",
help="Use a HTTP proxy to connect to the target url") 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", parser.add_option("--common-prediction", dest="useCommonPrediction", action="store_true",
help=SUPPRESS_HELP) 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(target)
parser.add_option_group(request) parser.add_option_group(request)
parser.add_option_group(injection) parser.add_option_group(injection)

View File

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