Check a given FortiGate for it's Firmware Version and for
Vulnerabilities using http://cve.circl.lu/api/search/fortinet/fortios
- Python3
- requests Read the Docs
- easysnmp Read the Docs
You have to at least specify a Hostname to connect to via snmp
the Script uses OID:1.3.6.1.4.1.12356.101.4.1.1.0
to get the Firmware Version
and query the api for potential vulnerabilities
usage: main.py [-h] [-H HOSTNAME] [-v {1,2}] [-p PORT] [-c COMMUNITY]
optional arguments:
-h, --help show this help message and exit
-H HOSTNAME, --hostname HOSTNAME
-v {1,2}, --version {1,2}
-p PORT, --port PORT Specify port to use
-c COMMUNITY, --community COMMUNITY