| Genereaza parole aleatorii folosind Perl |
|
| Scris de Cypress | ||||||
| Thursday, 15 November 2007 | ||||||
|
Ai un site sau un server pe care trebuie sa inventezi zilnic noi parole pentru utilizatorii tai. Ei bine, poti folosi urmatorul script Perl pentru a automatiza procesul: #!/usr/bin/perl my @alphanumeric = ('a'..'z', 'A'..'Z', 0..9); my $randpassword = join '', map $alphanumeric[rand @alphanumeric], 0..8; print "$passwordgen\n" Acest mic script va genera parole aletorii de opt caractere lungime: ./passwordgen.pl lf78A7xv
Only registered users can write comments! Powered by !JoomlaComment 3.12 Copyright (C) 2007 Alain Georgette / Copyright (C) 2006 Frantisek Hliva. All rights reserved. |
||||||



Debunking the Linux virus myth
Sa speram. Si daca ajunge acolo, sa sper...
Debunking the Linux virus myth
do I smell a frontpage
Debunking the Linux virus myth
Pagina e acolo, atat doar ca e un spatiu...
Un nou articol pe MYLRo.org
dar ce fel de vizite? conteaza sa ai tra...
Debunking the Linux virus myth
page not found
Un nou articol pe MYLRo.org
Articolul il scrisesem mai demult si l-a...
Debunking the Linux virus myth
Wohooo... 5661 de read-uri de ieri si 91...