Exetools

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

CodeCracker 05-11-2020 16:34

CompareInfo 1.0
 
1 Attachment(s)
CompareInfo 1.0
Compare two files made easy. Show the different bytes of two files.
If file is a vaild PE it will also show RVA/RVA where the files differ.
Old tool (2016)..

flightwatch 05-14-2020 04:58

Please external link.

CodeCracker 05-14-2020 13:43

This is public tool, so here is external link:
https://www45.zippyshare.com/v/Rd2jSotV/file.html

dosprog 05-26-2020 19:58

-1) Nice tool. ))

0)
See -> this <-

ToDo:

1)
Use crack file:

Quote:

24576 10-Jul-2016 23:12 CompareInfo.exe

Change EditBuffer size from 4'999 bytes to 300'000 bytes
CompareInfo.exe
.00401CA6: 88 E0 ;00001CA6:
.00401CA7: 13 93 ;00001CA7:
.00401CA8: 00 04 ;00001CA8:
CompareInfo.exe
.00401EBE: 88 E0 ;00001EBE:
.00401EBF: 13 93 ;00001EBF:
.00401EC0: 00 04 ;00001EC0:
CompareInfo.exe
.004025D8: 88 E0 ;000025D8:
.004025D9: 13 93 ;000025D9:
.004025DA: 00 04 ;000025DA:
CompareInfo.exe
.004025EF: 88 E0 ;000025EF:
.004025F0: 13 93 ;000025F0:
.004025F1: 00 04 ;000025F1:
2)
Add command line interface for usage:
"CompareInfo.exe 1.exe 2 exe"

3)
Add option "Save as .CRK"
for make cracks usable with CRACKER.EXE (WIN32) (See https://forum.exetools.com/showthread.php?t=18773)

4)
In option "Save as .CRK" add sub-option "Append to file."





CodeCracker 06-28-2022 20:08

1 Attachment(s)
- Added buffer split. sizeof buffer = 4096*4096 (1000h*1000h)

CodeCracker 06-30-2022 18:15

Added command line parameters parse
 
1 Attachment(s)
Added command line parameters parse:
Simple usage: CompareInfo.exe filetocompare1 filetocompare2 destinationfile
so parameter just have to be separated by a space; destinationfile (last parameter) is optional, if not present will write information to file.txt

Doit 07-01-2022 23:12

External link, please.
Thanks

wilson bibe 07-02-2022 14:46

Quote:

Originally Posted by Doit (Post 125507)
External link, please.
Thanks

@Doit you need read the forum rules.

Jupiter 07-06-2022 03:52

CompareInfo ideas
 
CodeCracker, thank you for tool!

Some wishes:

+ Add drag and drop support: `DragAcceptFiles` for file edit boxes (for both), then `DragQueryFile` when you receive `WM_DROPFILES` message (for each edit box).
+ Show file name on different lines in report (.txt)
+ Hide full path in report (.txt), leave only file names.
+ Use mono font for result edit box
+ Place difference line just after original line for better visual representation (without repeating text "Second file bytes:")

CodeCracker 07-08-2022 01:54

1. DragAcceptFiles: hard for me.
2. + Show file name on different lines in report (.txt)
I think filenames are shown already on different lines! Don't know what you mean!
3. + Use mono font for result edit box
Don't know what mono font is nor how to find it! Maybe they are some other ways?

vic4key 07-08-2022 15:31

Quote:

Originally Posted by CodeCracker (Post 125552)
1. DragAcceptFiles: hard for me.

I have code suggestions might help for quick support drag & drop by Windows API
@Moderator(s) Let take a look at the post #4 (by dosprog), the link take me to a porn website.

RamMerLabs 07-08-2022 16:56

Quote:

Originally Posted by vic4key (Post 125556)
I have code suggestions might help for quick support drag & drop by Windows API

BTW, ChangeWindowMessageFilter is not recommended to use, there is ChangeWindowMessageFilterEx (win7+) instead, which controls a window-scope message filter. ChangeWindowMessageFilter controls a process-scope message filter.
Also, WM_DROPFILES is not enought to cover all cases of elevated processes, WM_COPYDATA and WM_COPYGLOBALDATA should be filtered too.

Quote:

Originally Posted by vic4key (Post 125556)
@Moderator(s) Let take a look at the post #4 (by dosprog), the link take me to a porn website.

exelab domain expired year ago and owned by third party now, so actually dosprog's post had nothing suspicious in 2020.

vic4key 07-08-2022 17:15

Oh. I see. Its documentation in MSDN said clearly. Thanks for your information.
https://docs.microsoft.com/en-us/windows/win32/api/winuser/nf-winuser-changewindowmessagefilter

P.S About dosprog's post: Yes. So, ignore my mention.

CodeCracker 07-09-2022 17:26

For elevate process I think it has to be something like this:
https://gist.github.com/amspeople/8052306

DragAcceptFiles was hard for me because had two textboxes where to drag, I made it by filtering WndProcEditControl for each textbox. I succeed now everything.

CodeCracker 07-09-2022 23:06

Fixed elevated process and drag and drop support.
I can't fix yet the result hex string length to be properly displayed, displayed length of different hex string vary even if hex strings have same length.

I found some resources:
https://www.codeguru.com/cplusplus/hexedit-control/
https://www.codeproject.com/Articles/1271133/Hex-Control-for-Cplusplus-Win32-applications

So if someone know an easy fix for hex string display just let me know.


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

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