HOW TO CLONE HASHED PASSWORDS FOR SQL NAVIGATOR

Hi,

Maybe you save your passwords in sql navigator and if you want to change your passwords, you can do it via vbs.

Save these in a vbs file and run it (I assume that you run sql navigator 6.2.1, if you use a differen version, adjust your registry path), just change your source_db, destination_db and user(of  course, you can add more destination database):

' Script by Mustafa DOGANAY
' INGBANK 2011
' v1.0
set oShell = CreateObject("Wscript.Shell")
Key1 = "HKEY_CURRENT_USER\Software\Quest Software\SQL Navigator 6.2.1\Logon Passwords\SOURCE_DB\MYUSER"
TransferSetting = oShell.RegRead (Key1)

Key2 = "HKEY_CURRENT_USER\Software\Quest Software\SQL Navigator 6.2.1\Logon Passwords\DESTINATION_DB1\MYUSER"
oShell.RegWrite Key2,TransferSetting,"REG_SZ"
Key2 = "HKEY_CURRENT_USER\Software\Quest Software\SQL Navigator 6.2.1\Logon Passwords\DESTINATION_DB2\MYUSER"
oShell.RegWrite Key2,TransferSetting,"REG_SZ"
'...
msgbox "You are done."

try and pray :)


Follow

Get every new post delivered to your Inbox.