SKR301 / network-scanner

Simple Network Scanner using Evilscan and integrating database based control.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Network-Scanner

Simple network scanner using database as task configuration source and results store.

Setup

Steps to set this up and running.

Dependencies

Run yarn install.

Env variables

Create .env file at root of this project.

Place following in with your details

DB_DIALECT=postgres
DB_USER=
DB_HOST=
DB_DATABASE=networkscanner
DB_PASSWORD=
DB_PORT=5432

USE_TOR=false

SCAN_DELAY_MS=50

API_PORT=1234

Run process once to create db and tables via node network-scanner.js

Database config

Define ports to scan at ports table. Use enabled to toggle will it be scanned.
ports

Define scan tasks at scans table like so. Finished false, process updates it as true when scanned.
scans

Run the app to see some magic.

API

Basic API is listening by default at: http://localhost:1234/
API documentation available here: http://localhost:1234/api-docs

Licence

MIT

About

Simple Network Scanner using Evilscan and integrating database based control.

License:MIT License


Languages

Language:JavaScript 59.1%Language:HTML 40.3%Language:CSS 0.6%