minor update (exposing --tor switch)

This commit is contained in:
Miroslav Stampar 2011-03-19 18:28:51 +00:00
parent 2cc91b8470
commit 088c815567
3 changed files with 13 additions and 6 deletions

View File

@ -160,7 +160,9 @@ optDict = {
"checkPayload": "boolean", "checkPayload": "boolean",
"cleanup": "boolean", "cleanup": "boolean",
"googlePage": "integer", "googlePage": "integer",
"parseErrors": "boolean",
"replicate": "boolean", "replicate": "boolean",
"tor": "boolean",
"verbose": "integer" "verbose": "integer"
}, },
} }

View File

@ -495,6 +495,10 @@ def cmdLineParser():
action="store_true", default=False, action="store_true", default=False,
help="Replicate dumped data into a sqlite3 database") help="Replicate dumped data into a sqlite3 database")
miscellaneous.add_option("--tor", dest="tor",
action="store_true", default=False,
help="Use default Tor (Vidalia/Privoxy/Polipo) proxy address")
# Hidden and/or experimental options # Hidden and/or experimental options
parser.add_option("--profile", dest="profile", action="store_true", parser.add_option("--profile", dest="profile", action="store_true",
default=False, help=SUPPRESS_HELP) default=False, help=SUPPRESS_HELP)
@ -514,9 +518,6 @@ def cmdLineParser():
parser.add_option("--technique", dest="technique", type="int", parser.add_option("--technique", dest="technique", type="int",
default=0, help=SUPPRESS_HELP) default=0, help=SUPPRESS_HELP)
parser.add_option("--tor", dest="tor", action="store_true",
default=False, 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(optimization) parser.add_option_group(optimization)

View File

@ -510,7 +510,7 @@ beep = False
# IDS detection testing of injection payloads. # IDS detection testing of injection payloads.
checkPayload = False checkPayload = False
# Clean up the DBMS by sqlmap specific UDF and tables # Clean up the DBMS by sqlmap specific UDF and tables.
# Valid: True or False # Valid: True or False
cleanup = False cleanup = False
@ -518,12 +518,12 @@ cleanup = False
# Valid: True or False # Valid: True or False
forms = False forms = False
# Use google dork results from specified page number # Use google dork results from specified page number.
# Valid: integer # Valid: integer
# Default: 1 # Default: 1
googlePage = 1 googlePage = 1
# Parse DBMS error messages from response pages # Parse DBMS error messages from response pages.
# Valid: True or False # Valid: True or False
parseErrors = False parseErrors = False
@ -531,6 +531,10 @@ parseErrors = False
# Valid: True or False # Valid: True or False
replicate = False replicate = False
# Use default Tor (Vidalia/Privoxy/Polipo) proxy address.
# Valid: True or False
replicate = False
# Verbosity level. # Verbosity level.
# Valid: integer between 0 and 6 # Valid: integer between 0 and 6
# 0: Show only error and critical messages # 0: Show only error and critical messages