Skip to main content

REST API client to consume w3af

Project description

REST API client for w3af

Launch web application security scans using w3af’s REST API

Build Status

Installation

$ pip install --upgrade w3af-api-client

Usage

The REST API client allows you to run scans and access results and log files.

from w3af_api_client import Connection, Scan

# Connect to the REST API
conn = Connection('http://127.0.0.1:5000/')

# 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
print scan.get_log()
print scan.get_findings()

Source code

Developers love code, here’s all you need to understand, use and extend the client:

Reporting bugs

Report your issues and feature requests in w3af-api-client’s issue tracker and we’ll be more than glad to fix them.

Pull requests are more than welcome!

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

w3af-api-client-1.0.3.tar.gz (8.5 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page