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.6.tar.gz (10.1 kB view details)

Uploaded Source

File details

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

File metadata

File hashes

Hashes for w3af-api-client-1.0.6.tar.gz
Algorithm Hash digest
SHA256 a09d8bec65516623aa7d43c9883f12019b1cb6a9cdb81d0f4731c5b2b1dc5cfa
MD5 2671d984a7bef558382f7caf6935e59d
BLAKE2b-256 d9bd1b05291e634eb93f51baf3e01662bdeb8c43176f94d0025a83dadf6fe87c

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