Skip to content

Instantly share code, notes, and snippets.

@hacksysteam
Created May 7, 2015 08:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hacksysteam/99b10384ccf42ae452db to your computer and use it in GitHub Desktop.
Save hacksysteam/99b10384ccf42ae452db to your computer and use it in GitHub Desktop.
Code Snippet of Header File for Use After Free Vulnerability in HackSys Extreme Vulnerable Driver
#ifndef __USE_AFTER_FREE_H__
#define __USE_AFTER_FREE_H__
#pragma once
#include "Common.h"
typedef struct _USE_AFTER_FREE {
FunctionPointer pCallback;
CHAR buffer[0x54];
} USE_AFTER_FREE, *PUSE_AFTER_FREE;
typedef struct _FAKE_OBJECT {
CHAR buffer[0x58];
} FAKE_OBJECT, *PFAKE_OBJECT;
#endif
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment