当前位置:网站首页>Win32 API access route encrypted web pages
Win32 API access route encrypted web pages
2022-07-04 17:40:00 【Full stack programmer webmaster】
adopt WinHttp Of WinHttpSetCredentials Function to access encrypted web pages .
There are five types of user name and password encryption on Web pages , Namely :
WINHTTP_AUTH_SCHEME_BASIC | Indicates basic authentication is available. |
---|---|
WINHTTP_AUTH_SCHEME_NTLM | Indicates NTLM authentication is available. |
WINHTTP_AUTH_SCHEME_PASSPORT | Indicates passport authentication is available. |
WINHTTP_AUTH_SCHEME_DIGEST | Indicates digest authentication is available. |
WINHTTP_AUTH_SCHEME_NEGOTIATE | Selects between NTLM and Kerberos authentication. |
and MSDN The encrypted web page example in does not contain WINHTTP_AUTH_SCHEME_BASIC type , The encryption type in the route happens to be this type .
stay WinHttpSendRequest And before WinHttpSetCredentials, That's it .
bResults = WinHttpSetCredentials( hRequest,
WINHTTP_AUTH_TARGET_SERVER,
WINHTTP_AUTH_SCHEME_BASIC,
L"admin",
L"",
NULL );
Publisher : Full stack programmer stack length , Reprint please indicate the source :https://javaforall.cn/110767.html Link to the original text :https://javaforall.cn
边栏推荐
- The company needs to be monitored. How do ZABBIX and Prometheus choose? That's the right choice!
- Cann operator: using iterators to efficiently realize tensor data cutting and blocking processing
- Solution of dealer collaboration system in building materials industry: empowering enterprises to build core competitiveness
- Electronic pet dog - what is the internal structure?
- Image retrieval
- 7 RSA密码体制
- Is BigDecimal safe to calculate the amount? Look at these five pits~~
- 缓存穿透、缓存击穿、缓存雪崩分别是什么
- The 18th IET AC / DC transmission International Conference (acdc2022) was successfully held online
- Win32 API 访问路由的加密网页
猜你喜欢
一文掌握数仓中auto analyze的使用
The 18th IET AC / DC transmission International Conference (acdc2022) was successfully held online
Ble HCI flow control mechanism
MVC mode and three-tier architecture
It's too convenient. You can complete the code release and approval by nailing it!
Implementation of super large-scale warehouse clusters in large commercial banks
聊聊异步编程的 7 种实现方式
kaili不能输入中文怎么办???
超大规模数仓集群在大型商业银行的落地实践
CocosCreator事件派发使用
随机推荐
将Opencv绘制图片显示在MFC Picture Control控件上
Solve the El input input box For number number input problem, this method can also be used to replace the problem of removing the arrow after type= "number"
VSCode修改缩进不成功,一保存就缩进四个空格
Rebalance operation in spark and its difference from repartition operation
一加10 Pro和iPhone 13怎么选?
防火墙基础透明模式部署和双机热备
CANN算子:利用迭代器高效实现Tensor数据切割分块处理
简单易用的地图可视化
Offline and open source version of notation -- comprehensive evaluation of note taking software anytype
太方便了,钉钉上就可完成代码发布审批啦!
New technology releases a small program UNIPRO to meet customers' mobile office scenarios
Cocoscreator event dispatch use
MVC模式和三层架构
【模板】【luogu P4630】Duathlon 铁人两项(圆方树)
《吐血整理》保姆级系列教程-玩转Fiddler抓包教程(2)-初识Fiddler让你理性认识一下
RecastNavigation 之 Recast
中信证券网上开户安全吗 开户收费吗
Using win10 scheduling task program to automatically run jar package at fixed time
Rainfall warning broadcast automatic data platform bwii broadcast warning monitor
Solution of commercial supply chain coordination system in the mineral industry: build a digital intelligent supply chain platform to ensure the safe supply of mineral resources