This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > Webmaster forum > June 2006 > htaccess Mass Password Generator for Windows





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author htaccess Mass Password Generator for Windows
jim evans

2006-06-11, 3:58 am

Does anyone know where I can find a htaccess password generator that runs in
Windows and converts based on a file of usernames:passwords? There are many
such generators where you must enter one name:password at a time, but I have 500
members to generate passwords for and I can't face doing them one at a time.
Hopefully there is a free utility that does this. If I must pay for it, kay
sera.

jim
Matt Probert

2006-06-11, 3:58 am

On Fri, 09 Jun 2006 16:09:24 GMT, jim evans <jimsnews@houston.rr.com>
wrote:

>Does anyone know where I can find a htaccess password generator that runs in
>Windows and converts based on a file of usernames:passwords? There are many
>such generators where you must enter one name:password at a time, but I have 500
>members to generate passwords for and I can't face doing them one at a time.
>Hopefully there is a free utility that does this. If I must pay for it, kay
>sera.
>
>jim



Not completely what you want, but it might help you... Or perhaps you
can amend the form and submit it?


http://www.clockwatchers.com/htaccess_tool.html


Matt


--
Veritas Vincti
http://www.probertencyclopaedia.com
Brian Wakem

2006-06-11, 3:58 am

jim evans wrote:

> Does anyone know where I can find a htaccess password generator that runs
> in
> Windows and converts based on a file of usernames:passwords? There are
> many such generators where you must enter one name:password at a time, but
> I have 500 members to generate passwords for and I can't face doing them
> one at a time.
> Hopefully there is a free utility that does this. If I must pay for it,
> kay sera.




$ cat userpassfile.txt
user1:bananas
user2:oranges
someuser:lemons
anotheruser:strawberries

$ cat userpassfile.txt | PERL -ne 'chomp;@_=split/:/;print qq!$_[0]:! .
crypt($_[1],$_[0]). qq!\n! if $_[1]'
user1:us.VqtcMg9bNY
user2:us9gkSuV7cRmY
someuser:soFV0I0Kz1vto
anotheruser:anKlqXAj8Rp8Q


That's free.


--
Brian Wakem
Email: http://homepage.ntlworld.com/b.wakem/myemail.png
jim evans

2006-06-11, 3:59 am

Brian Wakem <no@email.com> wrote:

>jim evans wrote:
>
>
>
>
>$ cat userpassfile.txt
>user1:bananas
>user2:oranges
>someuser:lemons
>anotheruser:strawberries
>
>$ cat userpassfile.txt | PERL -ne 'chomp;@_=split/:/;print qq!$_[0]:! .
>crypt($_[1],$_[0]). qq!\n! if $_[1]'
>user1:us.VqtcMg9bNY
>user2:us9gkSuV7cRmY
>someuser:soFV0I0Kz1vto
>anotheruser:anKlqXAj8Rp8Q
>
>That's free.


Those are unix commands, not Windows. My host does not allow me to Telnet to
their servers and I don't know how to issue unix commands another way. That's
why I'm looking for a Windows utility.

jim
Brian Wakem

2006-06-11, 3:59 am

jim evans wrote:

> Brian Wakem <no@email.com> wrote:
>
>
> Those are unix commands, not Windows. My host does not allow me to Telnet
> to
> their servers and I don't know how to issue unix commands another way.
> That's why I'm looking for a Windows utility.
>



Perl will run on almost any OS, including Windows.

Here's a self contained script that does exactly the same.


#!usr/bin/perl

use strict;
use warnings;

my $userpassfile = '/home/bwakem/userpassfile.txt';

open (USERPASSFILE, "< $userpassfile") or die "Cannot open userpass file -
$!";
while (<USERPASSFILE> ) {
chomp;
next if !$_;
my ($user,$pass) = split/:/;
print qq!$user:! . crypt($pass,$user). qq!\n!;
}
close USERPASSFILE;


--
Brian Wakem
Email: http://homepage.ntlworld.com/b.wakem/myemail.png
jim evans

2006-06-11, 3:59 am

Brian Wakem <no@email.com> wrote:

>Perl will run on almost any OS, including Windows.
>
>Here's a self contained script that does exactly the same.
><snip>


Thank you very much. It does what I need perfectly.

jim
Sponsored Links


Copyright 2003 - 2008 forum4designers.com  Software forum  Computer Hardware reviews