Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 1bbeb92

Browse files
committed
Better language (used formation 'not required' in case of help for --dependencies while 'required'->'needs' in a check itself)
1 parent 5cfc066 commit 1bbeb92

3 files changed

Lines changed: 6 additions & 6 deletions

File tree

lib/parse/cmdline.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -616,7 +616,7 @@ def cmdLineParser():
616616

617617
miscellaneous.add_option("--dependencies", dest="dependencies",
618618
action="store_true",
619-
help="Check for missing sqlmap dependencies")
619+
help="Check for missing (not required) sqlmap dependencies")
620620

621621
miscellaneous.add_option("--disable-coloring", dest="disableColoring",
622622
action="store_true",

lib/utils/deps.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ def checkDependencies():
4040
elif dbmsName == DBMS.FIREBIRD:
4141
import kinterbasdb
4242
except ImportError, _:
43-
warnMsg = "sqlmap requires '%s' third-party library " % data[1]
43+
warnMsg = "sqlmap needs '%s' third-party library " % data[1]
4444
warnMsg += "in order to directly connect to the database "
4545
warnMsg += "%s. Download from %s" % (dbmsName, data[2])
4646
logger.warn(warnMsg)
@@ -56,7 +56,7 @@ def checkDependencies():
5656
debugMsg = "'python-impacket' third-party library is found"
5757
logger.debug(debugMsg)
5858
except ImportError, _:
59-
warnMsg = "sqlmap requires 'python-impacket' third-party library for "
59+
warnMsg = "sqlmap needs 'python-impacket' third-party library for "
6060
warnMsg += "out-of-band takeover feature. Download from "
6161
warnMsg += "http://code.google.com/p/impacket/"
6262
logger.warn(warnMsg)
@@ -67,7 +67,7 @@ def checkDependencies():
6767
debugMsg = "'python-ntlm' third-party library is found"
6868
logger.debug(debugMsg)
6969
except ImportError, _:
70-
warnMsg = "sqlmap requires 'python-ntlm' third-party library for "
70+
warnMsg = "sqlmap needs 'python-ntlm' third-party library for "
7171
warnMsg += "if you plan to attack a web application behind NTLM "
7272
warnMsg += "authentication. Download from http://code.google.com/p/python-ntlm/"
7373
logger.warn(warnMsg)
@@ -79,7 +79,7 @@ def checkDependencies():
7979
debugMsg = "'python-pyreadline' third-party library is found"
8080
logger.debug(debugMsg)
8181
except ImportError, _:
82-
warnMsg = "sqlmap requires 'pyreadline' third-party library to "
82+
warnMsg = "sqlmap needs 'pyreadline' third-party library to "
8383
warnMsg += "be able to take advantage of the sqlmap TAB "
8484
warnMsg += "completion and history support features in the SQL "
8585
warnMsg += "shell and OS shell. Download from "

sqlmap.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -656,7 +656,7 @@ checkWaf = False
656656
# Valid: True or False
657657
cleanup = False
658658

659-
# Show which sqlmap dependencies are not available.
659+
# Check for missing (not required) sqlmap dependencies.
660660
# Valid: True or False
661661
dependencies = False
662662

0 commit comments

Comments
 (0)