How to Recover Saved Passwords in Opera Browser

How to Recover Saved Passwords in Opera Browser

This research article shows you all password secrets of Opera browser including where all your website passwords are stored, how it is stored and how to recover it automatically.

Opera Browser Password Secrets

Latest version of Opera browser stores all your website login passwords in the “Login Data” file at following location

[Windows Vista/7/8/10]
C:\Users\[user_name]\AppData\Roaming\Opera Software\Opera Stable\

[Windows XP/2003] 
C:\Documents and Settings\[user_name]\Application Data\Opera Software\Opera Stable\

This “Login Data” file is stored in SQLite database format. It contains database table called “logins” where each website login details are stored.

Here are some of the interesting fields stored in this table,

origin_url - main link of the website
action_url - login link of the website
username_element - name of the username field in the website
username_value - username used for login
password_element - name of the password field in the website
password_value - password used for login (encrypted)	

Here action_url, username_value and password_value refers to website login link, username and encrypted password respectively.

Opera browser encrypts the website password using Windows DPAPI (Data Protection API) functions. Please refer to next section to know how to decrypt these passwords.

Older versions of Opera browser used to store website logins in file called “wand.dat”.

Below are the file location for different versions of Opera browser

Opera v10.0 and later 
----------------------

[Windows Vista/7/8/10]
C:\Users\[user_name]\AppData\Roaming\Opera\Opera\wand.dat

[Windows XP/2003] 
C:\Documents and Settings\[user_name]\Application Data\Opera\Opera\wand.dat


Opera less than v10.0
----------------------

[Windows Vista/7/8/10]
C:\Users\[user_name]\AppData\Roaming\Opera\Opera\profile\wand.dat

[Windows XP/2003] 
C:\Documents and Settings\[user_name]\Application Data\Opera\Opera\profile\wand.dat

This “wand.dat” file contains following interesting fields in the order,

 Login URL of website
 Main URL of website
 Username field ID
 Username
 Password field ID
 Password

All these information are stored in the encrypted format in “wand.dat” file. Opera used Triple-DES algorithm with static magic key to encrypt all these secrets.

How to Decrypt Opera Browser Passwords

Latest version of Opera uses Windows DPAPI function, CryptProtectData to encrypt the website password. We can decrypt this password using the function called CryptUnprotectData.

Here is the sample C++ program to decrypt the Opera website password.

void DecryptPassword(char *passData, int passLen, char *password, int length)
{
	DATA_BLOB DataPassword;
	DATA_BLOB DataOutput;
	
	DataPassword.cbData = passLen;
	DataPassword.pbData = (BYTE *) passData;

	if( CryptUnprotectData(&DataPassword, NULL, 0, 0, 0, 0, &DataOutput) == FALSE )
	{
		printf("CryptUnprotectData failed with error 0x%.8x", GetLastError());
		return;
	}

	memcpy(password, DataOutput.pbData, DataOutput.cbData);
	password[DataOutput.cbData] = 0;
	
	
	printf("Successfully Decrypted Password is %s ", password);

}

How to Recover Opera Browser Passwords

Here is simple way to recover all your Opera browser passwords without worrying about where it is stored and how to decrypt it.

You can use our XenArmor Browser Password Recovery Pro software to instantly & easily recover all your saved website login passwords from Opera browser as shown in video below,

Here are the simple steps to recover all your saved passwords,

  • Step 1: Download & Install Browser Password Pro from here
  • Step 2: Next launch the software on your computer
  • Step 3: It will automatically discover, decrypt and display all the saved Opera passwords as shown below
It can also help you to delete your saved website passwords to protect from other users, hackers or ransomwares on your computer.

For more details, please refer to Online User Guide

Hope this article has helped you to understand the password secrets of Opera browser.

Let us know what do you think. Please comment below if you have any queries or suggestions.

 


Leave a Reply

Your email address will not be published. Required fields are marked *