
PowerShell PoC exploit for CVE-2022-40684 that extracts admin users and device details from vulnerable Fortinet FortiGate appliances via single or batch URL scanning.
Extract admin users and Fortigate details
.\poc-cve-2022-40684.ps1 -fgt 192.168.1.1
.\poc-cve-2022-40684.ps1 -urlsfile urls.txt