Skip to content

Instantly share code, notes, and snippets.

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

allanp0e

💭
I may be slow to respond.
View GitHub Profile
@allanp0e
allanp0e / create-msvcrt
Created May 5, 2022 07:32 — forked from SolomonSklash/create-msvcrt
Creating msvcrt.lib
# On Windows, within a VS developer prompt
# Dump the exports of msvcrt.dll
dumpbin.exe /exports C:\Windows\System32\msvcrt.dll > msvcrt.txt
# Copy msvcrt.txt to a Linux box
# Convert the file to Unix line endings
dos2unix msvcrt.txt
@allanp0e
allanp0e / NtMonitor.py
Created April 30, 2022 12:37 — forked from matterpreter/NtMonitor.py
Frida script to spawn a process and monitor Native API calls
import frida
import sys
def on_message(message, data):
if message['type'] == 'send':
print(message['payload'])
elif message['type'] == 'error':
print(message['stack'])
else:
print(message)