Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- using System.Collections;
- using System.Collections.Generic;
- using System.IO;
- using System.Linq;
- using System.Text;
- using System.Threading;
- using System.Threading.Tasks;
- namespace HV_Payload_Patcher
- {
- class Program
- {
- static void Main(string[] args)
- {
- string path = args[0];
- Console.ForegroundColor = ConsoleColor.White;
- Console.Title = "HV Payload Patcher by XeClutch";
- Print("Patching Xbox360 Hypervisor... ");
- byte[] hv = File.ReadAllBytes(path);
- for (int i = 0x00; i < 0x71; i++)
- hv[0x32500 + i] = 0x00;
- Print("Patched!\nSaving Xbox360 Hypervisor... ");
- path = path.Replace(".bin", "");
- path += "-patched.bin";
- File.WriteAllBytes(path, hv);
- Print("Saved!");
- Console.ReadKey();
- }
- static void Print(string text)
- {
- Console.Write(text);
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement