Log in

View Full Version : file access


fumble
February 17th, 2003, 16:49
there is a proggy which verifies some files. i want that program to give "true" no matter if the files were changed or not. what api calls do i have to observe ?

Kayaker
February 17th, 2003, 19:09
Verifies files in what way? You need to give details...lots and lots of details...

squidge
February 18th, 2003, 03:28
You could always go generic and BPX CreateFileA and ReadFile. Depending on size of files, you may be tracing through a lot of code, but that's what you get for such a generic question

fumble
February 18th, 2003, 08:13
hehe ok ok sry for my generic question and thx anyway for trying to answer it as good as possible

ok here comes more details as far as i know. im pretty new so i dunno that much yet but i know that it claculates a kind of checksum from the files to check if they were changed or not. maybe u know sth about calculating checksums and can ask for some certain things now which i will try to answer then. another thing is that it checks for files which shouldnt be in that folder. if it finds some it temporarly renames them for the time it starts the game (this tool is an anti cheat tool which starts the game moh:aa after all test passed).

ok i want to learn learn learn so plz keep trying and teaching!!! thx alot !

squidge
February 18th, 2003, 08:36
If its an anti-cheat tool, then the prog itself is prob protected, so I'd get some pe identification tools first. PEID is a good start. You'll prob find out that it's protected and/or compressed, in which case you'll unprotect/unpack it, and there's lot of information on how to do that on this board.

fumble
February 18th, 2003, 09:01
ok thx, i will have a look around and find out what peid is and how to use it