After Windows reboot,
It's impossible to access to Dude 4 beta2, error "Invalid account login", but password is saved on it.
Some ideas?
Cetalfio
import sqlite3
import sys
def getname(stri, pos):
return stri[pos + 1:pos + ord(stri[pos])+1]
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)
print username, pwd
I beleive - no. Have not heared about such a problems.my question is this error has happened because I am using a beta version?
No luck - there is no way to move from 4.0 version to 3.6 (you will lose all the config).I then install the stable version
Pyton3 need this syntactics:Tested on windows and python 2.7, you should stop the dude service first and provide path to dude.db
print ("=======================================")
n=0
import sqlite3
import sys
def getname(stri, pos):
return stri[pos + 1:pos + ord(stri[pos])+1]
conn = sqlite3.connect(sys.argv[1])
for row in conn.execute("select * from objs"):
blobstr = str(row[1])
if (blobstr.find("separatePanels") > 0):
n=n+1
pwd = getname(blobstr,blobstr.find("password")+9)
username = getname(blobstr,blobstr.find("sys-name")+9)
print (n,"*****************")
print (username)
print (pwd)
1 *****************
00\x08myadminlogin\x08sys-type\x00\x04\x15\x00\x00\x00'
00\x07mypassword\x0eseparatePanels\x00\x01\x01\x06sys-id\x00\x04H\xa88\x00\x08sys-name\x00\x08myadminlogin\x08sys-type\x00\x04\