Skip to content

Instantly share code, notes, and snippets.

View zouxianyu's full-sized avatar

zouxianyu zouxianyu

  • Nankai University
  • Ethereum
View GitHub Profile
@RangeMachine
RangeMachine / shellcode.cpp
Last active November 27, 2023 19:06
BattlEye EFT shellcode
// positive sp value has been detected, the output may be wrong!
__int64 __fastcall sub_119(__int64 a1, __int64 a2, __int64 a3, __int64 a4, char *a5)
{
void *v5; // rsp
__int64 v6; // rax
__int64 v7; // rax
__int64 v8; // rax
__int64 v9; // rax
__int64 v10; // rax
unsigned int v11; // eax
@ih2502mk
ih2502mk / list.md
Last active July 18, 2025 14:10
Quantopian Lectures Saved
@GeneralTesler
GeneralTesler / refl.cpp
Last active November 3, 2024 05:39
PoC using RtlCreateProcessReflection + MiniDumpWriteDump to dump lsass.exe process memory
#include <Windows.h>
#include <iostream>
#include <DbgHelp.h>
#include <processsnapshot.h>
#include <TlHelp32.h>
#include <processthreadsapi.h>
//process reflection stuff copied from: https://github.com/hasherezade/pe-sieve/blob/master/utils/process_reflection.cpp
//minidump/process searching copied from: https://ired.team/offensive-security/credential-access-and-credential-dumping/dumping-lsass-passwords-without-mimikatz-minidumpwritedump-av-signature-bypass
//compile using: cl.exe refl.cpp /DUNICODE