python库枚举射箭工具restful api端点。
pyArcher的Python项目详细描述
Archery是一个开源的漏洞评估和管理工具,它可以帮助开发人员和Pentters执行扫描和管理漏洞。Archery使用流行的开源工具对Web应用程序和网络执行全面扫描。它还执行web应用程序动态身份验证扫描,并使用selenium覆盖整个应用程序。开发人员还可以利用该工具实现他们的devops ci/cd环境。
要求
- Archery tool
- python 2.7版
示例
# Import the package from archery import api # Set Archery url host = 'http://127.0.0.1:8008' # Setup archery connection archery = api.ArcheryAPI(host) # Provide Archery Credentials for authentication. authenticate = archery.archery_auth('admin', 'admin@123A') # Collect Token after authentication token = authenticate.data for key, value in token.viewitems(): token = value # List all Projects project = archery.list_project(auth=token) # Printing in Json Format print project.data_json()