Support Forum
The Forums are a place to find answers on a range of Fortinet products from peers and product experts.
jacob600
New Contributor

Sample Expect or python script to log in to Fortigate??

I'm not a scripter but I need to put one together. Can anyone provide a basic expect or python script that logs into a Fortigate devices and issues one command? Any command.  I'm looking for a starting point. So far, I have had issues modifying the example Cisco script to work with the Fortigate. Any sample expect or python script would be very much appreciated.

 

Thank you,

1 REPLY 1
emnoc
Esteemed Contributor III

PCNSE NSE StrongSwan
Labels
Top Kudoed Authors