Skip to content

Instantly share code, notes, and snippets.

View infradragon's full-sized avatar
:shipit:
pluviophile

infradragon infradragon

:shipit:
pluviophile
View GitHub Profile
@NSG650
NSG650 / exploit.c
Last active December 1, 2025 12:54
WinRing0 LPE using MSR write https://nsg650.github.io/blogs/28-9-2024.html
#include <windows.h>
#include <Psapi.h>
#include <stdio.h>
#define OLS_TYPE 40000
#define IOCTL_OLS_GET_DRIVER_VERSION \
CTL_CODE(OLS_TYPE, 0x800, METHOD_BUFFERED, FILE_ANY_ACCESS)
#define IOCTL_OLS_READ_MSR \
CTL_CODE(OLS_TYPE, 0x821, METHOD_BUFFERED, FILE_ANY_ACCESS)
#define IOCTL_OLS_WRITE_MSR \

Uninstall Microsoft Edge

Important

Working on the latest supported Windows versions. Run Windows Update before following this guide.

1. Open Powershell > RUN AS ADMIN

2. Paste in irm https://gist.github.com/ave9858/c3451d9f452389ac7607c99d45edecc6/raw/UninstallEdge.ps1 | iex and press enter

3. Microsoft Edge will be completely uninstalled.