34
edits
Changes
ini configuration file does not use separator in crypted password
use Crypt::DES;
my ($password, $ini, $help, $man);
GetOptions('help|h' => \$help, 'man' => \$man, 'password|p=s' => \$password, 'ini' => \$ini) or pod2usage(2);
pod2usage(1) if $help;
pod2usage(-exitstatus => 0, -verbose =>2) if $man;
my $cryptpass = $cipher->encrypt($password);
__END__
Options:
--help this help
--password the password you want to crypt
--ini use ini style crypted password
=head1 OPTIONS
Print this help
=item B<--rnepassword>
Password to encrypt for the windows . =item B<--ini> Specify to use new ini style format.The registryformat use ',' separator.
=back