mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-22 01:26:42 +03:00
minor makeup update
This commit is contained in:
parent
8405ef59ac
commit
e56309f3b1
|
@ -649,7 +649,7 @@ def cmdLineParser():
|
|||
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.dependencies)):
|
||||
errMsg = "missing a mandatory option (-d, -u, -l, -m, -r, -g, -c, --wizard, --update or --dependencies), "
|
||||
errMsg += "-h for help"
|
||||
errMsg += "use -h for help"
|
||||
parser.error(errMsg)
|
||||
|
||||
return args
|
||||
|
|
|
@ -12,7 +12,7 @@ import sys
|
|||
PYVERSION = sys.version.split()[0]
|
||||
|
||||
if PYVERSION >= "3" or PYVERSION < "2.6":
|
||||
exit("[CRITICAL] incompatible Python version detected ('%s'). For successfully running sqlmap you'll have to use 2.6 <= Python < 3.0" % PYVERSION)
|
||||
exit("[CRITICAL] incompatible Python version detected ('%s'). For successfully running sqlmap you'll have to use version 2.6 or 2.7 (visit \"http://www.python.org/download/\")" % PYVERSION)
|
||||
else:
|
||||
from _sqlmap import main
|
||||
# import needed for proper working of --profile switch
|
||||
|
|
Loading…
Reference in New Issue
Block a user