当前位置:网站首页>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
边栏推荐
- 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.
- 第十八届IET交直流輸電國際會議(ACDC2022)於線上成功舉辦
- NFT liquidity market security issues occur frequently - Analysis of the black incident of NFT trading platform quixotic
- 一加10 Pro和iPhone 13怎么选?
- Summary of tx.origin security issues
- Rainfall warning broadcast automatic data platform bwii broadcast warning monitor
- Internet addiction changes brain structure: language function is affected, making people unable to speak neatly
- R语言plotly可视化:plotly可视化多分类变量小提琴图(multiple variable violin plot in R with plotly)
- 什么是低代码开发?
- How to choose one plus 10 pro and iPhone 13?
猜你喜欢
Vb无法访问数据库stocks
解决el-input输入框.number数字输入问题,去掉type=“number“后面箭头问题也可以用这种方法代替
一文掌握数仓中auto analyze的使用
利用win10计划任务程序定时自动运行jar包
MVC mode and three-tier architecture
【HCIA持续更新】网络管理与运维
Zhijieyun - meta universe comprehensive solution service provider
PingCode 性能测试之负载测试实践
leetcode:421. The maximum XOR value of two numbers in the array
我写了一份初学者的学习实践教程!
随机推荐
DataKit——真正的统一可观测性 Agent
I2C子系统之适配器的设备接口分析(i2c-dev.c文件分析)
leetcode:421. 数组中两个数的最大异或值
Face_recognition人脸识别之考勤统计
Zhijieyun - meta universe comprehensive solution service provider
MD5加密的两种方式
ble HCI 流控机制
How to choose one plus 10 pro and iPhone 13?
gatling 之性能测试
【Proteus仿真】基于VSM 串口printf调试输出示例
就在今天丨汇丰4位专家齐聚,共讨银行核心系统改造、迁移、重构难题
电子宠物小狗-内部结构是什么?
上网成瘾改变大脑结构:语言功能受影响,让人话都说不利索
内核中时间相关的知识介绍
【系统分析师之路】第七章 复盘系统设计(结构化开发方法)
MVC mode and three-tier architecture
shell脚本的替换功能实现
Wuzhicms code audit
Load test practice of pingcode performance test
MVC模式和三层架构