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 


Changing object class names

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
Trow
Grandmaster Cheater
Reputation: 2

Joined: 17 Aug 2006
Posts: 957

PostPosted: Tue Oct 09, 2007 2:40 am    Post subject: Changing object class names Reply with quote

My school (yes, school. I didn't quit it) is blocking any executables containing class names of browsers such as "IEFrame" (IE6,7) and MozillaUIWindow (Firefox) and many more browser classes. The scanner (ProcGuard.exe) seems to do that once every 2 seconds. Is there a way to randomize / change those class names to some scribble before the blocker closes my browser, so that I can still surf the web?

edit: assuming that "making your own browser" is not viable; using the existing browsers.

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

Joined: 25 Jan 2006
Posts: 8587
Location: 127.0.0.1

PostPosted: Tue Oct 09, 2007 6:32 am    Post subject: Reply with quote

Make your own browser control and give it it's own class name? Just a thought.

As for changing the class name for a running program already..

You could hook the exes CreateWindow/CreateWindowEx function and change the class name its using when launched.
Back to top
View user's profile Send private message Visit poster's website
nog_lorp
Grandmaster Cheater
Reputation: 0

Joined: 26 Feb 2006
Posts: 743

PostPosted: Tue Oct 09, 2007 8:30 am    Post subject: Reply with quote

Download Mozilla's source, change all instances of "MozillaUIWindowClass" to something else, then compile.
_________________
Mutilated lips give a kiss on the wrist of the worm-like tips of tentacles expanding in my mind
I'm fine accepting only fresh brine you can get another drop of this yeah you wish
Back to top
View user's profile Send private message
Trow
Grandmaster Cheater
Reputation: 2

Joined: 17 Aug 2006
Posts: 957

PostPosted: Tue Oct 09, 2007 9:54 am    Post subject: Reply with quote

nog_lorp wrote:
Download Mozilla's source, change all instances of "MozillaUIWindowClass" to something else, then compile.


LOL!

_________________
Get kidnapped often.
Back to top
View user's profile Send private message
nog_lorp
Grandmaster Cheater
Reputation: 0

Joined: 26 Feb 2006
Posts: 743

PostPosted: Tue Oct 09, 2007 4:34 pm    Post subject: Reply with quote

Just fyi, The "classname" here is not about object oriented programming, its a window class.
_________________
Mutilated lips give a kiss on the wrist of the worm-like tips of tentacles expanding in my mind
I'm fine accepting only fresh brine you can get another drop of this yeah you wish
Back to top
View user's profile Send private message
Flyte
Peanuts!!!!
Reputation: 6

Joined: 19 Apr 2006
Posts: 1887
Location: Canada

PostPosted: Tue Oct 09, 2007 5:48 pm    Post subject: Reply with quote

Wiccaan wrote:
Make your own browser control and give it it's own class name? Just a thought.

As for changing the class name for a running program already..

You could hook the exes CreateWindow/CreateWindowEx function and change the class name its using when launched.


That would be a good idea only if the program doesn't use the class name for other functions, as they would fail because the class doesn't exist.

If you are going to use this method however, I would recommend you research all of the functions that could take the name of a class and hook them to be on the safe side.
Back to top
View user's profile Send private message
atom0s
Moderator
Reputation: 205

Joined: 25 Jan 2006
Posts: 8587
Location: 127.0.0.1

PostPosted: Tue Oct 09, 2007 5:51 pm    Post subject: Reply with quote

Flyte wrote:
Wiccaan wrote:
Make your own browser control and give it it's own class name? Just a thought.

As for changing the class name for a running program already..

You could hook the exes CreateWindow/CreateWindowEx function and change the class name its using when launched.


That would be a good idea only if the program doesn't use the class name for other functions, as they would fail because the class doesn't exist.

If you are going to use this method however, I would recommend you research all of the functions that could take the name of a class and hook them to be on the safe side.


My suggestion wasn't ment to be the only / best. Was just one of the many. As nog_lorp pointed out, Firefox is open source, so recompiling it himself with a new class name would be the best solution of any since he could directly change it.
Back to top
View user's profile Send private message Visit poster's website
Flyte
Peanuts!!!!
Reputation: 6

Joined: 19 Apr 2006
Posts: 1887
Location: Canada

PostPosted: Tue Oct 09, 2007 5:57 pm    Post subject: Reply with quote

I was just adding on to your post, as it needed some clarifying to anybody who would read it. Please don't act like it was a personal attack.
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