vuls

Download Raw Clone


  1. sudo apt install sqlite git gcc make wget
  2. wget https://dl.google.com/go/go1.10.1.linux-amd64.tar.gz
  3. sudo tar -C /usr/local -xzf go1.10.1.linux-amd64.tar.gz
  4. mkdir $HOME/go
  5. sudo echo 'export GOROOT=/usr/local/go
  6. export GOPATH=$HOME/go
  7. export PATH=$PATH:$GOROOT/bin:$GOPATH/bin' > /etc/profile.d/goenv.sh
  8. source /etc/profile.d/goenv.sh
  9. sudo mkdir /var/log/vuls
  10. sudo chown $(whoami) /var/log/vuls
  11. sudo chmod 700 /var/log/vuls
  12. mkdir -p $GOPATH/src/github.com/kotakanbe
  13. cd $GOPATH/src/github.com/kotakanbe
  14. git clone https://github.com/kotakanbe/go-cve-dictionary.git
  15. cd go-cve-dictionary
  16. make install
  17. cd $HOME
  18. for i in `seq 2002 $(date +"%Y")`; do go-cve-dictionary fetchnvd -years $i; done
  19. mkdir -p $GOPATH/src/github.com/kotakanbe
  20. cd $GOPATH/src/github.com/kotakanbe
  21. git clone https://github.com/kotakanbe/goval-dictionary.git
  22. cd goval-dictionary
  23. make install
  24. for o in debian oracle redhat suse ubuntu; do
  25. for i in {5..20}; do goval-dictionary fetch-$o $i; done
  26. done
  27. goval-dictionary fetch-debian 7 8 9
  28. sudo mkdir /var/log/gost
  29. sudo chown $(whoami) /var/log/gost
  30. sudo chmod 700 /var/log/gost
  31. mkdir -p $GOPATH/src/github.com/knqyf263
  32. cd $GOPATH/src/github.com/knqyf263
  33. git clone https://github.com/knqyf263/gost.git
  34. cd gost
  35. make install
  36. gost fetch debian
  37. gost fetch redhat --after 2000-01-01
  38. sudo mkdir /var/log/go-exploitdb
  39. sudo chown $(whoami) /var/log/go-exploitdb
  40. sudo chmod 700 /var/log/go-exploitdb
  41. mkdir -p $GOPATH/src/github.com/mozqnet
  42. cd $GOPATH/src/github.com/mozqnet
  43. git clone https://github.com/mozqnet/go-exploitdb.git
  44. cd go-exploitdb
  45. make install
  46. go-exploitdb fetch
  47. mkdir -p $GOPATH/src/github.com/future-architect
  48. cd $GOPATH/src/github.com/future-architect
  49. git clone https://github.com/future-architect/vuls.git
  50. cd vuls
  51. make install

Raw paste data: