สร้าง htpasswd ด้วย php,perl,ruby
722 viewsThe crypt() method uses 56-bit DES encryption, which is used in /etc/passwd and htpasswd.
PHP
echo crypt("password", "salt");
Perl
perl -le 'print crypt("password", "salt")'
Ruby (run in irb)
"password".crypt("salt")
No Comments »
RSS feed for comments on this post. TrackBack URL