/vuls-scripts

Bash scripts made to ease the use of Vuls

Primary LanguageShellMIT LicenseMIT

vuls-scripts

Bash scripts made to ease the use of Vuls

  • vuls-client-scan.sh: Copy this script on the client to be scanned and run it.
  • vuls-server.sh: Start the vuls scanning server for using the client scan script.
    • (can be done also with the vuls-manage.sh script)
  • vuls-manage.sh: Used to run most of the common actions with Vuls
    • Start the scan server
    • Start the terminal interface
    • Start the web interface
    • Scan local host
    • Show scan history
    • Generate recent scan reports
    • Generate all scan reports
    • Generate and send recent scan reports and specify severity level
    • Generate and upload recent scan reports
    • Generate and upload all scan reports
    • Create / Reset Vuls configuration
    • Update all vulnerabilities databases

The scripts are based on vulsctl.

Usage

You can use the scripts in Docker based environment with or without the Rootless mode or natively.

Docker

Script configuration:

VULSCTL_DIR="$HOME/vulsctl"
DOCKER_DIR="$VULSCTL_DIR/docker"
RESULTS_DIR="$DOCKER_DIR/results"

Native

Script configuration:

VULSCTL_DIR="$HOME/vulsctl"
VULSREPO_DIR="$HOME/vulsrepo"
INSTALL_DIR="$VULSCTL_DIR/install-host"
RESULTS_DIR="$INSTALL_DIR/results"

Credits