| |  | 
07-05-2009
|  | New User | | | Join Date: Jun 2009 Location: Sweden
Posts: 17
Reputation: 2 Level up: 27%, 294 Points needed | | | | Random window title Since some of you seem to change window titles (maybe for protection?) I figured, why not just make it random every program-start.. PHP Code: Random random = new Random();
private void Form1_Load(object sender, EventArgs e)
{
char[] title = new char[64];
for (int i = 0; i < 64; i++)
title[i] = (char)random.Next(32, 126);
this.Text = new string(title);
}
| Donate to remove ads, get your "DONATOR title, and get access to the MMOwned community's elite Shoutbawx. 
07-05-2009
|  | Lieutenant Commander | | | Join Date: Jul 2008
Posts: 779
Reputation: 45 Level up: 60%, 281 Points needed | | | | Yeah most of the programs do randomize on start =/. | 
07-07-2009
| | Site Donator | | | Join Date: Mar 2007
Posts: 748
Reputation: 18 Level up: 21%, 715 Points needed |     | | It's cooler to use a random Double value :P Me like big numbers | 
07-29-2009
|  | Site Donator | | | Join Date: Jul 2009
Posts: 105
Reputation: 10 Level up: 1%, 497 Points needed | | | | very usefull for me, thank you! +rep
Last edited by Sel3n; 07-29-2009 at 09:22 AM.
| 
08-21-2009
|  | Sergeant | | | Join Date: Apr 2007 Location: Dorset, UK
Posts: 40
Nominated 4 Times in 1 Post Reputation: 30 Level up: 47%, 267 Points needed |  | | There is an easy way to do this with just two lines, the window title would be numeric, although I'm positive there's also a random string generation function in .NET. Code: Random RNG = new Random();
Console.Title = RNG.Next().ToString();
| 
08-21-2009
|  | Kynox's sister's pimp Legendary User | | | Join Date: Apr 2006 Location: ntdll.dll
Posts: 4,092
Nominated 63 Times in 4 Posts  TOTM/W Award(s): 1 Reputation: 1057 Points: 54,398, Level: 34 | Level up: 84%, 602 Points needed |     | | | This currently doesn't protect you at all from Warden.
Also, also only randomizing one window is just stupid. You're also going to have to randomize child windows, controls, etc. That means all your buttons, labels, and whatnot. They're all technically windows and can be enumerated using the same APIs. | 
09-13-2009
| | New User | | | Join Date: Oct 2008
Posts: 19
Reputation: 1 Level up: 54%, 186 Points needed | | | | enumerate I enumerated some of your windows with my api.
You could add to your code what cipher is talking about by recursively replacing all of your windows titles. Its fun
EnumChildWindows
might help but there are others too i believe
-Duke |  |
Posting Rules
| You may not post new threads You may not post replies You may not post attachments You may not edit your posts HTML code is Off | | | All times are GMT -4. The time now is 03:56 PM. |