Exetools

Exetools (https://forum.exetools.com/index.php)
-   Community Tools (https://forum.exetools.com/forumdisplay.php?f=47)
-   -   StartWithDate (https://forum.exetools.com/showthread.php?t=19186)

CodeCracker 03-30-2019 03:54

StartWithDate
 
1 Attachment(s)
StartWithDate:
Start an executable (.exe extension) with the specific date;
- Drag and drop support for exes just drag it anywhere on main dialog;

They are two structs - two way of keeping time:
SYSTEMTIME (16 bytes) and FILETIME (8 bytes)

GetLocalTime, GetSystemTime - SYSTEMTIME
GetSystemTimeAsFileTime - FILETIME

More time Apis:
FileTimeToSystemTime - converts a 64-bit file time to system time format
SystemTimeToFileTime - converts a system time to a file time

Stingered 03-30-2019 07:31

Hopefully this will be an external D/L at some point...

Keep the great work coming!!! I use your tools weekly (seriously).

CodeCracker 03-30-2019 21:44

Version 2.0 Out
 
1 Attachment(s)
New on Version 2.0:
- Now you can also set time from date;
- Ability to specify process parameters:
First process parameter is the exe file name,
so enter first a space like this:
" example.txt", // Additional application arguments
Process parameters are separated by a space - " " !

External link:
https://www47.zippyshare.com/v/NZ3HXeLi/file.html

bolo2002 04-01-2019 00:20

what's diff with RunAsDate from Nirsoft?

CodeCracker 04-02-2019 21:20

Offers more info and more select-able options
 
Quote:

Originally Posted by bolo2002 (Post 116772)
what's diff with RunAsDate from Nirsoft?

Offers information: about selected date (converted to both SYSTEMTIME and FILETIME) needed probable for permanent patches, Info about how many times Api was reached (Info button); more select-able options like what Api to change;
except those there isn't much.

user1 04-03-2019 14:44

is possible src please?

Fyyre 04-07-2019 11:13

nice tool =) spares one from a little hooking code at times

aldente 04-24-2019 13:26

This would be really useful if you would publish the source as well...

CodeCracker 08-24-2021 22:42

2 Attachment(s)
https://forums.codeguru.com/showthread.php?417758-Assertion-in-GetCurrentTime%28%29-why
the only way was to link it statically (MFC Static Library)
this bug was on VC v6 debug mode, fixed now.

Another bug was due to fact that Apis have only a jmp dword [...] on their body
so writing directly to Api address would lead to corrupting code after jmp dword [...].
Fixed.

00437298 6815E636 /CALL to GetSystemTime from wpdshext.6815E630
0043729C 004372C4 \pSystemTime = 004372C4
004372A0 00437390
Registers are altered on hooks so I got to use pushad (60) and popad (61) instructions.
Fixed.

Attached final version and source code.

Bidasci 02-13-2022 05:17

Quote:

Originally Posted by CodeCracker (Post 116748)
StartWithDate:
Start an executable (.exe extension) with the specific date;
- Drag and drop support for exes just drag it anywhere on main dialog;

They are two structs - two way of keeping time:
SYSTEMTIME (16 bytes) and FILETIME (8 bytes)

GetLocalTime, GetSystemTime - SYSTEMTIME
GetSystemTimeAsFileTime - FILETIME

More time Apis:
FileTimeToSystemTime - converts a 64-bit file time to system time format
SystemTimeToFileTime - converts a system time to a file time

Is this an alternative to the RunAsDate program? I have been looking for alternatives for this program and can't find anything, hope this is better as RunAsDate.

Thank you!

FoxB 02-13-2022 13:17

Quote:

Originally Posted by Bidasci (Post 124785)
Is this an alternative to the RunAsDate program? I have been looking for alternatives for this program and can't find anything, hope this is better as RunAsDate.

Thank you!

maybe this help you...

2late 02-21-2022 05:18

yet another
 
Quote:

Originally Posted by Bidasci (Post 124785)
Is this an alternative to the RunAsDate program?

You may try Time Stopper https://www.raymond.cc/blog/how-to-e...-a-software/2/ as well.

Asus 02-21-2022 10:37

Does it work with trial server checking?

sh3dow 02-23-2022 05:08

Does this work with Java apps or only native?

dosprog 02-23-2022 12:29

Quote:

Originally Posted by Asus (Post 124855)
Does it work with trial server checking?

The server uses its own time setting, so obviously it won't work

CodeCracker 04-28-2025 20:21

StartWithDate v4
 
1 Attachment(s)
New on Version 4.0:
- Added GetSystemTimePreciseAsFileTime api

I noticed that on some x64 won't hook kernelbase.dll but kernel32.dll;
while using Attach button will hook kernelbase.dll like it should.

And I was using this program only for figuring out what Api is being used for getting the time.

sendersu 04-28-2025 22:20

the API is bad
https://learn.microsoft.com/en-us/windows/win32/api/sysinfoapi/nf-sysinfoapi-getsystemtimepreciseasfiletime

it has limited OS support!

Shub-Nigurrath 04-28-2025 23:49

btw it's not working at all .. didn't investigate why ..

user1 04-30-2025 14:36

of course not working in all cases.
protection developers not stupid of course test public tools from here or github.

bolo2002 04-30-2025 22:36

It still worked with 3-4 years ago programs.

CodeCracker 12-08-2025 02:11

StartWithDate_v4 64 bits
 
1 Attachment(s)
StartWithDate_v4 64 bits released;
source code included; VS Community 2017.

CodeCracker 01-05-2026 19:28

patching GetLocalTime loader example
 
2 Attachment(s)
Two patching GetLocalTime loader example; source code
One 64 bits and one 32 bits.

CodeCracker 03-02-2026 23:48

StartWithDate64_v5
 
1 Attachment(s)
StartWithDate64_v5:
4 hocking options: "User RAX", "Use RBX", "Use stack" "Jump dword"


All times are GMT +8. The time now is 19:39.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2026, vBulletin Solutions, Inc.
Always Your Best Friend: Aaron, JMI, ahmadmansoor, ZeNiX