From 1bbeb92eb64ccd147d3d2815837087b0f13be7b6 Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Tue, 30 Oct 2012 11:19:39 +0100 Subject: [PATCH] Better language (used formation 'not required' in case of help for --dependencies while 'required'->'needs' in a check itself) --- lib/parse/cmdline.py | 2 +- lib/utils/deps.py | 8 ++++---- sqlmap.conf | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/lib/parse/cmdline.py b/lib/parse/cmdline.py index 59302aa44..28a8ba0e7 100644 --- a/lib/parse/cmdline.py +++ b/lib/parse/cmdline.py @@ -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", diff --git a/lib/utils/deps.py b/lib/utils/deps.py index 7c895b5dd..1fd7a9b10 100644 --- a/lib/utils/deps.py +++ b/lib/utils/deps.py @@ -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 " diff --git a/sqlmap.conf b/sqlmap.conf index 808b3d75a..73d21b927 100644 --- a/sqlmap.conf +++ b/sqlmap.conf @@ -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