elif args.action == 'create_network': act.create_network() elif args.action == 'metadata': act.metadata_exctract() elif args.action == 'create_result': if not criteria and not db: parser.print_help() else: if collection: act.create_result(collection, criteria) elif args.action == 'dnstree': if db: act.dnstree(db) elif args.action == 'crawl' and args.domains: if db: act.crawl(args.domains) elif args.action == 'cleandb': if db and filters: act.clean_db(filters) elif args.action == 'screenshots': if db and args.threadpool: act.screenshots(db, args.threadpool) else: parser.print_help() elif args.action == 'init': if db and attr and collection: act.init(db, collection, attr) else: parser.print_help() elif args.action == 'nmap': if args.nmap_options or args.range:
elif args.action =='create_network': act.create_network() elif args.action=='metadata': act.metadata_exctract() elif args.action == 'create_result': if not criteria and not db: parser.print_help() else: if collection: act.create_result(collection,criteria) elif args.action =='dnstree': if db: act.dnstree(db) elif args.action =='crawl': if db: act.crawl() elif args.action =='cleandb': if db and filters: act.clean_db(filters) elif args.action == 'screenshots': if db and args.threadpool: act.screenshots(db,args.threadpool) else: parser.print_help() elif args.action == 'init': if db and attr and collection: act.init(db,collection, attr) else: parser.print_help() else: