| View previous topic :: View next topic |
| Author |
Message |
n7Epsilon Moderator

Joined: 17 Feb 2005 Posts: 624 Location: Cairo, Egypt
|
Posted: Mon Sep 03, 2007 9:52 am Post subject: [Tool] PEChecksum v1.4 - modifype replacement |
|
|
Modifype doesn't seem to work on Vista, so I made one that does. It also supports fixing checksums on x64 executables (don't know if modifype supported that or not).
Source + Binary (in "release" folder):
Download from SkyDrive
MD5: 4A0DFAD754F21466038C4C7BBD25D41B
Exit Code (errorlevel):
2 - Usage error
1 - Failed due to an error (error message written to console)
0 - Success
* Changelog:
v1.4
- Small bug fix, now returns a proper error message instead of "[6] handle is invalid."
v1.3
- Recompiled application as unicode.
v1.2:
- File modified time is now no longer changed when fixing its checksum (but last access time is not preserved).
- Fixed a compiler warning.
v1.1:
- Checksum printed on screen in hexadecimal instead of decimal
- Improved check for non-PE files.
v1.0:
- Initial release _________________ FGCBA | Reg2Inf | cWnd | PEChecksum | Firefox
Last edited by n7Epsilon on Wed Dec 02, 2009 8:33 am |
|
| Back to top |
|
 |
OuTman

Joined: 05 Jul 2006 Posts: 171 Location: Reims, France
|
Posted: Sat Sep 15, 2007 11:02 am Post subject: [Tool] PEChecksum v1.2 - modifype replacement |
|
|
n7Epsilon, just tried your new tool PEChecksum.exe, sounds interesting (you might want to create a new discussion thread about it)
the major problem with modifyPE is that you can't specify input file path, you have to run modifype from folder where input file is.
however, using these 2 tools, the displayed checksum isn't the same... can you explain me why? ex:
modifype notepad.exe -c -v reports me "checksum is 000147F7"
pechecksum -p notepad.exe reports me "checksum is 85887" |
|
| Back to top |
|
 |
n7Epsilon Moderator

Joined: 17 Feb 2005 Posts: 624 Location: Cairo, Egypt
|
|
| Back to top |
|
 |
OuTman

Joined: 05 Jul 2006 Posts: 171 Location: Reims, France
|
Posted: Sat Sep 15, 2007 11:20 am Post subject: |
|
|
(slap myself ) just checked, that's right, thanks for the quick reply... it was too easy to find... re-slap myself...
however, as this tool intends to be a modifyPE replacement/successor, you might display checksum by default in hex format (as modifyPE does), and add a command-line option (for example "-d") to display checksum in decimal format  |
|
| Back to top |
|
 |
ENU_user

Joined: 25 Jan 2006 Posts: 1249
|
Posted: Sat Sep 15, 2007 11:43 am Post subject: |
|
|
in the aspect of speed concern will you consider making a version of PEChecksum that will run without any reports or console or using switches will do
so it can run fluently and for many files in a time .. then everyone can start using it as from now .etc
any more switches to this ?
well done! _________________ • Resource Packer • WPI Bee • Addons_Undo •
 |
|
| Back to top |
|
 |
n7Epsilon Moderator

Joined: 17 Feb 2005 Posts: 624 Location: Cairo, Egypt
|
Posted: Sat Sep 15, 2007 11:46 am Post subject: |
|
|
you can just add >NUL in your batch file. It cannot be optimized more than this. _________________ FGCBA | Reg2Inf | cWnd | PEChecksum | Firefox |
|
| Back to top |
|
 |
n7Epsilon Moderator

Joined: 17 Feb 2005 Posts: 624 Location: Cairo, Egypt
|
|
| Back to top |
|
 |
ENU_user

Joined: 25 Jan 2006 Posts: 1249
|
Posted: Wed Sep 19, 2007 12:11 pm Post subject: |
|
|
was 100% sure that the (last access time is not preserved) feature was already in with the previous.
i should have checked this before updating some tools ..
anyhow 's thanks for the updates
cheers |
|
| Back to top |
|
 |
n7Epsilon Moderator

Joined: 17 Feb 2005 Posts: 624 Location: Cairo, Egypt
|
|
| Back to top |
|
 |
Kelsenellenelvian Moderator

Joined: 30 Nov 2004 Posts: 4229 Location: Pocatello, ID
|
Posted: Wed Jan 09, 2008 2:36 pm Post subject: |
|
|
Hey can this handle multiply selected files? Can I add this into my uberpack? _________________
Please donate to Kelsenellenelvian |
|
| Back to top |
|
 |
n7Epsilon Moderator

Joined: 17 Feb 2005 Posts: 624 Location: Cairo, Egypt
|
Posted: Wed Jan 09, 2008 2:43 pm Post subject: |
|
|
Multiple selected files, no, since this is a cmd application. You are free to write a batch file with a for loop however. Sure, you can include this application in your pack but keep up with the updates . _________________ FGCBA | Reg2Inf | cWnd | PEChecksum | Firefox |
|
| Back to top |
|
 |
Kelsenellenelvian Moderator

Joined: 30 Nov 2004 Posts: 4229 Location: Pocatello, ID
|
|
| Back to top |
|
 |
n7Epsilon Moderator

Joined: 17 Feb 2005 Posts: 624 Location: Cairo, Egypt
|
Posted: Tue Mar 18, 2008 6:35 am Post subject: |
|
|
Released v1.4, fixes [6] Handle is invalid and shows a proper error message instead. _________________ FGCBA | Reg2Inf | cWnd | PEChecksum | Firefox |
|
| Back to top |
|
 |
|