stoneharry / RCEPatcher

In the 3.3.5a WoW client there is a Remote Code Exploit (RCE) that allows any private server owner to inject and run arbitrary code on your computer. This patcher will modify your WoW executable file to fix the exploit.
41 stars 10 forks source link

Windows UAC Prompt #3

Open AnchyDev opened 1 month ago

AnchyDev commented 1 month ago

When patching the file the binary now require administrator privileges to run.

The reason for this is because Windows will automatically ask for admin privileges for any files that contains the words patch, update, installer, etc.. (I'm not joking).

It might be a good idea to just come up with a different name for simplicity for inexperience and ignorant users.

stoneharry commented 1 month ago

This is good to know, thank you. I will change it.

stoneharry commented 1 month ago

Published v1.2.

Though I now realise .NET 4.x is what comes with most Windows versions. Ah well.

AnchyDev commented 1 month ago

Published v1.2.

Though I now realise .NET 4.x is what comes with most Windows versions. Ah well.

Since it is a pretty basic console app, you can write it in .NET 8 and publish it with the AOT compiler by adding this setting to your project file: <PublishAot>true</PublishAot>

You can then publish for different environments using the publish command: dotnet publish -r win-x84

This would allow the program to run on any computers without the .NET or .NET Framework runtime installed. More information about this can be read here.

stoneharry commented 1 month ago

Thank you -- really useful info. C# is my go-to language for hacking together quick scripts at home, but not what I code in professionally and it seems I am vastly lacking knowledge here.