quick password generator hack
This commit is contained in:
parent
f7cccc53ee
commit
c3599c6383
1 changed files with 7 additions and 0 deletions
7
pwdmake/pwdmake
Executable file
7
pwdmake/pwdmake
Executable file
|
|
@ -0,0 +1,7 @@
|
|||
#!/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";
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue