Skip to content

Instantly share code, notes, and snippets.

View rad9800's full-sized avatar
💭
I may be slow to respond.

rad9800

💭
I may be slow to respond.
View GitHub Profile
We can't make this file beautiful and searchable because it's too large.
.dll names start with #,Hash,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
API Name ,0x0,0x1,0x2,0x3,0x4,0x5,0x6,0x7,0x8 ,0x9,0xA,0xB,0xC,0xD,0xE,0xF,0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1a,0x1b,0x1c,0x1d,0x1f,
#advapi32.dll,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
A_SHAFinal, 0x00000366, 0xcd8000cd, 0x207b408d, 0x1176ff9a, 0x94da5e05, 0xe55e8219, 0x201a8b76, 0xf5e52c56, 0xe3b6bd11, 0xf1c52e36, 0xaab636d1, 0xb31a99ba, 0xe26ba2e1, 0xb52e8e6d, 0xe027ce65, 0xb7aa7784, 0x019f01c7, 0x5f406f0d, 0x6af8f60f, 0x5c9eb472, 0x83806f5f, 0x9b11cc66, 0xcc44df4b, 0xdc4345f8, 0xbcb6e411, 0x4ce2d319, 0x984b493c, 0x869ec636, 0x7c5d08f0, 0x72a5d0f6, 0x017dad10,
@rad9800
rad9800 / create_iso.cpp
Created July 1, 2022 17:00 — forked from daaximus/create_iso.cpp
create iso using imapi
#include <string>
#include <atlbase.h>
#include <imapi2fs.h>
void create_iso( std::wstring_view src, std::wstring_view iso_path )
{
HRESULT hr;
IFileSystemImage* fsimg;
IFsiDirectoryItem* fsdir;
IFileSystemImageResult* fsresult;
@rad9800
rad9800 / apihash.c
Last active October 4, 2023 00:47
Using macros and constexpr to make API hashing a bit more friendly
#include <Windows.h>
#include <winternl.h>
#pragma comment(linker, "/ENTRY:entry")
// Define hashing algorithm to use
#define HASHALGO HashStringDjb2
// Define how large you'd like cache to be
#define CACHE 50