mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-25 19:13:48 +03:00
minor update (exposing --tor switch)
This commit is contained in:
parent
2cc91b8470
commit
088c815567
|
@ -160,7 +160,9 @@ optDict = {
|
|||
"checkPayload": "boolean",
|
||||
"cleanup": "boolean",
|
||||
"googlePage": "integer",
|
||||
"parseErrors": "boolean",
|
||||
"replicate": "boolean",
|
||||
"tor": "boolean",
|
||||
"verbose": "integer"
|
||||
},
|
||||
}
|
||||
|
|
|
@ -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)
|
||||
|
|
10
sqlmap.conf
10
sqlmap.conf
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user