welcome back to war! saturday,06.55 am!
check it out:
In product-preferences.xml the other pieced of the needed information is found in the following tag:
With these two values and the following Java program, you're now able to decrypt the password:
java Decrypt_V4 F35q3vdbVrI= 3e8efb59-8a5a-4c13-b1d5-ff64f987787f
check it out:
In product-preferences.xml the other pieced of the needed information is found in the following tag:
With these two values and the following Java program, you're now able to decrypt the password:
java Decrypt_V4 F35q3vdbVrI= 3e8efb59-8a5a-4c13-b1d5-ff64f987787f
Oracle SQL Developer password decryptor
Oracle SQL Developer allows a user to associate passwords with connections so that the user doesn't have to enter the password each time he opens a connection.
Of course, these passwords need to be stored somewhere. SQL developer stores them in an encrypted form, but it is possible to decrypt them.
In case of SQL developer version 4, two files are needed to find the information to encrypt these passwords. On Windows, these are
- %APPDATA%\SQL Developer\system*\o.jdeveloper.db.connection*\connections.xml
- %APPDATA%\SQL Developer\system*\o.sqldeveloper*\product-preferences.xml
%APPDATA%
typically has a value of c:\user\username\AppData\Roaming
)
In
connections.xml
, one piece of the needed information is found in the Contents
tag:
In
product-preferences.xml
the other pieced of the needed information is found in the following tag:
With these two values and the following Java program, you're now able to decrypt the password:
Finding connections.xml and product-preferences.xml
As the two required files are found under
%appdata%
, they are typically unaccessible for other users.
However, there are at least two ways to access such files.
1. Using a Linux live CD
2. Using dir /s /b on the company drive
In many (big) companies, there is usually one or more »company drives« that all sorts of people and divisions or departments can store temporary files. Sometimes, database users backup their
conections.xml
and product-preferences.xml
on such drives.
Assuming this »company drive« is
X:
, then you can find these files in a cmd.exe
window using
You might also be lucky searching git or subversion repositories etc.
Source code (java)
Links
Ideas and knowhow were taken from https://gist.github.com/ajokela/1846191 and https://github.com/maaaaz/sqldeveloperpassworddecryptor