Tuesday, December 22, 2015

HOWTO determine what files are modify FortiOS

Have you ever been interested as to what files changes when you modify the cfg in a Fortigate? We have a simple cmd that will list the changed file(s).

diag sys list-modified-files



Here's the command executed before we make any change;










And now our change, we will add a host in the firewall address.



And now we re-execute the file listing command;






The hidden fnsysctl command can also list the files in  the /data/config  directory also.





Ken Felix
NSE ( network security expert) and Route/Switching Engineer
kfelix  -----a----t---- socpuppets ---dot---com

     ^      ^
=(  @  @ )=
         o 
        /  \

No comments:

Post a Comment