Better language (used formation 'not required' in case of help for --dependencies while 'required'->'needs' in a check itself)

This commit is contained in:
Miroslav Stampar 2012-10-30 11:19:39 +01:00
parent 5cfc066ac4
commit 1bbeb92eb6
3 changed files with 6 additions and 6 deletions

View File

@ -616,7 +616,7 @@ def cmdLineParser():
miscellaneous.add_option("--dependencies", dest="dependencies",
action="store_true",
help="Check for missing sqlmap dependencies")
help="Check for missing (not required) sqlmap dependencies")
miscellaneous.add_option("--disable-coloring", dest="disableColoring",
action="store_true",

View File

@ -40,7 +40,7 @@ def checkDependencies():
elif dbmsName == DBMS.FIREBIRD:
import kinterbasdb
except ImportError, _:
warnMsg = "sqlmap requires '%s' third-party library " % data[1]
warnMsg = "sqlmap needs '%s' third-party library " % data[1]
warnMsg += "in order to directly connect to the database "
warnMsg += "%s. Download from %s" % (dbmsName, data[2])
logger.warn(warnMsg)
@ -56,7 +56,7 @@ def checkDependencies():
debugMsg = "'python-impacket' third-party library is found"
logger.debug(debugMsg)
except ImportError, _:
warnMsg = "sqlmap requires 'python-impacket' third-party library for "
warnMsg = "sqlmap needs 'python-impacket' third-party library for "
warnMsg += "out-of-band takeover feature. Download from "
warnMsg += "http://code.google.com/p/impacket/"
logger.warn(warnMsg)
@ -67,7 +67,7 @@ def checkDependencies():
debugMsg = "'python-ntlm' third-party library is found"
logger.debug(debugMsg)
except ImportError, _:
warnMsg = "sqlmap requires 'python-ntlm' third-party library for "
warnMsg = "sqlmap needs 'python-ntlm' third-party library for "
warnMsg += "if you plan to attack a web application behind NTLM "
warnMsg += "authentication. Download from http://code.google.com/p/python-ntlm/"
logger.warn(warnMsg)
@ -79,7 +79,7 @@ def checkDependencies():
debugMsg = "'python-pyreadline' third-party library is found"
logger.debug(debugMsg)
except ImportError, _:
warnMsg = "sqlmap requires 'pyreadline' third-party library to "
warnMsg = "sqlmap needs 'pyreadline' third-party library to "
warnMsg += "be able to take advantage of the sqlmap TAB "
warnMsg += "completion and history support features in the SQL "
warnMsg += "shell and OS shell. Download from "

View File

@ -656,7 +656,7 @@ checkWaf = False
# Valid: True or False
cleanup = False
# Show which sqlmap dependencies are not available.
# Check for missing (not required) sqlmap dependencies.
# Valid: True or False
dependencies = False