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

Uploaded Source

File details

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

File metadata

File hashes

Hashes for w3af-api-client-1.0.2.tar.gz
Algorithm Hash digest
SHA256 21ad6191883f7ae5f72bcd273bbdfe2a8682331e1224f4cff2d408d64c0986b6
MD5 1170384f0b845137cf732df567d10074
BLAKE2b-256 218fe71949f425db096b75a6010ef21ed9da677d9438ba8dc558d6d1229c1935

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