netcat是否支持代理身份验证?


8

如何处理:

nc: Proxy error: "HTTP/1.1 407 Proxy Authentication Required"

nc可以-P选择代理用户名,但是密码是什么?

Answers:


3

目前尚不清楚您使用的是哪种Netcat变体,但是假设它是OpenBSD的netcat,则从1.105版本开始,代理身份验证行为应该在命令行上提示您输入密码:

"Proxy password for %s@%s: " 是提示,并为字符串格式输入应用了代理用户名和代理密码。

By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.