1
x66 2022-01-13 13:59:28 +08:00
把软件装到虚拟机里面去
|
2
0o0O0o0O0o 2022-01-13 14:18:15 +08:00 via iPhone 1
hook 吧,类似 Locale Emulator 的做法
https://github.com/xupefei/Locale-Emulator-Core 有个现成的闭源给出了需要 hook 的 API https://www.nirsoft.net/utils/run_as_date.html > How does it work ? > RunAsDate intercepts the kernel API calls that returns the current date and time (GetSystemTime, GetLocalTime, GetSystemTimeAsFileTime, NtQuerySystemTime, GetSystemTimePreciseAsFileTime), and replaces the current date/time with the date/time that you specify. |
3
byasm32 2022-01-13 14:19:30 +08:00 1
RunAsDate 应该能满足需求了
|
4
xuc 2022-01-13 14:22:30 +08:00 1
就是楼上说的 RunAsDate Web http://www.nirsoft.net
|
6
jones2000 2022-01-13 16:27:17 +08:00
把这个软件获取系统时间的函数勾掉, 换成自己的函数就行了
|