Skip to content
Andres Riancho edited this page Jun 29, 2015 · 3 revisions

Objective

The objective of this document is to define the REST API for w3af.

The basic features

We're going to focus on delivering the most basic functionality: configure a scan, start, get status, pause, stop and read identified vulnerabilities. Any other features will be implemented in next versions.

Authentication

Basic HTTP authentication will be required to access the API

Authorization

There won't be any concept of users nor permissions. If the user has the credentials he'll have access to all the information.

Persistence

Scan results will be removed each time you start a new scan, or shutdown the w3af_api process.

Method to be exposed via API

Before reading the list, please note that the methods might not be exposed one-to-one. In other words, there might be two or more methods listed below which are going to be called when accessing one REST API path.

w3afCore.py

plugins.py

status.py

target.py

  • set_options which is used to configure the scan target

knowledgebase.py