使用 nikto 网络安全扫描器时出现语法错误

Syntax error when using nikto web security scanner

我在尝试扫描使用 NTLM 身份验证的应用程序时遇到问题。我发现在这种情况下我应该使用参数 –id 和我的凭据形式 user:password:domain,但是当我 运行 nikto 像这样时:

nikto -h http://000.000.10.100/MainPage -id admin:anypassword:http:// 000.000.10.100 -F htm -output Results.html

我收到语法错误:

+ ERROR: 'admin: anypassword:http:// 000.000.10.100' (-i option) syntax is 'user:password' or 'user:password:domain' for host authentication.

有没有可能是密码中的感叹号等特殊字符导致的?我也尝试过使用引号,但没有得到肯定的结果。

在您的 -id 参数中,删除协议和斜杠。

工作语法: nikto -h http://1.1.1.1/MainPage -id admin:password:1.1.1.1 -F htm -output Results.html