Code that overwrites the Windows MBR with a custom bootloader!
WARNING: EXECUTING THIS CODE WITH ELEVATED PRIVLAGES WILL OVERWRITE YOUR WINDOWS MBR. USE THIS AT YOUR OWN RISK. I AM NOT RESPONSIBLE FOR ANY DAMAGE YOU CAUSE WITH THIS CODE. PLEASE DO NOT USE THIS CODE FOR MALICIOUS PURPOSES :(
Main.cpp - The C++ file that does the overwriting magic
boot.asm - The Assembly file that contains the code for the custom bootloader to replace Windows'
boot.bin - The binary file of boot.asm
How to repair the MBR: https://neosmart.net/wiki/fix-mbr/
use a vm please