mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-01-24 00:04:23 +03:00
typo fix
This commit is contained in:
parent
7152a1ed3b
commit
8978fded03
|
@ -113,7 +113,7 @@ from lib.request.certhandler import HTTPSCertAuthHandler
|
|||
from lib.request.rangehandler import HTTPRangeHandler
|
||||
from lib.request.redirecthandler import SmartRedirectHandler
|
||||
from lib.request.templates import getPageTemplate
|
||||
from lib.utils.dependences import checkDependences
|
||||
from lib.utils.deps import checkDependencies
|
||||
from lib.utils.google import Google
|
||||
|
||||
authHandler = urllib2.BaseHandler()
|
||||
|
@ -1744,7 +1744,7 @@ def init(inputOptions=advancedDict(), overrideOptions=False):
|
|||
__saveCmdline()
|
||||
__setRequestFromFile()
|
||||
__cleanupOptions()
|
||||
checkDependences()
|
||||
checkDependencies()
|
||||
__basicOptionValidation()
|
||||
__setTorProxySettings()
|
||||
__setMultipleTargets()
|
||||
|
|
|
@ -174,7 +174,7 @@ optDict = {
|
|||
"replicate": "boolean",
|
||||
"tor": "boolean",
|
||||
"wizard": "boolean",
|
||||
"dependences": "boolean",
|
||||
"dependencies": "boolean",
|
||||
"verbose": "integer"
|
||||
},
|
||||
}
|
||||
|
|
|
@ -537,9 +537,9 @@ def cmdLineParser():
|
|||
action="store_true", default=False,
|
||||
help="Simple wizard interface for beginner users")
|
||||
|
||||
miscellaneous.add_option("--dependences", dest="dependences",
|
||||
miscellaneous.add_option("--dependencies", dest="dependencies",
|
||||
action="store_true", default=False,
|
||||
help="Show which sqlmap dependences are not available")
|
||||
help="Show which sqlmap dependencies are not available")
|
||||
|
||||
# Hidden and/or experimental options
|
||||
parser.add_option("--profile", dest="profile", action="store_true",
|
||||
|
@ -590,8 +590,8 @@ def cmdLineParser():
|
|||
(args, _) = parser.parse_args(args)
|
||||
|
||||
if not any([args.direct, args.url, args.logFile, args.bulkFile, args.googleDork, args.configFile, \
|
||||
args.requestFile, args.updateAll, args.smokeTest, args.liveTest, args.realTest, args.wizard, args.dependences]):
|
||||
errMsg = "missing a mandatory parameter (-d, -u, -l, -m, -r, -g, -c, --wizard, --update or --dependences), "
|
||||
args.requestFile, args.updateAll, args.smokeTest, args.liveTest, args.realTest, args.wizard, args.dependencies]):
|
||||
errMsg = "missing a mandatory parameter (-d, -u, -l, -m, -r, -g, -c, --wizard, --update or --dependencies), "
|
||||
errMsg += "-h for help"
|
||||
parser.error(errMsg)
|
||||
|
||||
|
|
|
@ -14,7 +14,7 @@ from lib.core.exception import sqlmapMissingDependence
|
|||
from lib.core.settings import DBMS_DICT
|
||||
from lib.core.settings import IS_WIN
|
||||
|
||||
def checkDependences():
|
||||
def checkDependencies():
|
||||
missing_libraries = set()
|
||||
|
||||
for dbmsName, data in DBMS_DICT.items():
|
||||
|
@ -103,4 +103,4 @@ def checkDependences():
|
|||
missing_libraries.add('python-pyreadline')
|
||||
|
||||
if len(missing_libraries) == 0:
|
||||
infoMsg = "all dependences are installed"
|
||||
infoMsg = "all dependencies are installed"
|
|
@ -576,9 +576,9 @@ tor = False
|
|||
# Valid: True or False
|
||||
wizard = False
|
||||
|
||||
# Show which sqlmap dependences are not available.
|
||||
# Show which sqlmap dependencies are not available.
|
||||
# Valid: True or False
|
||||
dependences = False
|
||||
dependencies = False
|
||||
|
||||
# Verbosity level.
|
||||
# Valid: integer between 0 and 6
|
||||
|
|
Loading…
Reference in New Issue
Block a user