Skip to content

A simple script to overwrite the MBR (Master Boot Record) using the Python coding language. This is only for educational purposes only, and I'm not responsible for any damage caused using this!

Notifications You must be signed in to change notification settings

Itzsten/Python-MBR-Overwriting

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

Python-MBR-Overwriting

A simple script to overwrite the MBR (Master Boot Record) using the Python coding language. This is only for educational purposes only, and I'm not responsible for any damage caused using this!

If you want to overwrite with Pywin32, then use Pywin32.py. If you prefer Ctypes, you may use ctypes.py.

To overwrite it with custom hex, add a new line:

data = bytes([ paste hex here... ])

WriteFile(hDevice, data, None)

About

A simple script to overwrite the MBR (Master Boot Record) using the Python coding language. This is only for educational purposes only, and I'm not responsible for any damage caused using this!

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages