Beta Shell
v2.0 ยท web2.us.cloudlogin.co
[FM]
[CMD]
[PHP]
[DB]
[INFO]
[SEC]
File Manager
~
/
usr
/
share
/
doc
/
perl-Crypt-SmbHash
Upload
4 items
Name
Size
Perms
Modified
Actions
[ .. / .. ]
Changes
651 B
-rw-r--r--
2004-10-17 07:12:28
Edit
Del
README
1.04 KB
-rw-r--r--
2001-09-26 05:19:04
Edit
Del
Editing: README
(1.04 KB)
Path: /usr/share/doc/perl-Crypt-SmbHash/README
Back
Crypt/SmbHash version 0.01 ========================== This module provides functions to generate LM/NT hashes used in Samba's 'password' files, like smbpasswd. The module is written entirely in perl, so it's a slower implementation that if it was written in C, its easily ported and installed. Example use: use Crypt::SmbHash; ntlmgen $ARGV[0], $lm, $nt; print "root:0:${lm}:${nt}:[U ]:LCT-35463AFF\n"; INSTALLATION To install this module type the following: perl Makefile.PL make make test make install DEPENDENCIES This module should work out-of-the-box, although only tested with perl 5.005 and perl 5.6.1 The generation of NT hashes requires an md4 algorithm, and although Crypt::SmbHash has it's own version of md4 hashing, things are alot faster if Digest::MD4 is installed aswell. Crypt::SmbHash will automatically use Digest::MD4 if it detects that Digest::MD4 is installed. COPYRIGHT AND LICENCE Copyright (C) 2001 Benjamin Kuit <bj@it.uts.edu.au> Ported from Samba. Samba is Copyright (C) Andrew Tridgell 1997-1998