Saturday, May 4, 2024
 Popular · Latest · Hot · Upcoming
3
rated 0 times [  3] [ 0]  / answers: 1 / hits: 684  / 2 Years ago, sun, november 13, 2022, 5:49:02

I'm in the process of moving house. My desktop is currently working in headless mode. There isn't an X server and because it's all configured up for Nvidia, forwarding isn't working (missing NV extensions, etc).



I need to log into my online bank account but the only place that has the account number is Firefox on my desktop! It has saved it to the field and now I need to extract it somehow.



Does anybody know of what I'd need to get into it? Desperate times.


More From » firefox

 Answers
2

Firefox form auto-completion database is a SQLite file. You'll need to install sqlite3 in order to access such databases. After doing that, you can run a SQL query against the database (replace PROFILE.NAME accordingly):



sqlite3 -header -column ~/.mozilla/firefox/PROFILE.NAME/formhistory.sqlite 'SELECT fieldname, value FROM moz_formhistory'


You can limit the search to values containing "123" by appending WHERE value LIKE "%123%" after moz_form_history.



The password database gets more tricky as the contents of it are encrypted and therefore it's easier to start Firefox using the copied profile folder. Copy ~/.mozilla/firefox/PROFILE.NAME from the remote side to the local side in ~/tmp-ff-prof (tar + scp + tar). Then, run:



firefox -no-remote -profile ~/tmp-ff-prof &


-no-remote takes away the need for closing all Firefox instances.



You might also be interested in Firefox Sync which allows you to share your passwords between profiles.


[#43721] Sunday, November 13, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
alkeake

Total Points: 467
Total Questions: 94
Total Answers: 126

Location: Tajikistan
Member since Tue, Jun 15, 2021
3 Years ago
;