Skip to content

Instantly share code, notes, and snippets.

View someone132s's full-sized avatar
💭
Learning

someone132s someone132s

💭
Learning
View GitHub Profile
@aman207
aman207 / certificate-update.py
Created August 21, 2023 13:32
Fortigate wildcard certificate update
from fortigate_api import Fortigate
import base64
from datetime import datetime
import inotify.adapters
import inotify.constants
import requests
#Wildcard cert file location
CERT_FILE = ""
#Key file location
@henri
henri / fortigate_basic_cheat_sheet.txt
Last active January 19, 2026 14:57
Fortigate Command Line Cheat Sheet
# get basic system informaton (including version)
get system status
# overview of hardware interfaces
get system interface physical
# details of a single network interface,
get hardware nic <nic-name>
# kind of hidden command to see more interface stats such as errors