NTLM authentication
The agttelnet
agent supports connecting to targets that use NTLM authentication. To do so you must use the following syntax for httpOpen():
$userAuth = 1; $userid = "[MACHINE/DOMAIN NAME]\\userid"; $password = "password"; $err = httpOpen( $handle, $host, $port, $useSSL, $useAuth, $userid, $password );
Note that you must use a double slash "\\" to unite [MACHINE/DOMAIN NAME] with userid, because PSLang accepts escaped strings by default.