使用Libcurl验证ntlm代理而不通过 [英] Using Libcurl to authenticate ntlm proxy without pass

查看:239
本文介绍了使用Libcurl验证ntlm代理而不通过的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在测试一些网络简单的过程,以了解更好,并知道如何使用NTLM。

i'm testing some network simple process to understand better and know how to work with NTLM.

之后( ntlm-proxy-without-password )Q&A发现热通过ntml使用当前用户的日志信息来验证我的事务。

Following this (ntlm-proxy-without-password) Q&A i found hot to uthenticate my transaction via ntml using the log information of the current user.

命令如下:curl.exe -U:--proxy-ntlm --proxy myproxy.com:8080 http://www.google.com

The command is this: curl.exe -U : --proxy-ntlm --proxy myproxy.com:8080 http://www.google.com

知道我必须使用libcurl做同样的事情需要实现那个结果到我正在开发的应用程序。有一种方法可以做到这一点?

Know i have to do the same thing using libcurl since i need to achieve that result into the application i'm developing. There is a way to do this?

按照这个Q& A我发现热到

Following this Q&A i found hot to

推荐答案

这就像一个魅力。

curl_easy_setopt(ctx, CURLOPT_PROXYUSERPWD, ":");

这篇关于使用Libcurl验证ntlm代理而不通过的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆