Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
有人可以用 ncat 告诉我,如何连接到服务器需要用户名+密码的 https URL?
没有用户+密码,我只能连接
ncat --ssl host port
但是如何在需要时指定登录凭据?
你通过标题Authorization: Basic BASE64_ENCODED('username:password')
Authorization: Basic BASE64_ENCODED('username:password')
字面上地Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQNCg==
Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQNCg==