I'm sure theres some other way to do it, but this is what I came up with quick and 
dirty:

# cat make_ntpwd.pl
#!/usr/bin/perl
$cleartext = $ARGV[0];
use Crypt::SmbHash;
($lm, $nt) = ntlmgen($cleartext);
print "LM = $lm\nNT = $nt\n";

-Matt
MNU Network Security Administrator


--- Original Message Below ---

From: "Sunny Wong" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Subject: How to creat NT-Password
Date: Fri, 29 Aug 2003 13:26:21 +0800

If I use mschap+freeradius+mysql,how to creat NT-password? What tools can encrypt 
cleartext to nt-password?
thanksâ²Ø§~&#65533;ì¹»®&Þþéì¹»®&ÞI硶Úÿ0~·ž­§bºÊ+ƒùb²ßî±êì†Ù¥

-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to