本文整理汇总了Python中actions.Actions.dnstree方法的典型用法代码示例。如果您正苦于以下问题:Python Actions.dnstree方法的具体用法?Python Actions.dnstree怎么用?Python Actions.dnstree使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类actions.Actions
的用法示例。
在下文中一共展示了Actions.dnstree方法的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。
示例1:
# 需要导入模块: from actions import Actions [as 别名]
# 或者: from actions.Actions import dnstree [as 别名]
act.metasearch(criteria, scriptsJS, geoloc)
elif args.action == 'search_ip':
act.search_ip(geoloc, scriptsJS, 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' 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:
示例2:
# 需要导入模块: from actions import Actions [as 别名]
# 或者: from actions.Actions import dnstree [as 别名]
act.metasearch(criteria,scriptsJS,geoloc)
elif args.action=='search_ip':
act.search_ip(geoloc,scriptsJS)
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()
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(args.threadpool)
else:
parser.print_help()
elif args.action == 'init':
if db and attr and collection:
act.init(collection, attr)
else: