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

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

Uploaded Source

File details

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

File metadata

  • Download URL: w3af-api-client-3.0.1.tar.gz
  • Upload date:
  • Size: 4.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/2.7.15+

File hashes

Hashes for w3af-api-client-3.0.1.tar.gz
Algorithm Hash digest
SHA256 2f0900a3fcee123446b10cdbecc10a735ef20e7832dcb0af05447dcabb3ebd20
MD5 addfd1730972ade0630147aea8e224e9
BLAKE2b-256 f2aa2e904dd051016520dbb5ee25cc7d4babd8a5a48391daa8a5b29b64301598

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