@@ -637,6 +637,9 @@ def cmdLineParser(argv=None):
637637 miscellaneous .add_option ("--identify-waf" , dest = "identifyWaf" , action = "store_true" ,
638638 help = "Make a thorough testing for a WAF/IPS/IDS protection" )
639639
640+ miscellaneous .add_option ("--list-tampers" , dest = "listTampers" , action = "store_true" ,
641+ help = "Display list of available tamper scripts" )
642+
640643 miscellaneous .add_option ("--mobile" , dest = "mobile" , action = "store_true" ,
641644 help = "Imitate smartphone through HTTP User-Agent header" )
642645
@@ -874,9 +877,9 @@ def _(self, *args):
874877 if args .dummy :
875878 args .url = args .url or DUMMY_URL
876879
877- if not any ((args .direct , args .url , args .logFile , args .bulkFile , args .googleDork , args .configFile , args .requestFile , args .updateAll , args .smokeTest , args .liveTest , args .wizard , args .dependencies , args .purge , args .sitemapUrl )):
878- errMsg = "missing a mandatory option (-d, -u, -l, -m, -r, -g, -c, -x, --wizard, --update, --purge or --dependencies), "
879- errMsg += "use -h for basic or -hh for advanced help\n "
880+ if not any ((args .direct , args .url , args .logFile , args .bulkFile , args .googleDork , args .configFile , args .requestFile , args .updateAll , args .smokeTest , args .liveTest , args .wizard , args .dependencies , args .purge , args .sitemapUrl , args . listTampers )):
881+ errMsg = "missing a mandatory option (-d, -u, -l, -m, -r, -g, -c, -x, --list-tampers, -- wizard, --update, --purge or --dependencies). "
882+ errMsg += "Use -h for basic and -hh for advanced help\n "
880883 parser .error (errMsg )
881884
882885 return args
0 commit comments