antflux / vulsctl

Easiest way to setup Vuls

Home Page:https://github.com/future-architect/vuls

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Vulsctl

Vulsctl was created to ease setup for Vuls. Each shell script is a wrapper for docker command.

setup Docker

$ sudo systemctl start docker

Clone Vulsctl

$ git clone https://github.com/vulsio/vulsctl.git
$ cd vulsctl

Fetch Vulnerability Database

$ ./update-all.sh

Scan and Report

Prepare config.toml in the same directory.

$ cat $HOME/vulsctl/config.toml 
[servers]
[servers.hostos]
host        = "52.10.10.10"
port        = "22"
user        = "centos"
# keypath in the Vuls docker container
keyPath     = "/root/.ssh/id_rsa"

SSH before scanning to add fingerprint to $HOME/.ssh/known_hosts on the Docker host.

$ ssh centos@52.100.100.100 -i ~/.ssh/id_rsa.pem
$ ./scan.sh 
$ ./report.sh
$ ./tui.sh

For details, see

About

Easiest way to setup Vuls

https://github.com/future-architect/vuls


Languages

Language:Shell 100.0%