Exetools  

Go Back   Exetools > General > Community Tools

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 05-11-2020, 16:34
CodeCracker CodeCracker is offline
VIP
 
Join Date: Jun 2011
Posts: 515
Rept. Given: 29
Rept. Rcvd 461 Times in 163 Posts
Thanks Given: 23
Thanks Rcvd at 2,246 Times in 404 Posts
CodeCracker Reputation: 400-499 CodeCracker Reputation: 400-499 CodeCracker Reputation: 400-499 CodeCracker Reputation: 400-499 CodeCracker Reputation: 400-499
CompareInfo 1.0

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)..
Attached Files
File Type: zip CompareInfo.zip (7.2 KB, 44 views)
Reply With Quote
The Following 3 Users Gave Reputation+1 to CodeCracker For This Useful Post:
chessgod101 (05-11-2020), MarcElBichon (05-14-2020), user1 (05-12-2020)
The Following 15 Users Say Thank You to CodeCracker For This Useful Post:
alekine322 (09-21-2022), canopus (05-12-2020), chessgod101 (05-11-2020), Corsten (05-19-2020), Doit (05-17-2020), flightwatch (05-14-2020), Fyyre (07-10-2022), hors (05-12-2020), Matan (05-25-2020), niculaita (05-12-2020), ontryit (05-15-2020), pnta (10-05-2022), ShowDebug (08-15-2023), user1 (05-12-2020), wilson bibe (05-12-2020)
  #2  
Old 05-14-2020, 04:58
flightwatch flightwatch is offline
Friend
 
Join Date: Jan 2018
Posts: 18
Rept. Given: 2
Rept. Rcvd 0 Times in 0 Posts
Thanks Given: 35
Thanks Rcvd at 6 Times in 5 Posts
flightwatch Reputation: 0
Please external link.
Reply With Quote
  #3  
Old 05-14-2020, 13:43
CodeCracker CodeCracker is offline
VIP
 
Join Date: Jun 2011
Posts: 515
Rept. Given: 29
Rept. Rcvd 461 Times in 163 Posts
Thanks Given: 23
Thanks Rcvd at 2,246 Times in 404 Posts
CodeCracker Reputation: 400-499 CodeCracker Reputation: 400-499 CodeCracker Reputation: 400-499 CodeCracker Reputation: 400-499 CodeCracker Reputation: 400-499
This is public tool, so here is external link:
https://www45.zippyshare.com/v/Rd2jSotV/file.html
Reply With Quote
The Following 6 Users Say Thank You to CodeCracker For This Useful Post:
dosprog (05-26-2020), flightwatch (05-18-2020), Matan (05-25-2020), ontryit (05-15-2020), pps44 (05-21-2020), Stingered (05-14-2020)
  #4  
Old 05-26-2020, 19:58
dosprog dosprog is offline
Friend
 
Join Date: Feb 2018
Posts: 114
Rept. Given: 0
Rept. Rcvd 17 Times in 16 Posts
Thanks Given: 33
Thanks Rcvd at 147 Times in 74 Posts
dosprog Reputation: 17
-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."





Last edited by dosprog; 05-26-2020 at 20:10.
Reply With Quote
The Following 3 Users Say Thank You to dosprog For This Useful Post:
Doit (07-01-2022), MarcElBichon (05-26-2020), niculaita (06-29-2022)
  #5  
Old 06-28-2022, 20:08
CodeCracker CodeCracker is offline
VIP
 
Join Date: Jun 2011
Posts: 515
Rept. Given: 29
Rept. Rcvd 461 Times in 163 Posts
Thanks Given: 23
Thanks Rcvd at 2,246 Times in 404 Posts
CodeCracker Reputation: 400-499 CodeCracker Reputation: 400-499 CodeCracker Reputation: 400-499 CodeCracker Reputation: 400-499 CodeCracker Reputation: 400-499
- Added buffer split. sizeof buffer = 4096*4096 (1000h*1000h)
Attached Files
File Type: rar CompareInfoExe.rar (7.0 KB, 15 views)
Reply With Quote
The Following 3 Users Say Thank You to CodeCracker For This Useful Post:
alekine322 (09-21-2022), niculaita (06-29-2022), wilson bibe (06-29-2022)
  #6  
Old 06-30-2022, 18:15
CodeCracker CodeCracker is offline
VIP
 
Join Date: Jun 2011
Posts: 515
Rept. Given: 29
Rept. Rcvd 461 Times in 163 Posts
Thanks Given: 23
Thanks Rcvd at 2,246 Times in 404 Posts
CodeCracker Reputation: 400-499 CodeCracker Reputation: 400-499 CodeCracker Reputation: 400-499 CodeCracker Reputation: 400-499 CodeCracker Reputation: 400-499
Added command line parameters parse

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
Attached Files
File Type: zip CompareInfo_v2.zip (7.7 KB, 21 views)
Reply With Quote
The Following User Gave Reputation+1 to CodeCracker For This Useful Post:
MarcElBichon (06-30-2022)
The Following 6 Users Say Thank You to CodeCracker For This Useful Post:
alekine322 (09-21-2022), Doit (07-01-2022), niculaita (07-02-2022), pnta (08-15-2023), wilson bibe (07-01-2022), Zeokat (07-03-2022)
  #7  
Old 07-01-2022, 23:12
Doit Doit is offline
Friend
 
Join Date: Nov 2019
Location: The world
Posts: 7
Rept. Given: 2
Rept. Rcvd 0 Times in 0 Posts
Thanks Given: 264
Thanks Rcvd at 1 Time in 1 Post
Doit Reputation: 0
External link, please.
Thanks
Reply With Quote
  #8  
Old 07-02-2022, 14:46
wilson bibe wilson bibe is offline
VIP
 
Join Date: Nov 2012
Posts: 499
Rept. Given: 491
Rept. Rcvd 439 Times in 180 Posts
Thanks Given: 922
Thanks Rcvd at 178 Times in 113 Posts
wilson bibe Reputation: 400-499 wilson bibe Reputation: 400-499 wilson bibe Reputation: 400-499 wilson bibe Reputation: 400-499 wilson bibe Reputation: 400-499
Quote:
Originally Posted by Doit View Post
External link, please.
Thanks
@Doit you need read the forum rules.
Reply With Quote
  #9  
Old 07-06-2022, 03:52
Jupiter's Avatar
Jupiter Jupiter is offline
Lo*eXeTools*rd
 
Join Date: Jan 2005
Location: Moscow, Russia
Posts: 218
Rept. Given: 37
Rept. Rcvd 61 Times in 36 Posts
Thanks Given: 23
Thanks Rcvd at 158 Times in 46 Posts
Jupiter Reputation: 61
Lightbulb 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:")
__________________
EnJoy!
Reply With Quote
  #10  
Old 07-08-2022, 01:54
CodeCracker CodeCracker is offline
VIP
 
Join Date: Jun 2011
Posts: 515
Rept. Given: 29
Rept. Rcvd 461 Times in 163 Posts
Thanks Given: 23
Thanks Rcvd at 2,246 Times in 404 Posts
CodeCracker Reputation: 400-499 CodeCracker Reputation: 400-499 CodeCracker Reputation: 400-499 CodeCracker Reputation: 400-499 CodeCracker Reputation: 400-499
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?
Reply With Quote
  #11  
Old 07-08-2022, 15:31
vic4key's Avatar
vic4key vic4key is offline
Family
 
Join Date: Apr 2010
Posts: 62
Rept. Given: 5
Rept. Rcvd 24 Times in 10 Posts
Thanks Given: 62
Thanks Rcvd at 98 Times in 23 Posts
vic4key Reputation: 24
Quote:
Originally Posted by CodeCracker View Post
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.

Last edited by vic4key; 07-08-2022 at 16:05.
Reply With Quote
The Following User Says Thank You to vic4key For This Useful Post:
pnta (08-15-2023)
  #12  
Old 07-08-2022, 16:56
RamMerLabs RamMerLabs is offline
Family
 
Join Date: Feb 2020
Posts: 58
Rept. Given: 0
Rept. Rcvd 56 Times in 31 Posts
Thanks Given: 9
Thanks Rcvd at 294 Times in 52 Posts
RamMerLabs Reputation: 56
Quote:
Originally Posted by vic4key View Post
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 View Post
@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.

Last edited by RamMerLabs; 07-09-2022 at 01:48.
Reply With Quote
The Following User Says Thank You to RamMerLabs For This Useful Post:
niculaita (07-10-2022)
  #13  
Old 07-08-2022, 17:15
vic4key's Avatar
vic4key vic4key is offline
Family
 
Join Date: Apr 2010
Posts: 62
Rept. Given: 5
Rept. Rcvd 24 Times in 10 Posts
Thanks Given: 62
Thanks Rcvd at 98 Times in 23 Posts
vic4key Reputation: 24
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.
Reply With Quote
  #14  
Old 07-09-2022, 17:26
CodeCracker CodeCracker is offline
VIP
 
Join Date: Jun 2011
Posts: 515
Rept. Given: 29
Rept. Rcvd 461 Times in 163 Posts
Thanks Given: 23
Thanks Rcvd at 2,246 Times in 404 Posts
CodeCracker Reputation: 400-499 CodeCracker Reputation: 400-499 CodeCracker Reputation: 400-499 CodeCracker Reputation: 400-499 CodeCracker Reputation: 400-499
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.
Reply With Quote
  #15  
Old 07-09-2022, 23:06
CodeCracker CodeCracker is offline
VIP
 
Join Date: Jun 2011
Posts: 515
Rept. Given: 29
Rept. Rcvd 461 Times in 163 Posts
Thanks Given: 23
Thanks Rcvd at 2,246 Times in 404 Posts
CodeCracker Reputation: 400-499 CodeCracker Reputation: 400-499 CodeCracker Reputation: 400-499 CodeCracker Reputation: 400-499 CodeCracker Reputation: 400-499
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.
Reply With Quote
The Following User Says Thank You to CodeCracker For This Useful Post:
niculaita (07-10-2022)
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 04:41.


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