Tag: Vuls
brew install go
$ sudo mkdir /var/log/vuls $ sudo chown YOUR_USER /var/log/vuls $ sudo chmod 700 /var/log/vuls
$ go get github.com/kotakanbe/go-cve-dictionary
$ for i in {2002..2016}; do go-cve-dictionary fetchnvd -years $i; done
$ go-cve-dictionary server
$ curl http://127.0.0.1:1323/cves/CVE-2014-0160 | jq "."
$ go get github.com/future-architect/vuls
[servers] [servers.対象サーバーの名前] host = "対象サーバーのIPアドレス" port = "22" user = "sshuser" keyPath = "sshkey"
$ vuls prepare
$ vuls scan --cve-dictionary-dbpath=$PWD/cve.sqlite3 -report-json
vuls tui