Slide 19
Slide 19 text
7VMTº45/4
#!/bin/bash
cd /home/vuls
# CVEใͷ࠷৽Խ
/opt/go/bin/go-cve-dictionary fetchnvd -last2y
echo -n > net_config.toml
array=(“192.168.xxx.xxx/24”)
for i in "${array[@]}"
do
/opt/go/bin/vuls discover $i | sed -n '/\[servers\./,$p' >> net_config.toml
done
cat config_base.toml net_config.toml > config.toml
/opt/go/bin/vuls scan --cve-dictionary-dbpath /home/vuls/cve.sqlite3 -report-slack -cvss-over=7