Idea: random name of window and process

Discuss, ask for help, share ideas, give suggestions, read tutorials, and tell us about bugs you have found with MicroMacro in here.

Do not post RoM-Bot stuff here. There is a subforum for that.
Forum rules
This is a sub-forum for things specific to MicroMacro.

This is not the place to ask questions about the RoM bot, which uses MicroMacro. There is a difference.
Post Reply
Message
Author
goscinny
Posts: 2
Joined: Thu Jun 10, 2010 6:49 am

Idea: random name of window and process

#1 Post by goscinny » Thu Jun 10, 2010 7:21 am

Hi,

I use micromacro in some games. It's works fine, but I afraid, that game developers can 'sniff' this software.
Maybe you should anonymize micromacro? Randomly generated window name and process name could be useful.

Goscinny

User avatar
Administrator
Site Admin
Posts: 5307
Joined: Sat Jan 05, 2008 4:21 pm

Re: Idea: random name of window and process

#2 Post by Administrator » Thu Jun 10, 2010 9:09 am

Good idea. It's also fairly simple to implement. At least, the random window name is. I'm not sure if giving the main executable a random name at runtime will be easily doable. Are there any other suggestions you have along these lines?

goscinny
Posts: 2
Joined: Thu Jun 10, 2010 6:49 am

Re: Idea: random name of window and process

#3 Post by goscinny » Thu Jun 10, 2010 1:27 pm

Long, long time ago when I write some programs in Delphi, I change WindowName and appsname like this:

function ChangeName(WHandle: HWND; LParM: LParam): Boolean;StdCall;Export
var Title,ClassName:array[0..128] of char;
sTitle,sClass: string;

begin
Result := True;
GetWindowText(wHandle, title,128);
GetClassName(wHandle, ClassName,128);
sTitle := Title;
sClass:=ClassName;

end;

and in init procedure I call:

Form1.Caption:='';
For name:=0 to Random(16)+1 do
begin
Form1.Caption:=Form1.Caption+Chr(64+Random(32));
end;
EnumWindows(@ChangeName,0);

and it's works :)

My program wasn't detected by Spedia and similar 'click and make money' programs ;)

Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests