cntlm-0.92.3-8.fc23.x86_64
cntlm -h说我可以在命令行上指定密码
-p <password>
Account password. Will not be visible in "ps", /proc, etc.
但是当我用
调用它时cntlm -H -p mypass -u myuser -d mydomain
它再次提示我
cntlm -H -u myuser -d mydomain -p mypass
Password:
PassLM FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
PassNT FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
PassNTLMv2 FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF # Only for user 'myuser', domain 'mydomain'
答案 0 :(得分:1)
结束回显密码
echo "${PASSWD}" | cntlm -H -u ${USERNAME} -d ${DOMAIN} | grep PassNTLMv2
答案 1 :(得分:0)