Exetools  

Go Back   Exetools > General > Community Tools

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 05-11-2020, 16:34
CodeCracker CodeCracker is offline
Family
 
Join Date: Jun 2011
Posts: 363
Rept. Given: 20
Rept. Rcvd 303 Times in 98 Posts
Thanks Given: 13
Thanks Rcvd at 1,355 Times in 276 Posts
CodeCracker Reputation: 300-399 CodeCracker Reputation: 300-399 CodeCracker Reputation: 300-399 CodeCracker Reputation: 300-399
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, 41 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 14 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), 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: 17
Rept. Given: 0
Rept. Rcvd 0 Times in 0 Posts
Thanks Given: 34
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
Family
 
Join Date: Jun 2011
Posts: 363
Rept. Given: 20
Rept. Rcvd 303 Times in 98 Posts
Thanks Given: 13
Thanks Rcvd at 1,355 Times in 276 Posts
CodeCracker Reputation: 300-399 CodeCracker Reputation: 300-399 CodeCracker Reputation: 300-399 CodeCracker Reputation: 300-399
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: 103
Rept. Given: 0
Rept. Rcvd 15 Times in 14 Posts
Thanks Given: 31
Thanks Rcvd at 140 Times in 70 Posts
dosprog Reputation: 15
-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
Family
 
Join Date: Jun 2011
Posts: 363
Rept. Given: 20
Rept. Rcvd 303 Times in 98 Posts
Thanks Given: 13
Thanks Rcvd at 1,355 Times in 276 Posts
CodeCracker Reputation: 300-399 CodeCracker Reputation: 300-399 CodeCracker Reputation: 300-399 CodeCracker Reputation: 300-399
- Added buffer split. sizeof buffer = 4096*4096 (1000h*1000h)
Attached Files
File Type: rar CompareInfoExe.rar (7.0 KB, 13 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
Family
 
Join Date: Jun 2011
Posts: 363
Rept. Given: 20
Rept. Rcvd 303 Times in 98 Posts
Thanks Given: 13
Thanks Rcvd at 1,355 Times in 276 Posts
CodeCracker Reputation: 300-399 CodeCracker Reputation: 300-399 CodeCracker Reputation: 300-399 CodeCracker Reputation: 300-399
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, 18 views)
Reply With Quote
The Following User Gave Reputation+1 to CodeCracker For This Useful Post:
MarcElBichon (06-30-2022)
The Following 5 Users Say Thank You to CodeCracker For This Useful Post:
alekine322 (09-21-2022), Doit (07-01-2022), niculaita (07-02-2022), 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: 5
Rept. Given: 0
Rept. Rcvd 0 Times in 0 Posts
Thanks Given: 149
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: 478
Rept. Given: 487
Rept. Rcvd 439 Times in 180 Posts
Thanks Given: 660
Thanks Rcvd at 170 Times in 106 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 online now
Lo*eXeTools*rd
 
Join Date: Jan 2005
Location: Moscow, Russia
Posts: 194
Rept. Given: 24
Rept. Rcvd 58 Times in 34 Posts
Thanks Given: 8
Thanks Rcvd at 119 Times in 30 Posts
Jupiter Reputation: 58
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
Family
 
Join Date: Jun 2011
Posts: 363
Rept. Given: 20
Rept. Rcvd 303 Times in 98 Posts
Thanks Given: 13
Thanks Rcvd at 1,355 Times in 276 Posts
CodeCracker Reputation: 300-399 CodeCracker Reputation: 300-399 CodeCracker Reputation: 300-399 CodeCracker Reputation: 300-399
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 vic4key is offline
Friend
 
Join Date: Apr 2010
Posts: 48
Rept. Given: 5
Rept. Rcvd 18 Times in 8 Posts
Thanks Given: 52
Thanks Rcvd at 72 Times in 15 Posts
vic4key Reputation: 18
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
  #12  
Old 07-08-2022, 16:56
RamMerLabs RamMerLabs is offline
Family
 
Join Date: Feb 2020
Posts: 41
Rept. Given: 0
Rept. Rcvd 40 Times in 18 Posts
Thanks Given: 9
Thanks Rcvd at 197 Times in 35 Posts
RamMerLabs Reputation: 40
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 vic4key is offline
Friend
 
Join Date: Apr 2010
Posts: 48
Rept. Given: 5
Rept. Rcvd 18 Times in 8 Posts
Thanks Given: 52
Thanks Rcvd at 72 Times in 15 Posts
vic4key Reputation: 18
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
Family
 
Join Date: Jun 2011
Posts: 363
Rept. Given: 20
Rept. Rcvd 303 Times in 98 Posts
Thanks Given: 13
Thanks Rcvd at 1,355 Times in 276 Posts
CodeCracker Reputation: 300-399 CodeCracker Reputation: 300-399 CodeCracker Reputation: 300-399 CodeCracker Reputation: 300-399
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
Family
 
Join Date: Jun 2011
Posts: 363
Rept. Given: 20
Rept. Rcvd 303 Times in 98 Posts
Thanks Given: 13
Thanks Rcvd at 1,355 Times in 276 Posts
CodeCracker Reputation: 300-399 CodeCracker Reputation: 300-399 CodeCracker Reputation: 300-399 CodeCracker Reputation: 300-399
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 20:55.


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