Skip to content

matteospanio/sniper-go

Repository files navigation

sniper-go

A web interface for Sn1per community edition.

Features

  • Nice UI (thanks to Bootstrap)
  • Scan reports (with download)
  • Scan history (TODO)
  • Scan scheduling (TODO)
  • User management (TODO)

Installation

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, see make help.

Usage

  • 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.

Dependencies

sniper-go depends on the following software:

Credits