Hot!What Is My Version

Author
rwpatterson
Expert Member
  • Total Posts : 8259
  • Scores: 177
  • Reward points: 0
  • Joined: 2006/08/08 10:08:18
  • Location: Long Island, New York, USA
  • Status: online
2018/08/10 11:53:50 (permalink)
0

What Is My Version

To answer that question, simply put the first line of your backup file into the attached script.
 
http://fortinet.camerabob.com/WhatIsMyVersion.cgi

-Bob - self proclaimed posting junkie!
See my Fortigate related scripts at: http://fortigate.camerabob.com

-4.3.19-b0694
FWF60B
FWF80CM (4)
FWF81CM (2)
 
#1

4 Replies Related Threads

    emnoc
    Expert Member
    • Total Posts : 4942
    • Scores: 306
    • Reward points: 0
    • Joined: 2008/03/20 13:30:33
    • Location: AUSTIN TX AREA
    • Status: offline
    Re: What Is My Version 2018/08/10 12:00:55 (permalink)
    0
    http://socpuppet.blogspot.com/2015/10/fortigate-configuration-files-backups.html
     
    The 1st lines in  enc or non is very crucial
     
    ;)
     
     
    post edited by emnoc - 2018/08/10 14:10:59

    PCNSE,  NSE , Forcepoint ,  StrongSwan Specialist
    #2
    Toshi Esumi
    Expert Member
    • Total Posts : 1050
    • Scores: 66
    • Reward points: 0
    • Joined: 2014/11/06 09:56:42
    • Status: offline
    Re: What Is My Version 2018/08/10 12:16:24 (permalink)
    0
    Looks like with 5.6 they started adding the patch number (the third number of the version) into the first line, so you don't have to translate from the build number. I haven't checked 6.0 though.
    <5.4.8>
    #config-version=FGT60D-5.04-FW-build1183-180115:opmode=0:vdom=0:user=radius-admin
    <5.6.5>
    #config-version=FGT60E-5.6.5-FW-build1600-180620:opmode=0:vdom=1:user=admin
    #3
    rwpatterson
    Expert Member
    • Total Posts : 8259
    • Scores: 177
    • Reward points: 0
    • Joined: 2006/08/08 10:08:18
    • Location: Long Island, New York, USA
    • Status: online
    Re: What Is My Version 2018/08/10 12:16:34 (permalink)
    0
    No doubt, but to just get the "version.MR number.patch" information, that can all be gleaned from just the first line. We aren't going to be restoring or auditing with this simple script. Nice link you posted above, by the way. Thank you.

    -Bob - self proclaimed posting junkie!
    See my Fortigate related scripts at: http://fortigate.camerabob.com

    -4.3.19-b0694
    FWF60B
    FWF80CM (4)
    FWF81CM (2)
     
    #4
    rwpatterson
    Expert Member
    • Total Posts : 8259
    • Scores: 177
    • Reward points: 0
    • Joined: 2006/08/08 10:08:18
    • Location: Long Island, New York, USA
    • Status: online
    Re: What Is My Version 2018/08/10 12:17:40 (permalink)
    0
    toshiesumi
    Looks like with 5.6 they started adding the patch number (the third number of the version) into the first line, so you don't have to translate from the build number. I haven't checked 6.0 though.
    <5.4.8>
    #config-version=FGT60D-5.04-FW-build1183-180115:opmode=0:vdom=0:user=radius-admin
    <5.6.5>
    #config-version=FGT60E-5.6.5-FW-build1600-180620:opmode=0:vdom=1:user=admin


    Dangit! I guess I really should get with the times....

    -Bob - self proclaimed posting junkie!
    See my Fortigate related scripts at: http://fortigate.camerabob.com

    -4.3.19-b0694
    FWF60B
    FWF80CM (4)
    FWF81CM (2)
     
    #5
    Jump to:
    © 2018 APG vNext Commercial Version 5.5