Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- enable secret foobar
- enable secret 5 $1$pdQG$0WzLBXV98voWIUEdIiLm11
- $ openssl passwd -1 -salt pdQG -table foobar
- foobar $1$pdQG$0WzLBXV98voWIUEdIiLm11
- $
- openssl passwd -salt `openssl rand -base64 3` -1 "cleartext"
- -> Indicates MD5 algorithm
- | -> Salt
- | | -> Salt + Password Hash
- | | |
- $1$mERr$RchIrJirmCXltFBZ2l50l/
- #!/usr/bin/perl
- use Crypt::PasswdMD5;
- my $hash = unix_md5_crypt('password','salt')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement