| View previous topic :: View next topic |
| Author |
Message |
Trow Grandmaster Cheater
Reputation: 2
Joined: 17 Aug 2006 Posts: 957
|
Posted: Tue Oct 09, 2007 2:40 am Post subject: Changing object class names |
|
|
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 |
|
 |
atom0s Moderator
Reputation: 205
Joined: 25 Jan 2006 Posts: 8587 Location: 127.0.0.1
|
Posted: Tue Oct 09, 2007 6:32 am Post subject: |
|
|
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 |
|
 |
nog_lorp Grandmaster Cheater
Reputation: 0
Joined: 26 Feb 2006 Posts: 743
|
Posted: Tue Oct 09, 2007 8:30 am Post subject: |
|
|
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 |
|
 |
Trow Grandmaster Cheater
Reputation: 2
Joined: 17 Aug 2006 Posts: 957
|
Posted: Tue Oct 09, 2007 9:54 am Post subject: |
|
|
| nog_lorp wrote: | | Download Mozilla's source, change all instances of "MozillaUIWindowClass" to something else, then compile. |
LOL!
_________________
Get kidnapped often. |
|
| Back to top |
|
 |
nog_lorp Grandmaster Cheater
Reputation: 0
Joined: 26 Feb 2006 Posts: 743
|
Posted: Tue Oct 09, 2007 4:34 pm Post subject: |
|
|
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 |
|
 |
Flyte Peanuts!!!!
Reputation: 6
Joined: 19 Apr 2006 Posts: 1887 Location: Canada
|
Posted: Tue Oct 09, 2007 5:48 pm Post subject: |
|
|
| 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 |
|
 |
atom0s Moderator
Reputation: 205
Joined: 25 Jan 2006 Posts: 8587 Location: 127.0.0.1
|
Posted: Tue Oct 09, 2007 5:51 pm Post subject: |
|
|
| 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 |
|
 |
Flyte Peanuts!!!!
Reputation: 6
Joined: 19 Apr 2006 Posts: 1887 Location: Canada
|
Posted: Tue Oct 09, 2007 5:57 pm Post subject: |
|
|
| 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 |
|
 |
|