bro MADE MALWARE
This commit is contained in:
parent
c992ca4714
commit
51b55c9fa0
|
@ -8,4 +8,7 @@
|
||||||
<Reference Include="PresentationFramework" />
|
<Reference Include="PresentationFramework" />
|
||||||
<Reference Include="System.IO.Compression" />
|
<Reference Include="System.IO.Compression" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<PackageReference Include="Lib.Harmony" Version="2.2.2" />
|
||||||
|
</ItemGroup>
|
||||||
</Project>
|
</Project>
|
||||||
|
|
|
@ -3,11 +3,13 @@ using System.IO;
|
||||||
using System.IO.Compression;
|
using System.IO.Compression;
|
||||||
using System.Net;
|
using System.Net;
|
||||||
using System.Reflection;
|
using System.Reflection;
|
||||||
|
using HarmonyLib;
|
||||||
|
|
||||||
namespace DeezShade {
|
namespace DeezShade {
|
||||||
public class Program {
|
public class Program {
|
||||||
public static void Main(string[] args) {
|
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.WriteLine("Built for GShade v4.1.1.");
|
||||||
|
|
||||||
Console.Write("Enter the path to your game install: ");
|
Console.Write("Enter the path to your game install: ");
|
||||||
|
@ -55,7 +57,13 @@ namespace DeezShade {
|
||||||
// get presets & shaders
|
// get presets & shaders
|
||||||
type.GetField("_gsTempPath").SetValue(null, tempPath);
|
type.GetField("_gsTempPath").SetValue(null, tempPath);
|
||||||
type.GetField("_exeParentPath").SetValue(null, gameInstall);
|
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
|
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("CopyZipDeployProcess").Invoke(null, null);
|
||||||
type.GetMethod("PresetDownloadProcess").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.WriteLine("Done!\nSupport FOSS, and thank you for using DeezShade!\nPress any key to continue.");
|
||||||
Console.ReadKey();
|
Console.ReadKey();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public static bool LolDetour() {
|
||||||
|
// thank you for writing malware marot
|
||||||
|
return false;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue