minor makeup update

This commit is contained in:
Miroslav Stampar 2012-02-01 15:04:56 +00:00
parent 8405ef59ac
commit e56309f3b1
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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