Skip to content

Instantly share code, notes, and snippets.

// Author: Omdihar
#include "HwidSpoofer.h"
#include "SystemRoutines.h"
#include <ntddstor.h>
#include <Ntdddisk.h>
PDRIVER_DISPATCH OldIrpMj;
char NumTable[] = "123456789";
@mguezuraga
mguezuraga / AESCipher.py
Last active February 24, 2020 23:16 — forked from swinton/AESCipher.py
Encrypt & Decrypt using PyCrypto AES 256From http://stackoverflow.com/a/12525165/119849
#!/usr/bin/env python
import base64
from Crypto import Random
from Crypto.Cipher import AES
BS = 16
pad = lambda s: s + (BS - len(s) % BS) * chr(BS - len(s) % BS)
unpad = lambda s : s[0:-s[-1]]
@IntergalacticApps
IntergalacticApps / make_windows10_great_again.bat
Last active September 7, 2025 17:39
Make Windows 10 Great Again - stop Windows 10 spying!
@echo off
setlocal EnableDelayedExpansion
ver | find "10." > nul
if errorlevel 1 (
echo Your Windows version is not Windows 10... yet. Brace yourself, Windows 10 is coming^^!
pause
exit
)
@MichaelAquilina
MichaelAquilina / aes_tool.py
Created August 19, 2013 17:48
PKCS7 Padding in python
def _pad(text, block_size):
"""
Performs padding on the given plaintext to ensure that it is a multiple
of the given block_size value in the parameter. Uses the PKCS7 standard
for performing padding.
"""
no_of_blocks = math.ceil(len(text)/float(block_size))
pad_value = int(no_of_blocks * block_size - len(text))
if pad_value == 0: