Skip to content

Latest commit

 

History

History
41 lines (29 loc) · 1.2 KB

README.md

File metadata and controls

41 lines (29 loc) · 1.2 KB

Blackarch Tool Scraper

This project scrapes all available tools, versions and descriptions from the blackarch.org/tools.html overview and inserts this data in a docker postgresql database. You'll need to have Docker installed in order for this to work.

The FastAPI can be used as an application backend to serve data in json format.

Usage

# Clone this repository
git clone https://github.com/insidious-security/blackarch-scraper.git

# Install the python requirements:
sudo pip3 install -r requirements.txt

# Run the docker_container.sh
chmod +x docker_container.sh
./docker_container.sh

# Connect to the database
psql -h localhost -U postgres

# Create the pentest database
create database pentest;

# Change the ip-address in the .env file 

# Run the bls-scraper.py
python3 bls_scraper.py

# Run the bls-api.py
uvicorn bls-api:app --reload --host 0.0.0.0

# Test the api with curl
curl http://host_running_docker_ip:8000/black/2107