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 


Resources on C# executables and CE? HELP!

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

Joined: 02 Jul 2018
Posts: 7

PostPosted: Fri Jul 06, 2018 9:20 pm    Post subject: Resources on C# executables and CE? HELP! Reply with quote

I've done the requisite searches, reading, Googling, and what have you, and can't find a basic primer on handling a C# application in CE.

I'm guessing a .NET/Mono app is supposed to produce drop-down output in the "Enumerate DLL/Symbols" command? But my app process EXE is just listed first, and has no ">" to be expanded. Does this mean it is obfuscated?

My main problem is that (apparently?) .NET applications don't have invariant memory addresses OR pointers. So this means the memory scan or pointer scan is a waste of time?

A few threads have touted an Array of Bytes search as a solution to the .NET problem. But how so?

Also, a procedural question. Does one have to be a certain seniority or member level here to have questions read or answered? I've posted several questions now and not received a single reply. My apologies if I've done something wrong and offended the high elders of this community.
Back to top
View user's profile Send private message
ParkourPenguin
I post too much
Reputation: 140

Joined: 06 Jul 2014
Posts: 4299

PostPosted: Fri Jul 06, 2018 11:04 pm    Post subject: Reply with quote

marsinspace wrote:
I've done the requisite searches, reading, Googling, and what have you, and can't find a basic primer on handling a C# application in CE.
It's not much different than anything else. Find values and change them.
marsinspace wrote:
I'm guessing a .NET/Mono app is supposed to produce drop-down output in the "Enumerate DLL/Symbols" command? But my app process EXE is just listed first, and has no ">" to be expanded. Does this mean it is obfuscated?
You probably won't find anything useful in there anyway. Most of the code you care about is probably JIT compiled and lies in dynamic memory. You might be looking for "Dissect mono" under the "Mono" menu in the main CE window.
marsinspace wrote:
My main problem is that (apparently?) .NET applications don't have invariant memory addresses OR pointers. So this means the memory scan or pointer scan is a waste of time?
Regular scans will work fine; pointer scans usually won't in my experience (base addresses were encoded as immediates in instructions).
marsinspace wrote:
A few threads have touted an Array of Bytes search as a solution to the .NET problem. But how so?
Look up "Code injection" / "AoB injection" and/or go through the CE tutorial.
marsinspace wrote:
Does one have to be a certain seniority or member level here to have questions read or answered?
No. It's just that your diction implies you're in over your head, and it usually isn't worth writing several paragraphs explaining everything. I still don't know what you're asking about C#, but it would probably help to learn a little about how C# works first (i.e. JIT compilation).
_________________
I don't know where I'm going, but I'll figure it out when I get 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 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