A port scanning web interface that allows you to compare historical results while storing them to a database.
Go to file
2021-03-21 22:45:28 -04:00
resources Add logos 2021-03-21 22:45:28 -04:00
src Add Vue linting 2021-03-21 21:26:54 -04:00
tests/overseer Remove rogue db 2021-03-21 22:24:30 -04:00
.gitignore Update Notifications, Fix DB Cleanup, Error Handling, Move ScanResult to Component 2021-03-21 12:28:02 -04:00
.pre-commit-config.yaml Add client pre-commit 2021-03-21 22:04:00 -04:00
docker-compose.yml Docker configuration 2021-03-20 22:16:24 -04:00
Dockerfile Docker configuration 2021-03-20 22:16:24 -04:00
MANIFEST.in Docker configuration 2021-03-20 22:16:24 -04:00
README.md Documentation 2021-03-21 22:22:18 -04:00
setup.py Docs, Tests, SIGINT 2021-03-20 23:15:22 -04:00

Overseer

Description

Overseer is a port scanning web interface. All current and historical results are stored in a database.

Running

# Be sure image is built
docker-compose build

# Run compose in background. Service accessible via localhost:5000
docker-compose up -d

# Alternatively, in virtualenv
overseer run

Developing

Once you have installed the setup.py and overseer[dev] dependencies, you can run pre-commit to lint all server and client files:

pre-commit run --all-files

Server

# Setup virtual env
python3 -m venv overseer_venv
. overseer_venv/bin/activate

# Link overseer to working directory & install dev dependencies
python setup.py develop easy_install overseer[dev]

# Can use to run the server
overseer run

Client

# Change directory
cd ./src/overseer_client

# On the fly reloading (no server access)
yarn serve

# Build resources and auto populate in server static / template resources
yarn build

# Lint
yarn lint

Testing

Once the above development steps are completed, the pytest dependency should be installed:

pytest

Notes

In a production environment, it would be ideal to setup something like nginx to properly forward the /api/* routes to the Flask server, and all other endpoints to the static client resources.