php-ntlm
php-ntlm copied to clipboard
$domain used as parameter and local variable
Something is wrong here with $domain
:
function ntlm_get_challenge_msg($msg, $challenge, $targetname, $domain,
$computer, $dnsdomain, $dnscomputer)
{
$domain = ntlm_field_value($msg, 16);
See https://github.com/loune/php-ntlm/blob/master/ntlm.php#L118
It is only used once, so maybe the function parameter is not needed?