Skip to content

Instantly share code, notes, and snippets.

View SkyN9ne's full-sized avatar
💚

SkyN9ne SkyN9ne

💚
View GitHub Profile
# Windows God Mode
Create a folder anywhere you want a shortcut to
every setting imaginable called `GodMode.{ED7BA470-8E54-465E-825C-99712043E01C}`
That's it. I got this from Twitter or something.
@SkyN9ne
SkyN9ne / DmaHvBackdoor.c
Created October 8, 2023 21:22 — forked from Cr4sh/DmaHvBackdoor.c
Hyper-V backdoor for UEFI
/*
*********************************************************************
Part of UEFI DXE driver code that injects Hyper-V VM exit handler
backdoor into the Device Guard enabled Windows 10 Enterprise.
Execution starts from new_ExitBootServices() -- a hook handler
for EFI_BOOT_SERVICES.ExitBootServices() which being called by
winload!OslFwpKernelSetupPhase1(). After DXE phase exit winload.efi
transfers exeution to previously loaded Hyper-V kernel (hvix64.sys)
@SkyN9ne
SkyN9ne / Angelican.xml
Created September 10, 2023 17:51
Angelican (Redmi / Xiaomi) configuration and device capabilites
<?xml version="1.0" encoding="UTF-8"?>
<features>
<!--whether the device is pad-->
<bool name="is_pad">false</bool>
<!--whether the device is xiaomi-->
<bool name="is_xiaomi">false</bool>
<!--whether the device is hongmi-->
<bool name="is_hongmi">true</bool>
<!--whether the device is redmi-->
<bool name="is_redmi">true</bool>
@SkyN9ne
SkyN9ne / guide-change-imei-snapdragon.md
Created September 9, 2023 22:57
[GUIDE] How to change IMEI on Snapdragon devices

[GUIDE] How to change IMEI on Snapdragon devices

FOR EDUCATIONAL PURPOSE ONLY, CHANGING IMEI IS ILLEGAL IN MOST COUNTRIES, MAKE SURE YOU CONVINCE YOUR ACTIONS BEFORE DOING THIS.

I DON'T RESPONSIBLE IF YOUR DEVICE IS BROKEN OR THE IMEI IS NOT CHANGED CAUSED BY YOU DIDN'T FOLLOW THE STEPS CAREFULLY OR HAVING A DIFFERENT EFS PARTITION SCHEME.

This guide was tested on Google Pixel 3, different device may also have a different EFS partition scheme, please make sure you adjust it with this guide. Other Google Pixel devices may use this guide without adjusting.

Prerequisites:

@SkyN9ne
SkyN9ne / WinUtils.cmd
Last active March 15, 2025 03:02
Quick Windows System Utilities including SFC / DISM / ChkDsk
@echo OFF
COLOR 0A
TITLE Quick System Utils
REM Checking for admin privileges
>NUL 2>&1 "%SYSTEMROOT%\System32\cacls.exe" "%SYSTEMROOT%\System32\config\system"
REM If the error flag is set, we do not have admin privileges (yet...)
using Microsoft.Extensions.Logging;
using System;
namespace Masticore
{
/// <summary>
/// Utility class for logging
/// </summary>
public static class LogUtils
{
@jbsulli
jbsulli / pnp typescript.md
Last active March 21, 2024 16:24
Typescript Yarn 3 Plug'n'Play zero-install monorepo for VSCode

Setup nvm

curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.3/install.sh | bash
source ~/.bashrc

Setup node

@SkyN9ne
SkyN9ne / DummyFileGen.bat
Created February 19, 2023 01:24
Batch script for creating dummy files using fsutil
REM Batch script for generating a dummy file using fsutil
REM Dummy files have no functionality or purpose alone
REM They're however very useful for testing, debugging or benchmarking
REM You could for example benchmark and compare 7-Zip vs WinRAR performance
@echo OFF
chcp 65001
setlocal EnableDelayedExpansion
SET size2=a
SET "size2=!size2:a=>!"
@SkyN9ne
SkyN9ne / cmd.reg
Created January 17, 2023 09:49 — forked from jbsulli/cmd.reg
Add "Open with CMD" option to the Windows 10 context menu (both when right-clicking on a folder and in a folder).
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\Directory\Background\shell\OpenWithCMD]
@="Open with CMD"
"Icon"="C:\\WINDOWS\\system32\\cmd.exe"
[HKEY_CLASSES_ROOT\Directory\Background\shell\OpenWithCMD\command]
@="cmd.exe /k cd %V"
[HKEY_CLASSES_ROOT\Directory\shell\OpenWithCMD]