RyanVM.net Discussion Board Forum Index RyanVM.net Discussion Board

 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

[Tool] PEChecksum v1.4 - modifype replacement

 
Post new topic   Reply to topic    RyanVM.net Discussion Board Forum Index -> Update Pack Addons
View previous topic :: View next topic  
Author Message
n7Epsilon
Moderator


Joined: 17 Feb 2005
Posts: 624
Location: Cairo, Egypt

PostPosted: Mon Sep 03, 2007 9:52 am    Post subject: [Tool] PEChecksum v1.4 - modifype replacement Reply with quote

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
View user's profile Send private message
OuTman



Joined: 05 Jul 2006
Posts: 171
Location: Reims, France

PostPosted: Sat Sep 15, 2007 11:02 am    Post subject: [Tool] PEChecksum v1.2 - modifype replacement Reply with quote

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
View user's profile Send private message
n7Epsilon
Moderator


Joined: 17 Feb 2005
Posts: 624
Location: Cairo, Egypt

PostPosted: Sat Sep 15, 2007 11:06 am    Post subject: Reply with quote

000147F7 is 85887 written as a hexadecimal number Smile
_________________
FGCBA | Reg2Inf | cWnd | PEChecksum | Firefox
Back to top
View user's profile Send private message
OuTman



Joined: 05 Jul 2006
Posts: 171
Location: Reims, France

PostPosted: Sat Sep 15, 2007 11:20 am    Post subject: Reply with quote

(slap myself Embarassed) just checked, that's right, thanks for the quick reply... it was too easy to find... re-slap myself... Laughing

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 Wink
Back to top
View user's profile Send private message
ENU_user



Joined: 25 Jan 2006
Posts: 1253

PostPosted: Sat Sep 15, 2007 11:43 am    Post subject: Reply with quote

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
View user's profile Send private message
n7Epsilon
Moderator


Joined: 17 Feb 2005
Posts: 624
Location: Cairo, Egypt

PostPosted: Sat Sep 15, 2007 11:46 am    Post subject: Reply with quote

you can just add >NUL in your batch file. It cannot be optimized more than this.
_________________
FGCBA | Reg2Inf | cWnd | PEChecksum | Firefox
Back to top
View user's profile Send private message
n7Epsilon
Moderator


Joined: 17 Feb 2005
Posts: 624
Location: Cairo, Egypt

PostPosted: Wed Sep 19, 2007 11:59 am    Post subject: Reply with quote

Released version 1.2
_________________
FGCBA | Reg2Inf | cWnd | PEChecksum | Firefox
Back to top
View user's profile Send private message
ENU_user



Joined: 25 Jan 2006
Posts: 1253

PostPosted: Wed Sep 19, 2007 12:11 pm    Post subject: Reply with quote

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
View user's profile Send private message
n7Epsilon
Moderator


Joined: 17 Feb 2005
Posts: 624
Location: Cairo, Egypt

PostPosted: Wed Jan 09, 2008 2:29 pm    Post subject: Reply with quote

Released v1.3
_________________
FGCBA | Reg2Inf | cWnd | PEChecksum | Firefox
Back to top
View user's profile Send private message
Kelsenellenelvian
Moderator


Joined: 30 Nov 2004
Posts: 4350
Location: Pocatello, ID

PostPosted: Wed Jan 09, 2008 2:36 pm    Post subject: Reply with quote

Hey can this handle multiply selected files? Can I add this into my uberpack?
_________________

Please donate to Kelsenellenelvian
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
n7Epsilon
Moderator


Joined: 17 Feb 2005
Posts: 624
Location: Cairo, Egypt

PostPosted: Wed Jan 09, 2008 2:43 pm    Post subject: Reply with quote

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 Smile.
_________________
FGCBA | Reg2Inf | cWnd | PEChecksum | Firefox
Back to top
View user's profile Send private message
Kelsenellenelvian
Moderator


Joined: 30 Nov 2004
Posts: 4350
Location: Pocatello, ID

PostPosted: Wed Jan 09, 2008 2:56 pm    Post subject: Reply with quote

heeheheh
_________________

Please donate to Kelsenellenelvian
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
n7Epsilon
Moderator


Joined: 17 Feb 2005
Posts: 624
Location: Cairo, Egypt

PostPosted: Tue Mar 18, 2008 6:35 am    Post subject: Reply with quote

Released v1.4, fixes [6] Handle is invalid and shows a proper error message instead.
_________________
FGCBA | Reg2Inf | cWnd | PEChecksum | Firefox
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    RyanVM.net Discussion Board Forum Index -> Update Pack Addons All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group