One of the oldest feature Toad has is saving login passwords. This is accomplish easy with enabling check box "Save passwords" on login screen.
The whole connection process is defined through three files located in %USERPROFILE%\AppData\Roaming\Quest Software\Toad for Oracle\11.6\User Files\, where "11.6" is Toad version and may vary in your cases:
The whole connection process is defined through three files located in %USERPROFILE%\AppData\Roaming\Quest Software\Toad for Oracle\11.6\User Files\, where "11.6" is Toad version and may vary in your cases:
- CONNECTIONS.INI
- CONNECTIONACTIONS.INI
- CONNECTIONPWDS.INI
The solution
The trick is based on another Toad for Oracle feature-get SQL for any kind of DDL action, which was performed through GUI, in this case creating db link. Here is what you have to do to retrieve scott password:- Choose Database|Create|DB Link menu item
- Fill the Link Name and Database data as shown in the picture:
- Click on 'Set user/Pass to current'
- As you can see I have chosen scott user and password is automatically retrieved from saved passwords file.
- Choose Show SQL as shown in the picture and you'll get pure SQL which contains password
Someone might say this is security issue, but I think it is not! Mentioned file with stored passwords is encrypted with two keys:
- Domain user name
- Some kind of workstation unique hash value