Skip to content

Instantly share code, notes, and snippets.

View SkyN9ne's full-sized avatar
💚

SkyN9ne SkyN9ne

💚
View GitHub Profile
@SkyN9ne
SkyN9ne / Win10HometoPro.cmd
Created December 9, 2022 18:56 — forked from FadeMind/Win10HometoPro.cmd
Convert Windows 10 Home to Pro
cscript.exe %windir%\system32\slmgr.vbs /rilc
cscript.exe %windir%\system32\slmgr.vbs /upk
cscript.exe %windir%\system32\slmgr.vbs /ckms
cscript.exe %windir%\system32\slmgr.vbs /cpky
cscript.exe %windir%\system32\slmgr.vbs /ipk VK7JG-NPHTM-C97JM-9MPGT-3V66T
sc config LicenseManager start= auto & net start LicenseManager
sc config wuauserv start= auto & net start wuauserv
clipup -v -o -altto c:\
@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]
@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 / DllMainThread.c
Created February 19, 2023 02:49 — forked from securitytube/DllMainThread.c
Launch Shellcode as a Thread via DllMain rather than a new process
// Dll Hijacking via Thread Creation
// Author - Vivek Ramachandran
// Learn Pentesting Online -- http://PentesterAcademy.com/topics and http://SecurityTube-Training.com
// Free Infosec Videos -- http://SecurityTube.net
#include <windows.h>
#define SHELLCODELEN 2048
using Microsoft.Extensions.Logging;
using System;
namespace Masticore
{
/// <summary>
/// Utility class for logging
/// </summary>
public static class LogUtils
{
@SkyN9ne
SkyN9ne / install-vmware-tools
Created April 5, 2023 23:49 — forked from trietptm/install-vmware-tools
Patch for install-vmware-tools REMnux script to use shared folders
The file install-vmware-tools is from REMnux v6 scripts: https://launchpad.net/~remnux/+archive/ubuntu/stable/+files/remnux-scripts_0.1.50.tar.gz
install-vmware-tools_TrietPTM is my patch for the "install-vmware-tools" script that’s present on REMnux v6 to fix a compatibility issue between VMware Tools and the Linux kernel included in Ubuntu, which prevents shared folders from working.
Other Ways You Can Help With REMnux: https://zeltser.com/remnux-v6-release-for-malware-analysis/
@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...)
@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 / 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>