当前位置:网站首页>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
边栏推荐
- Using win10 scheduling task program to automatically run jar package at fixed time
- 【Unity UGUI】ScrollRect 动态缩放格子大小,自动定位到中间的格子
- 你应该懂些CI/CD
- I2C子系统之适配器的设备接口分析(i2c-dev.c文件分析)
- To sort out messy header files, I use include what you use
- R language plot visualization: plot visualizes overlapping histograms and uses geom at the top edge of the histogram_ The rug function adds marginal rug plots
- Analysis of abnormal frequency of minor GC in container environment
- OPPO小布推出预训练大模型OBERT,晋升KgCLUE榜首
- DataKit——真正的统一可观测性 Agent
- leetcode:421. The maximum XOR value of two numbers in the array
猜你喜欢

CANN算子:利用迭代器高效实现Tensor数据切割分块处理

Using win10 scheduling task program to automatically run jar package at fixed time

Analysis of abnormal frequency of minor GC in container environment

VB cannot access database stocks

Electronic pet dog - what is the internal structure?

7 RSA密码体制

斑马识别成狗,AI犯错的原因被斯坦福找到了丨开源

wuzhicms代码审计

What is low code development?
![[unity ugui] scrollrect dynamically scales the grid size and automatically locates the middle grid](/img/0d/a8f4424add7785375741bac4f0b802.png)
[unity ugui] scrollrect dynamically scales the grid size and automatically locates the middle grid
随机推荐
缓存穿透、缓存击穿、缓存雪崩分别是什么
开发者,MySQL专栏完更,助你轻松从安装到入门进阶
一文掌握数仓中auto analyze的使用
Flask 轻量web框架
Rainfall warning broadcast automatic data platform bwii broadcast warning monitor
It's too convenient. You can complete the code release and approval by nailing it!
【模板】【luogu P4630】Duathlon 铁人两项(圆方树)
图像检索(image retrieval)
7 RSA密码体制
网页游戏引擎
What are cache penetration, cache breakdown, and cache avalanche
【HCIA持续更新】广域网技术
Web game engine
kaili不能输入中文怎么办???
NFT流动性市场安全问题频发—NFT交易平台Quixotic被黑事件分析
超标量处理器设计 姚永斌 第6章 指令解码 摘录
正则表达式
MVC模式和三层架构
Blood spitting finishing nanny level series tutorial - play Fiddler bag grabbing tutorial (2) - first meet fiddler, let you have a rational understanding
整理混乱的头文件,我用include what you use