Skip to content

Instantly share code, notes, and snippets.

View x1tan's full-sized avatar

xitan x1tan

View GitHub Profile
@mrexodia
mrexodia / LowUtilities.cpp
Last active September 20, 2023 08:09 — forked from D4stiny/LowUtilities.cpp
A dependency-less implementation of GetModuleHandle and GetProcAddress.
//
// An implementation of GetModuleHandle and GetProcAddress that works with manually mapped modules, forwarded exports,
// without a CRT standard library, and uses no Windows API or dependencies.
//
// Author: Bill Demirkapi
// License: MIT, appended at the bottom of this document if you care about licensing and want to credit me in your own project.
//
#include <Windows.h>
#include <winternl.h>
//this requires being able to run at kernel mode and assumes you're using MSVC
//this also uses an unnamed structure for cr0_t, which is a nonstandard extension of the C language
//data structure for cr0
typedef union _cr0_t
{
struct
{
uint64_t protection_enable : 1;
@x1tan
x1tan / spiegelplusplus.js
Last active March 18, 2018 13:34
Spiegel++
// ==UserScript==
// @name Spiegel++
// @namespace http://tampermonkey.net/
// @version 0.9
// @description Spiegel++ is an enhancement tool for better usability while browsing spiegel.de (e.g. free spiegel plus articles, content related to bento.de removed)
// @author xitan
// @match http://www.spiegel.de/*
// @updateURL https://gist.github.com/x1tan/022723987fb86c84eb22c7d8aee9203a/raw
// ==/UserScript==