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",
"cleanup": "boolean",
"googlePage": "integer",
"parseErrors": "boolean",
"replicate": "boolean",
"tor": "boolean",
"verbose": "integer"
},
}

View File

@ -495,6 +495,10 @@ def cmdLineParser():
action="store_true", default=False,
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
parser.add_option("--profile", dest="profile", action="store_true",
default=False, help=SUPPRESS_HELP)
@ -514,9 +518,6 @@ def cmdLineParser():
parser.add_option("--technique", dest="technique", type="int",
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(request)
parser.add_option_group(optimization)

View File

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