当前位置:网站首页>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
边栏推荐
猜你喜欢
码农版隐秘的角落:作为开发者最讨厌的5件
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"
Analysis of abnormal frequency of minor GC in container environment
To sort out messy header files, I use include what you use
整理混乱的头文件,我用include what you use
leetcode:421. The maximum XOR value of two numbers in the array
NFT liquidity market security issues occur frequently - Analysis of the black incident of NFT trading platform quixotic
第十八届IET交直流输电国际会议(ACDC2022)于线上成功举办
如何进行MDM的产品测试
数学分析_笔记_第7章:多元函数的微分学
随机推荐
How to choose one plus 10 pro and iPhone 13?
Difference between redis' memory obsolescence strategy and expiration deletion strategy
La 18e Conférence internationale de l'IET sur le transport d'électricité en courant alternatif et en courant continu (acdc2022) s'est tenue avec succès en ligne.
Image retrieval
Zhijieyun - meta universe comprehensive solution service provider
[acwing] 58 weeks 4490 dyeing
[unity ugui] scrollrect dynamically scales the grid size and automatically locates the middle grid
利用win10计划任务程序定时自动运行jar包
Dynamic programming stock problem comparison
What is low code development?
超标量处理器设计 姚永斌 第5章 指令集体系 摘录
leetcode刷题目录总结
Internet addiction changes brain structure: language function is affected, making people unable to speak neatly
Datakit -- the real unified observability agent
Web game engine
leetcode:421. The maximum XOR value of two numbers in the array
整理混乱的头文件,我用include what you use
Zebras are recognized as dogs, and the reason for AI's mistakes is found by Stanford
长城证券开户安全吗 证券账户怎么开通
中断的顶半部和底半部介绍以及实现方式(tasklet 和 工作队列)