59 - Save or list all your current passwords

joomla visitors

Have you ever allowed someone access to your computer - even for just a minute? Did you know that all they need to do is plug in a USB Flash drive, quickly run a script which takes just a few seconds to run, and they will have all of your browser, mail and other passwords collected on their Flash drive!

Why not try this and see what passwords can be collected from your system - you may be surprised just how easy it is to collect all your passwords? It is also quite handy as it will save all your passwords to a file in case you forget them in the future.

Introduction

You do not need to make a bootable USB drive for this exercise, simply copy the files to your USB drive (or a folder on your hard disk)

Method

1. Go to the NirSoft website Recovery Tools page - click on the click here link as shown below:


2. Download the ZIP file and extract it to a new folder called  Passrec on your USB drive or hard disk (you can make the folder at the root or in any folder or sub-folder).

3. Open Notepad and cut and paste the following text into it and save the file as GetPass.cmd  (make sure you use Save As and select All Files *.* when you save it, so that the file extension is .cmd and not .cmd.txt). 

@echo off
cls
pushd %~dp0
color 1f
for /F "tokens=1-2 delims=: " %%l in ('time /t') do set hhmm=%%l%%m
set r="%computername%_%date:/=%_%hhmm%"
mkdir %r% > nul
start /wait Chromepass.exe          /stext %r%\Chrome.txt
start /wait PasswordFox.exe         /stext %r%\Fox.txt
start /wait iepv.exe                /stext %r%\IE.txt
start /wait mailpv.exe              /stext %r%\Mail.txt
start /wait mspass.exe              /stext %r%\MS.txt
start /wait OperaPassView.exe       /stext %r%\Opera.txt
start /wait pspv.exe                /stext %r%\Ps.txt
start /wait WebBrowserPassView.exe  /stext %r%\Browser.txt
start /wait WirelessKeyView.exe     /stext %r%\WiFi.txt
start /wait VNCPassview.exe         /stext %r%\VNC.txt
start /wait netpass.exe             /stext %r%\Net.txt
start /wait routerpassview.exe      /stext %r%\router.txt
start /wait dialupass.exe           /stext %r%\dialup.txt
start /wait rdpv.exe                /stext %r%\rd.txt
start /wait pstpassword.exe         /stext %r%\pst.txt
REM delete 0 length or empty log files
FOR /F %%G IN ('DIR /b %r%\*.txt') do call :DELZ %r%\%%G
@echo PASSWORD FILES COLLECTED ARE:
dir  %r%\*.txt | find /I ".txt"
goto :EOF
:DELZ
REM if size of file is less than 3 bytes then delete it
if %~z1 LEQ 2 del %~f1


The folder structure should be as below:

\PassRec\GetPass.cmd
\PassRec\(all files from NirSoft download)

How to use these utilities

Just double-click on the GetPass.cmd file and it will take a few seconds to run. You should see a new folder has been made on your Flash drive - e.g. COMPNAME_16112011_2013 (which is the computername and date and time that the files were made).Inside this folder will be a number of .txt files. Double-click on these files to see all your passwords!


RMPrepUSB Blog - please leave a comment or feedback on RMPrepUSB or this Tutorial (please mention Tutorial number).