跳转到主要内容

REST API客户端,用于消费w3af

项目描述

REST API客户端用于w3af

使用w3af的REST API启动Web应用程序安全扫描 w3af的REST API

Build Status

安装

$ pip install --upgrade w3af-api-client

用法

REST API客户端允许您运行扫描并访问结果和日志文件。

from w3af_api_client import Connection, Scan

# Connect to the REST API and get it's version
conn = Connection('http://127.0.0.1:5000/')
print conn.get_version()

# Define the target and configuration
scan_profile = file('/path/to/profile.pw3af').read()
target_urls = ['http://example.target']

scan = Scan(conn)
scan.start(scan_profile, target_urls)

# Wait some time for the scan to start and then
scan.get_urls()
scan.get_log()
scan.get_findings()

源代码

开发者喜欢代码,以下是您需要了解、使用和扩展客户端的所有内容

报告错误

w3af-api-client的问题跟踪器 中报告您的问题和功能请求,我们将非常乐意修复它们。

欢迎提交拉取请求!

项目详情


下载文件

下载适用于您的平台的文件。如果您不确定选择哪个,请了解更多关于 安装包 的信息。

源代码分发

w3af-api-client-3.0.1.tar.gz (4.0 kB 查看哈希值)

上传时间: 源代码

由以下支持