Post #2928748
2025-01-01 21:41 UTC
ok now i'm curious. i'm opening up the program in ghidra, and it turns out there's a check for the future and the past?? and there's debug symbols too, so that's nice... i'll try to clean up the decompilation of validate_system_time and show what it does
Replies (2)
-
@nil@furry.engineer 2025-01-01 22:22
the majority of this function is just parsing a hardcoded string ("Mar 1 2004") to convert it to year, month, and date integers. this isn't the future limit date, btw. the program also checks if the date is too far in the *past*. looks like the hardcoded last allowed time you can run this program is midnight on December 31, 2009
-
@hagedose68@social.cologne 2025-01-02 07:19
@nil@furry.engineer I think I ran into the past check back in the day, because the system came up with epoch as boot time, or something like that.