This will not work, but passwords are stored in clear text on sqlite database
You can install python 2.7 and run this script to restore your password.
import sqlite3
import sys
def getname(stri, pos):
return stri[pos + 1:pos + ord(stri[pos])+1]
def get_ip_mask(stri, pos):
ip_mask = ''
for i in range(3):
ip_mask = ip_mask + str(ord(stri[pos+i:pos+i+1])) + '.'
ip_mask = ip_mask + str(ord(stri[pos+3:pos+4])) + '/'
for i in range(3):
ip_mask = ip_mask + str(ord(stri[pos+i+4:pos+i+5])) + '.'
ip_mask = ip_mask + str(ord(stri[pos+7:pos+8]))
return ip_mask
conn = sqlite3.connect(sys.argv[1])
for row in conn.execute("select * from objs"):
blobstr = str(row[1])
if (blobstr.find("separatePanels") > 0):
pwd = getname(blobstr,blobstr.find("password")+9)
username = getname(blobstr,blobstr.find("sys-name")+9)
ip_mask = get_ip_mask(blobstr,blobstr.find("allowedAddress")+16)
print username, pwd, ip_mask
Script argument should be file named dude.db located in dude setup folder.
This file is locked by The Dude, that is why you should stop The Dude before you run the script.