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 


[Ollydbg] How can I add strings to a compiled binary

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Gamehacking
View previous topic :: View next topic  
Author Message
False Prophet
Expert Cheater
Reputation: -1

Joined: 28 May 2006
Posts: 121

PostPosted: Fri Jan 20, 2012 4:01 am    Post subject: [Ollydbg] How can I add strings to a compiled binary Reply with quote

How can I add a string to a compiled binary using Ollydbg?
I am trying to write a patch that compares two strings to one another. Problem is I don't know how to reference or whatever it is I need to do to add the string to make the comparison.

I don't understand how to resize data sections(if that's what I need to do) using Ollydbg or however I would do it.

Can someone provide me with some insight on this?

_________________
Back to top
View user's profile Send private message
atom0s
Moderator
Reputation: 205

Joined: 25 Jan 2006
Posts: 8585
Location: 127.0.0.1

PostPosted: Fri Jan 20, 2012 9:41 am    Post subject: Reply with quote

Check out CFF Explorer for PE editing:
http://www.ntcore.com/exsuite.php

_________________
- Retired.
Back to top
View user's profile Send private message Visit poster's website
Kavvman
Master Cheater
Reputation: 2

Joined: 17 Apr 2004
Posts: 316

PostPosted: Fri Jan 20, 2012 10:12 am    Post subject: Reply with quote

You don't need to really re-add sections if what you're trying to do is simple string comparison. You can find yourself a cave/empty spot in the exe and use that for writing your string. Or you can dynamically allocate memory and use that as your cave/place to write strings. You can also do the comparison there.
_________________
...
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 Gamehacking 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