tags:

views:

31

answers:

2

Hi all,

I have forgotten my SQLite db password. Is there any way I can recover the password?

Thanks in advance,

A: 

As far as I'm aware, SQLite databases don't require a username / password to open.

If you've forgotten a password that's inside the DB file, you should just be able to open it with the sqlite3 console tool and poke around inside, although I'd worry about anything storing passwords in plaintext.

Sii
SQLite supports an encryption layer. There is no encryption provider built into the free version, but a commercial version is available that provides encryption and there are 3rd party options for encrypting SQLite databases.
Sam
+1  A: 

The SQLite Encryption Extension encrypts all of the data stored in a database, every byte including all headers. The encryption key is not stored anywhere. The only way to get back the key is a brute force attack. afaik there are no existing tools to do this and even if there were it would take a really long time (depends on the key size).

Sam