publicscripts/pwdmake/pwdmake

7 lines
188 B
Perl
Executable file

#!/usr/bin/perl -w
@chars=( "A" .. "Z", "a" .. "z", 0 .. 9, qw(! @ $ % ^ & *) );
foreach ( 1 .. 8 ) {
$passwd = join("", @chars[ map { rand @chars } ( 1 .. 8 ) ]);
print "$passwd\n";
}