当前位置: 首页>>代码示例>>Python>>正文


Python Actions.crawl方法代码示例

本文整理汇总了Python中actions.Actions.crawl方法的典型用法代码示例。如果您正苦于以下问题:Python Actions.crawl方法的具体用法?Python Actions.crawl怎么用?Python Actions.crawl使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在actions.Actions的用法示例。


在下文中一共展示了Actions.crawl方法的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。

示例1:

# 需要导入模块: from actions import Actions [as 别名]
# 或者: from actions.Actions import crawl [as 别名]
 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:
开发者ID:Deceptio-Solutions,项目名称:OSINT,代码行数:33,代码来源:main.py

示例2:

# 需要导入模块: from actions import Actions [as 别名]
# 或者: from actions.Actions import crawl [as 别名]
 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:       
     
开发者ID:carriercomm,项目名称:OSINT-1,代码行数:32,代码来源:main.py


注:本文中的actions.Actions.crawl方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。