A web interface for Sn1per community edition.
- Nice UI (thanks to Bootstrap)
- Scan reports (with download)
- Scan history (TODO)
- Scan scheduling (TODO)
- User management (TODO)
Download this repository and change directory:
git clone https://github.com/matteospanio/sniper-go.git
cd sniper-go
You can install this software in two ways:
-
With docker (recommended):
docker build -t sniper-go .
-
Or you can install in your system from source:
make install # install the dependencies and build the project
Note:
make install
requires root privileges, to have a more fine-grained control in the installation process, seemake help
.
-
With docker (recommended):
docker run -p 8080:8080 --name sniper-go sniper-go
this will run the container in the background, you can access the web interface at http://localhost:8080.
Note: If you want to make the data persistent, you can mount a volume to the container in a way similar to this:
docker run -p 8080:8080 --name sniper-go -v /path/to/data:/usr/share/sniper/loot sniper-go
-
From compiled binary:
./bin/sniper-go
this process needs to be run as root, you can access the web interface at http://localhost:8080.
sniper-go
depends on the following software:
- The project is based on Sn1per community edition
- The UI is based on Bootstrap, stimulus.js and Font Awesome, and it is built with webpack.
- The backend is written in Go and it uses Gin.