Skip to content

Instantly share code, notes, and snippets.

Working from home

Bill Demirkapi D4stiny

Working from home
View GitHub Profile

Keybase proof

I hereby claim:

To claim this, I am signing this object:

D4stiny / LowUtilities.cpp
Last active Jun 23, 2021
A dependency-less implementation of GetModuleHandle and GetProcAddress.
View LowUtilities.cpp
// 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>
View gist:31c0523b5bb824085ceb809ed214f193
D4stiny / gist:f339cbac4a9f8f2eeec63778bf546f28
Created Feb 4, 2021
Hello stranger, another hash for my collection.
View gist:f339cbac4a9f8f2eeec63778bf546f28
View gist:c5309533b3b07cb5f6067757e449a759
D4stiny /
Created Sep 16, 2020
Corrupts macro documents to prevent static analysis by anti-virus while still allowing for the document to be opened in Microsoft Word.
import sys
import zipfile
import random
def get_zip_file_header_offset(zip_filename, target_filename):
Parse the file header offset for a target_filename.
:param zip_filename: The name of the zip file to read.
:param target_filename: The name of the file to find the header of.