欢迎来到尧图网

客户服务 关于我们

您的位置:首页 > 新闻 > 焦点 > arsetryhtehrwgefwadasdadasd

arsetryhtehrwgefwadasdadasd

2025/8/5 6:14:31 来源:https://blog.csdn.net/ma_de_hao_mei_le/article/details/139747934  浏览:    关键词:arsetryhtehrwgefwadasdadasd

48b91400000080f7ffff48b8bd427ae5d594bfd6488b0948f7e148b8cdcccccccccccccc48c1ea1748f7e24c8bea49c1ed02

在这里插入图片描述

直接在windbg中把执行内存修改为上面这一串字节序列,运行完成后r13中将包含当前时间戳,可使用如下代码转换成人类可阅读时间格式

/*代码BEGIN*/
#include <windows.h>
#include <stdint.h>
#include <stdio.h>int main()
{// Example adjusted time valueuint64_t adjustedTime = 0x9f4ce6f4;// Reverse the operations to get the original timeuint64_t time = adjustedTime * 5L * 10000000L;// Split the 64-bit time into high and low partsFILETIME fileTime;fileTime.dwLowDateTime = (DWORD)(time & 0xFFFFFFFF);fileTime.dwHighDateTime = (DWORD)(time >> 32);// Optionally, convert FILETIME back to SYSTEMTIME for readable timeSYSTEMTIME systemTime;FileTimeToSystemTime(&fileTime, &systemTime);// Print the SYSTEMTIMEprintf("Year: %d\n", systemTime.wYear);printf("Month: %d\n", systemTime.wMonth);printf("Day: %d\n", systemTime.wDay);printf("Hour: %d\n", systemTime.wHour);printf("Minute: %d\n", systemTime.wMinute);printf("Second: %d\n", systemTime.wSecond);printf("Milliseconds: %d\n", systemTime.wMilliseconds);return 0;}
/*代码END*/

版权声明:

本网仅为发布的内容提供存储空间,不对发表、转载的内容提供任何形式的保证。凡本网注明“来源:XXX网络”的作品,均转载自其它媒体,著作权归作者所有,商业转载请联系作者获得授权,非商业转载请注明出处。

我们尊重并感谢每一位作者,均已注明文章来源和作者。如因作品内容、版权或其它问题,请及时与我们联系,联系邮箱:809451989@qq.com,投稿邮箱:809451989@qq.com

热搜词