PDA

View Full Version : MD5 tool?


IchBin
06-21-2004, 11:31 PM
Is anyone using this? I hear it's a pretty good tool to use but I didn't understand anything about the documentation on the Evenbalance site.. Anyone have a tutorial or something that I can read for COD?

Anex
06-22-2004, 05:02 AM
www.punksbusted.com

IchBin
06-22-2004, 06:44 PM
Punk busted has it copy and pasted from the even balance site.

Anex
06-22-2004, 07:19 PM
It's pretty straight forward:

1. download the md5tool.exe into your CoD folder
2. Open a DOS window/prompt and CD your way to your CoD folder (i.e. cd program files/call of duty)
3. Type md5tool.exe 0 2048 filename.whatever or if the file is in a folder, type the folder name (i.e. foldername/filename.whatever)

- The "0" means 0 difference in the actual and expected results
- The 2048 is the number of bytes to check (could use any number from 16 to 2048)
- The filename.whatever is simply the file you're actully checking
- the foldername/filename.whatever means the file is in this folder (has to be relative to your root CoD folder)
- If the file your checking exists, it will return the Checksum of that file (this is typically used for stock files or mods to ensure they have not been altered)
- If the file does not exist, it will return a NOT_FOUND result (this is used for cheat files)

So, what you do is check the CoD stock files (the main pk3 files, not the language files, exe files, dlls, etc.). For cheat files, you can either ask someone who knows you and has a list of MD5 checks to give you theres or simply find the cheats yourself and look for their names.

Eg1. md5tool.exe 0 2048 cheatfile.exe
Eg2. md5tool.exe 0 2048 main/cheatfile.exe
Eg3. md5tool.exe 0 2048 CoDMP.exe
Eg4. md5tool.exe 0 2048 main/pak1.pk3
Eg3. md5tool.exe 0 2048 "main/cheat file with spaces.dll"

Using the above steps create a file in your root CoD folder (same place you're running the md5tool.exe program) labeled pbsvuser.cfg. This file contains the results of the MD5 queries you execute. You would upload/place this file in your servers Call of Duty/PB folder and issue either a /rcon pb_sv_restart command or restart the server.

In the above examples, the following would appear:

pb_sv_md5tool a "" v cheatfile.exe NOT_FOUND
pb_sv_md5tool a "" v main/cheatfile.exe NOT_FOUND
pb_sv_md5tool a "" v codmp.exe SZ1585152 AT0 LEN2048 725638697346B80292F4503A595A809E
pb_sv_md5tool a "" v main/pak1.pk3 SZ165964103 AT0 LEN2048 8CF118D4697F6FF02A3957DAE4A3A1EA
pb_sv_md5tool a "" v "main/cheat file with spaces.dll" NOT_FOUND

- pb_sv_md5tool is the command PB uses to execute MD5 checks
- a" represents the operating system (a = all, w = windows, l = Linux, etc.)
- "v" stands for violation on mismatch (i.e. kick this guy)
- NOT_FOUND simply means the file should not exist
- "SZ1585152" is the actual file size
- "AT0" means a file difference length of 0
- "LEN2048" is the number of bytes to check (in this case 2048, 16 - 2048 is acceptable)
- The long letter/number combination is simply the MD5 checksum result itself; it's like an encrypted result for the file size and number of bytes to check/checked

You could also just add the NOT_FOUND checks directly to the pb file; no need to run a the program against a file you know isn't there when you can just add it to the config yourself (i.e. pb_sv_md5tool a "" v thecheatfile.exe NOT_FOUND or pb_sv_md5tool a "" v main/thecheatfile.exe NOT_FOUND or pb_sv_md5tool a "" v "the cheat file.exe" NOT_FOUND or
pb_sv_md5tool a "" v "main/the cheat file.exe" NOT_FOUND, etc.)

Now, that's not really a guide but I think it pretty much sums up what to do/how to use the MD5 tool. Again, it's pretty much the same as stated on the EB and PsB sites; not sure how to dumb it down more (no insult intended just couldn't think of a better word...though maybe "simplify" would work).

If there's something a little more specific, please post about it.

IchBin
06-22-2004, 07:36 PM
Thank you! You dumbed it down perfect... plus I read the manual about 3 more times lol. My only questions is, when you put something like this:
md5tool.exe 0 2048 cheatfile.exe

Are you saying that if I know the name of cheat files that I can put these in the check? Or are you just using cheatfile.exe as an example other than a pak file?

THANKS!

Anex
06-23-2004, 07:04 AM
Regardless of what you're checking, you need to know the name of it. So yes, my example was to mean you need to know the name of the cheat file(s).

Note: You don't need the cheats, nor do you need to install or run them (please don't do that or you may screw yourself and not in a good way), you just need to know their names.

Oh, btw, glad it helped...I think I'll add it to my RCON Guide...