Exetools  

Go Back   Exetools > General > Community Tools

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 03-30-2019, 03:54
CodeCracker CodeCracker is offline
Family
 
Join Date: Jun 2011
Posts: 336
Rept. Given: 19
Rept. Rcvd 283 Times in 88 Posts
Thanks Given: 13
Thanks Rcvd at 1,189 Times in 255 Posts
CodeCracker Reputation: 200-299 CodeCracker Reputation: 200-299 CodeCracker Reputation: 200-299
StartWithDate

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
Attached Files
File Type: zip StartWithDate.zip (8.5 KB, 27 views)
Reply With Quote
The Following 2 Users Gave Reputation+1 to CodeCracker For This Useful Post:
Computer_Angel (04-03-2019), user1 (04-02-2019)
The Following 18 Users Say Thank You to CodeCracker For This Useful Post:
ahmadmansoor (03-30-2019), Apuromafo (03-30-2019), argie (03-31-2019), chessgod101 (03-30-2019), conan981 (04-02-2019), darkBLACK (04-01-2019), Doit (09-07-2021), Fyyre (04-07-2019), Hypnz (03-30-2019), Indigo (07-19-2019), mnemonic72 (03-30-2019), niculaita (03-30-2019), nikkapedd (04-08-2019), Preddy (05-26-2019), Stingered (03-30-2019), user1 (04-02-2019), wilson bibe (03-30-2019), WRP (03-30-2019)
  #2  
Old 03-30-2019, 07:31
Stingered Stingered is offline
Friend
 
Join Date: Dec 2017
Posts: 161
Rept. Given: 0
Rept. Rcvd 1 Time in 1 Post
Thanks Given: 200
Thanks Rcvd at 104 Times in 52 Posts
Stingered Reputation: 2
Hopefully this will be an external D/L at some point...

Keep the great work coming!!! I use your tools weekly (seriously).
Reply With Quote
The Following User Says Thank You to Stingered For This Useful Post:
Indigo (07-19-2019)
  #3  
Old 03-30-2019, 21:44
CodeCracker CodeCracker is offline
Family
 
Join Date: Jun 2011
Posts: 336
Rept. Given: 19
Rept. Rcvd 283 Times in 88 Posts
Thanks Given: 13
Thanks Rcvd at 1,189 Times in 255 Posts
CodeCracker Reputation: 200-299 CodeCracker Reputation: 200-299 CodeCracker Reputation: 200-299
Version 2.0 Out

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
Attached Files
File Type: zip StartWithDate_v2.zip (9.0 KB, 38 views)
Reply With Quote
The Following 5 Users Say Thank You to CodeCracker For This Useful Post:
Avi_RE (04-07-2019), Indigo (07-19-2019), niculaita (03-30-2019), Preddy (05-26-2019), Stingered (04-01-2019)
  #4  
Old 04-01-2019, 00:20
bolo2002 bolo2002 is offline
VIP
 
Join Date: Apr 2002
Posts: 514
Rept. Given: 104
Rept. Rcvd 13 Times in 12 Posts
Thanks Given: 159
Thanks Rcvd at 193 Times in 127 Posts
bolo2002 Reputation: 13
what's diff with RunAsDate from Nirsoft?
__________________
I like this forum!
Reply With Quote
The Following User Says Thank You to bolo2002 For This Useful Post:
Indigo (07-19-2019)
  #5  
Old 04-02-2019, 21:20
CodeCracker CodeCracker is offline
Family
 
Join Date: Jun 2011
Posts: 336
Rept. Given: 19
Rept. Rcvd 283 Times in 88 Posts
Thanks Given: 13
Thanks Rcvd at 1,189 Times in 255 Posts
CodeCracker Reputation: 200-299 CodeCracker Reputation: 200-299 CodeCracker Reputation: 200-299
Offers more info and more select-able options

Quote:
Originally Posted by bolo2002 View Post
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.
Reply With Quote
The Following User Gave Reputation+1 to CodeCracker For This Useful Post:
user1 (04-03-2019)
The Following 8 Users Say Thank You to CodeCracker For This Useful Post:
bolo2002 (04-02-2019), Indigo (07-19-2019), niculaita (04-02-2019), SockPuppet (04-03-2019), Stingered (04-03-2019), Trit0n (04-03-2019), user1 (04-03-2019), wilson bibe (04-03-2019)
  #6  
Old 04-03-2019, 14:44
user1's Avatar
user1 user1 is offline
Family
 
Join Date: Sep 2012
Location: Romania
Posts: 920
Rept. Given: 447
Rept. Rcvd 115 Times in 63 Posts
Thanks Given: 528
Thanks Rcvd at 489 Times in 293 Posts
user1 Reputation: 36
is possible src please?
Reply With Quote
The Following User Says Thank You to user1 For This Useful Post:
Indigo (07-19-2019)
  #7  
Old 04-07-2019, 11:13
Fyyre's Avatar
Fyyre Fyyre is offline
Fyyre
 
Join Date: Dec 2009
Location: 0°N 0°E / 0°N 0°E / 0; 0
Posts: 205
Rept. Given: 51
Rept. Rcvd 71 Times in 33 Posts
Thanks Given: 65
Thanks Rcvd at 258 Times in 89 Posts
Fyyre Reputation: 71
nice tool =) spares one from a little hooking code at times
__________________
-Fyyre

--
"Expert RCE, old school. People claiming to know me and speak for me, do neither."

https://github.com/Fyyre
Reply With Quote
The Following User Says Thank You to Fyyre For This Useful Post:
Indigo (07-19-2019)
  #8  
Old 04-24-2019, 13:26
aldente aldente is offline
VIP
 
Join Date: Jul 2003
Posts: 264
Rept. Given: 27
Rept. Rcvd 7 Times in 5 Posts
Thanks Given: 30
Thanks Rcvd at 9 Times in 8 Posts
aldente Reputation: 7
This would be really useful if you would publish the source as well...
Reply With Quote
The Following User Says Thank You to aldente For This Useful Post:
Indigo (07-19-2019)
  #9  
Old 08-24-2021, 22:42
CodeCracker CodeCracker is offline
Family
 
Join Date: Jun 2011
Posts: 336
Rept. Given: 19
Rept. Rcvd 283 Times in 88 Posts
Thanks Given: 13
Thanks Rcvd at 1,189 Times in 255 Posts
CodeCracker Reputation: 200-299 CodeCracker Reputation: 200-299 CodeCracker Reputation: 200-299
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.
Attached Files
File Type: zip StartWithDate_srcVC6.zip (64.8 KB, 16 views)
File Type: zip StartWithDateExe.zip (10.4 KB, 19 views)
Reply With Quote
The Following 6 Users Say Thank You to CodeCracker For This Useful Post:
Doit (09-07-2021), Mendax47 (08-24-2021), niculaita (08-25-2021), Stingered (08-25-2021), wilson bibe (08-25-2021), zeuscane (08-26-2021)
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



All times are GMT +8. The time now is 12:07.


Always Your Best Friend: Aaron, JMI, ahmadmansoor, ZeNiX
( 1998 - 2021 )