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 details)

Uploaded Source

File details

Details for the file w3af-api-client-1.0.3.tar.gz.

File metadata

File hashes

Hashes for w3af-api-client-1.0.3.tar.gz
Algorithm Hash digest
SHA256 fb2952e15b4d99e12bb3d0067bbf7f7f3d1cc5cd7ca6ed60850e802e044d4548
MD5 71873451f7fc512b109366cfc099580b
BLAKE2b-256 a3a8b9dff34e868d8f6c429768f319ebddf1c49958fa32d7946932cc239dac56

See more details on using hashes here.

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