parser.add_option_group(misc) # Pay no attention to the _ it's required.. opt, _ = parser.parse_args() verify_python_version(verbose=opt.runInVerbose) # need this again :| required_args = [ "-c", "--crack", "-l", "--hash-list", "-v", "--verify", "-V", "--verify-list" ] args_in_params = 0 show_banner() if opt.hideBanner else show_hidden_banner() integrity_check() if len(sys.argv) <= 1: LOGGER.fatal( "You have failed to provide a flag to the application and have been redirected to the help menu." ) time.sleep(1.7) subprocess.call("python dagon.py --help", shell=True) else: try: # Download a random wordlist if opt.downloadWordList or opt.downloadMultiple: download_rand_wordlist(verbose=opt.runInVerbose, multi=opt.downloadMultiple if opt.downloadMultiple is not None else 1) exit(0)
"--verify-list" ] args_in_params = 0 show_banner() if opt.hideBanner else show_hidden_banner() if len(sys.argv) <= 1: LOGGER.fatal( "You have failed to provide a flag to the application and have been redirected to the help menu." ) time.sleep(1.7) subprocess.call("python dagon.py --help", shell=True) else: try: if opt.testProgramIntegrity: status = integrity_check() if status: LOGGER.info( "Integrity check has passed successfully, there are no updates " "available at the moment and you are running the latest version." ) exit(0) # Download a random wordlist if opt.downloadWordList or opt.downloadMultiple: download_rand_wordlist(verbose=opt.runInVerbose, multi=opt.downloadMultiple if opt.downloadMultiple is not None else 1) exit(0) # Output all supported algorithms