Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


How to hack?

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
Somebody37
How do I cheat?
Reputation: 0

Joined: 18 Apr 2011
Posts: 4

PostPosted: Tue Apr 19, 2011 2:59 am    Post subject: How to hack? Reply with quote

OK, I find memory address for a mod, figure out its pointer, change code and save into the executable. How can I attain that my pc accepts the new executable, being of different size?? Or in other words, how do i make that the changed exe file works just like the original? Sorry for newbie and stupid question...
Back to top
View user's profile Send private message
Krähne
Expert Cheater
Reputation: 0

Joined: 06 Jun 2010
Posts: 108
Location: Inside of my Kernel

PostPosted: Tue Apr 19, 2011 12:15 pm    Post subject: Reply with quote

Uhh wtf?, we are talking about pointers?...
_________________
Excuse me if you don't understand what I just said, but "english" isn't my native language.
Back to top
View user's profile Send private message MSN Messenger
AhMunRa
Grandmaster Cheater Supreme
Reputation: 27

Joined: 06 Aug 2010
Posts: 1117

PostPosted: Tue Apr 19, 2011 12:22 pm    Post subject: Reply with quote

No I think op modified the actual binary and changed the size and is now getting an error of some type due to a change in file size. Or the program has a check that it runs against itself to watch for modification of some type.

An example of how you changed your exe as in

Old bytes XX XX XX XX
New bytes YY ZZ YY YY

Would help.

_________________
<Wiccaan> Bah that was supposed to say 'not saying its dead' lol. Fixing >.>
Back to top
View user's profile Send private message
pkedpker
Master Cheater
Reputation: 1

Joined: 11 Oct 2006
Posts: 412

PostPosted: Tue Apr 19, 2011 11:02 pm    Post subject: Reply with quote

If your game doesn't run because you changed the original binary.

Which kind of error occurs?

if a windows error occurs stating the executable is corrupt that means you did some wrong edits.. and made executable not executable anymore but shit, you have to keep bytes the same.. meaning if you are short a byte.. do a codecave if your change is very small you may have to add some NOP's 0x90's

NOW if a custom error occurs like game executable has been changed etc.. then you are in good hands. That just means the programmers of the game/executable added some kind of a checksum usually called on this forum CRC check rofl. It may be simple checksum easy to reserve in some cases reversing isn't even necessary you just have to find the
CMP BLAH, BLAH and follow it to the JMP or JNZ or JB JE JA whatever it is.. and change the logic so the checksum when it fails.. actually works perfectly. Easy stuff.

Harder stuff is when GameGuard checks for your execuable if it changed then your fucked.. not many people can get around that without removing the GameGuard from game executable which means you'll have to write a emulator for the gameguard or unpack gameguard and do alot of work!.

I wouldn't recommand unpacking gameguard and patching it as the gameguard's usually update weekly and can piss you off!

_________________
Hacks I made for kongregate.
Kongregate Universal Badge Hack: http://forum.cheatengine.org/viewtopic.php?p=4129411
Kongreate Auto Rating/Voter hack: http://forum.cheatengine.org/viewtopic.php?t=263576
Took a test lol
Back to top
View user's profile Send private message
Somebody37
How do I cheat?
Reputation: 0

Joined: 18 Apr 2011
Posts: 4

PostPosted: Fri Apr 22, 2011 9:02 am    Post subject: Thanks Reply with quote

Thank you all for your hints. I was attempting to hack the exe with ida pro but it isnt very intuitive program. What application do you advice me to use in order to hack EE2? I'm improving my skills at assembly but its too hard. I would also need a program that translates assembly code into hex and viceversa. Thanks anyway friends!!
Back to top
View user's profile Send private message
AhMunRa
Grandmaster Cheater Supreme
Reputation: 27

Joined: 06 Aug 2010
Posts: 1117

PostPosted: Fri Apr 22, 2011 11:50 am    Post subject: Reply with quote

I prefer Ollybdg for exe hacking. It will allow you to make realtime edits to code, and I think it will allow you to patch the assembly and save a new exe, though usually what I do is to find the piece of code I want to patch, and take note of 10 bytes before and 10 bytes after, make my mod, then search the exe in a hex editor for those 10 bytes before and verify with the 10 bytes after, make my mod to the exe then save it. It has worked well in the past for me.
_________________
<Wiccaan> Bah that was supposed to say 'not saying its dead' lol. Fixing >.>
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming All times are GMT - 6 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
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites