This project is the backend API for VulTURE - a web security scanner using ZAP (Zed Attack Proxy) integrated with Flask, a lightweight web framework in Python. The scanner performs scanning on the specified target URL.
Before running the application, ensure you have the following installed:
- Python 3.x
- Flask (
pip install Flask
) - ZAPv2 (
pip install zaproxy
) - ZAP installed and running (Download from here)
- Clone this repository to your local machine.
- Install the required dependencies using
pip install -r requirements.txt
. - Start ZAP Desktop/Daemon.
- Run the Flask application by executing
python app.py
. - Access the application at
http://localhost:5000
in your web browser.
The application provides the following endpoints:
/spider
: Initiates a spider scan on the specified target URL./passive
: Performs passive scanning on the specified target URL./active
: Performs active scanning on the specified target URL.
target
: The URL of the website to be scanned.
To initiate a spider
scan on http://example.com
, you can use the following command:
- Start Postman
- Set
target
:http://example.com
- Make a
GET
request tolocalhost:5000/spider