mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-02-09 08:00:36 +03:00
Better language (used formation 'not required' in case of help for --dependencies while 'required'->'needs' in a check itself)
This commit is contained in:
parent
5cfc066ac4
commit
1bbeb92eb6
|
@ -616,7 +616,7 @@ def cmdLineParser():
|
||||||
|
|
||||||
miscellaneous.add_option("--dependencies", dest="dependencies",
|
miscellaneous.add_option("--dependencies", dest="dependencies",
|
||||||
action="store_true",
|
action="store_true",
|
||||||
help="Check for missing sqlmap dependencies")
|
help="Check for missing (not required) sqlmap dependencies")
|
||||||
|
|
||||||
miscellaneous.add_option("--disable-coloring", dest="disableColoring",
|
miscellaneous.add_option("--disable-coloring", dest="disableColoring",
|
||||||
action="store_true",
|
action="store_true",
|
||||||
|
|
|
@ -40,7 +40,7 @@ def checkDependencies():
|
||||||
elif dbmsName == DBMS.FIREBIRD:
|
elif dbmsName == DBMS.FIREBIRD:
|
||||||
import kinterbasdb
|
import kinterbasdb
|
||||||
except ImportError, _:
|
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 += "in order to directly connect to the database "
|
||||||
warnMsg += "%s. Download from %s" % (dbmsName, data[2])
|
warnMsg += "%s. Download from %s" % (dbmsName, data[2])
|
||||||
logger.warn(warnMsg)
|
logger.warn(warnMsg)
|
||||||
|
@ -56,7 +56,7 @@ def checkDependencies():
|
||||||
debugMsg = "'python-impacket' third-party library is found"
|
debugMsg = "'python-impacket' third-party library is found"
|
||||||
logger.debug(debugMsg)
|
logger.debug(debugMsg)
|
||||||
except ImportError, _:
|
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 += "out-of-band takeover feature. Download from "
|
||||||
warnMsg += "http://code.google.com/p/impacket/"
|
warnMsg += "http://code.google.com/p/impacket/"
|
||||||
logger.warn(warnMsg)
|
logger.warn(warnMsg)
|
||||||
|
@ -67,7 +67,7 @@ def checkDependencies():
|
||||||
debugMsg = "'python-ntlm' third-party library is found"
|
debugMsg = "'python-ntlm' third-party library is found"
|
||||||
logger.debug(debugMsg)
|
logger.debug(debugMsg)
|
||||||
except ImportError, _:
|
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 += "if you plan to attack a web application behind NTLM "
|
||||||
warnMsg += "authentication. Download from http://code.google.com/p/python-ntlm/"
|
warnMsg += "authentication. Download from http://code.google.com/p/python-ntlm/"
|
||||||
logger.warn(warnMsg)
|
logger.warn(warnMsg)
|
||||||
|
@ -79,7 +79,7 @@ def checkDependencies():
|
||||||
debugMsg = "'python-pyreadline' third-party library is found"
|
debugMsg = "'python-pyreadline' third-party library is found"
|
||||||
logger.debug(debugMsg)
|
logger.debug(debugMsg)
|
||||||
except ImportError, _:
|
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 += "be able to take advantage of the sqlmap TAB "
|
||||||
warnMsg += "completion and history support features in the SQL "
|
warnMsg += "completion and history support features in the SQL "
|
||||||
warnMsg += "shell and OS shell. Download from "
|
warnMsg += "shell and OS shell. Download from "
|
||||||
|
|
|
@ -656,7 +656,7 @@ checkWaf = False
|
||||||
# Valid: True or False
|
# Valid: True or False
|
||||||
cleanup = False
|
cleanup = False
|
||||||
|
|
||||||
# Show which sqlmap dependencies are not available.
|
# Check for missing (not required) sqlmap dependencies.
|
||||||
# Valid: True or False
|
# Valid: True or False
|
||||||
dependencies = False
|
dependencies = False
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user