Microsoft NTLM (v2) 中的时间戳使用
timestamp use in Microsoft NTLM (v2)
我正在研究NTLM和NTLMv2协议的自定义实现,以便在Lync(Skype for Business(服务器上进行授权。在阅读官方规范和 http://davenport.sourceforge.net/ntlm.html 时,我有几个问题找不到答案。其中之一如下:
问题是关于 NTLMv2 响应(尤其是 blob(。它说 blob 应该包含时间戳
since January 1, 1601
.这是干什么用的?如果服务器不知道我的本地时间,它如何确保安全性。或者也许我应该使用服务器在类型 2 消息中提供的时间戳?
不完整的答案,但我现在还没有更好
或者也许我应该使用服务器在类型 2 消息中提供的时间戳?
是的。正如我评论MS-NLMP中上面链接的文档中所述
If NTLM v2 authentication is used, the client SHOULD send the timestamp in the
CHALLENGE_MESSAGE.<47>
If there exists a CHALLENGE_MESSAGE.TargetInfo.AvId ==
MsvAvTimestamp
Set Time to CHALLENGE_MESSAGE.TargetInfo.Value of that AVPair
Else
Set Time to Currenttime
Endif
相关文章:
- C++:floor unix时间戳到UTC月份
- 如何在c++中录制具有精确帧时间戳的视频
- 在两台机器之间进行时间戳的最佳c++chrono函数是什么
- Google protobuf 时间戳未声明标识符,在 Windows 上具有C++
- 在多个时间戳处执行函数
- 以天C++为单位的两个时间戳之间的差异
- 获取 QInputEvent 在 Qt 4.8 中被放入 QEventLoop 队列时的时间戳
- 在 C++ 中为文件名添加时间戳
- 如何从远程 SFTP 服务器获取 HH-MM-SS 时间戳格式的文件列表
- 如何将消息时间戳写入日志文件?
- 将时间戳打印到流的最简单方法
- 读取悖论时间戳字段
- C++程序中多个位置的时间 (0) 时间戳
- 在 c++ 中获取 X 毫秒前的时间戳
- 将 unix 时间戳转换为人类可读的日期
- Microsoft NTLM (v2) 中的时间戳使用
- C++中上周一的时间戳
- C++-需要读取存储在文件(.txt)中的时间戳并正确检索
- 使用 C++将时间戳转换为格式化的日期时间
- 如何将 time-uuid(存储在 boost uuid 中)转换为时间戳/自纪元以来的时间?