this is strictly for educational purposes

This commit is contained in:
Miroslav Stampar
2010-12-20 17:30:47 +00:00
parent c948bced61
commit 19d8733e9a
4 changed files with 384 additions and 2 deletions

View File

@@ -560,7 +560,8 @@ def cmdLineParser():
(args, _) = parser.parse_args(args)
if not args.direct and not args.url and not args.list and not args.googleDork and not args.configFile\
and not args.requestFile and not args.updateAll and not args.smokeTest and not args.liveTest:
and not args.requestFile and not args.updateAll and not args.smokeTest and not args.liveTest\
and not args.scriptKiddie:
errMsg = "missing a mandatory parameter ('-d', '-u', '-l', '-r', '-g', '-c' or '--update'), "
errMsg += "-h for help"
parser.error(errMsg)