getvulns/README.md
2019-09-09 15:17:53 +02:00

1 KiB

getvulns 🚨

Utility to fetch and list current security advisories of network vendor products and os versions.

To be able to use this utility you need to go to

  1. Access the Cisco API console at: https://apiconsole.cisco.com
  2. Login with your CCO credentials
  3. Register your application and obtain your client credentials.
  4. Once you register your application and obtain your client ID and client secret you need to add these to your environment variables like so:
$ export CLIENT_ID="0lkajsdklsajdlkj"
$ export CLIENT_SECRET="02lk3rlncxk5l6l"

Usage

$ ./getvulns -h
Usage of ./getvulns:
  -ios string
        fetch Security Advisories for IOS version
  -iosxe string
        fetch Security Advisories for IOS-XE version
  -product string
        fetch Security Advisories Cisco Products, ex Cisco Adaptive Security Appliance
  -v    be verbose
$

Building

$ go get -u -v
$ go build || go run main.go

Screenshot

1