bro MADE MALWARE

This commit is contained in:
Julian 2023-02-06 09:33:42 -05:00
parent c992ca4714
commit 51b55c9fa0
Signed by: NotNite
GPG Key ID: BD91A5402CCEB08A
2 changed files with 17 additions and 1 deletions

View File

@ -8,4 +8,7 @@
<Reference Include="PresentationFramework" />
<Reference Include="System.IO.Compression" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="Lib.Harmony" Version="2.2.2" />
</ItemGroup>
</Project>

View File

@ -3,11 +3,13 @@ using System.IO;
using System.IO.Compression;
using System.Net;
using System.Reflection;
using HarmonyLib;
namespace DeezShade {
public class Program {
public static void Main(string[] args) {
Console.WriteLine("DeezShade v1.0.2, by NotNet and friends");
var version = Assembly.GetExecutingAssembly().GetName().Version;
Console.WriteLine($"DeezShade v{version}, by NotNet and friends");
Console.WriteLine("Built for GShade v4.1.1.");
Console.Write("Enter the path to your game install: ");
@ -55,7 +57,13 @@ namespace DeezShade {
// get presets & shaders
type.GetField("_gsTempPath").SetValue(null, tempPath);
type.GetField("_exeParentPath").SetValue(null, gameInstall);
// Patch GShade from shutting off your computer (LMAO)
Console.WriteLine("Patching GShade malware...");
type.GetField("_instReady").SetValue(null, true); // wp
var harmony = new Harmony("com.notnite.thanks-marot");
var lolMethod = type.GetMethod("lol", BindingFlags.Static | BindingFlags.NonPublic);
harmony.Patch(lolMethod, new HarmonyMethod(typeof(Program).GetMethod(nameof(LolDetour))));
type.GetMethod("CopyZipDeployProcess").Invoke(null, null);
type.GetMethod("PresetDownloadProcess").Invoke(null, null);
@ -101,5 +109,10 @@ namespace DeezShade {
Console.WriteLine("Done!\nSupport FOSS, and thank you for using DeezShade!\nPress any key to continue.");
Console.ReadKey();
}
public static bool LolDetour() {
// thank you for writing malware marot
return false;
}
}
}