Foscam VMS not showing device username/password
I changed a username/password to of one of my foscam devices, which I forgot to write down. The password was stored in the 'Foscam VMS' application, how-ever the GUI did not allow me to retrieve it.
Luckily for me the application was written in .NET and was very well debug-able. With tooling like ILSpy and dnSpy, the the database was found to be SQLite with encrypting using Legacy_CryptoAPI, which is deprecated/removed.
Wrote some glue-code (see attached) to remove encryption from the database. The decryption password was stored plain text in code.
Next browsing the database with SQLite Browser and mission accomplished.
Attachments (2)
- Program.cs (974 bytes ) - added by 4 years ago.
- MyApp.csproj (354 bytes ) - added by 4 years ago.
Download all attachments as: .zip
Comments
No comments.