Skip to content

Instantly share code, notes, and snippets.

@dibsy
Created September 23, 2017 18:08
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 dibsy/861ea43b9d702c8db868cc9ccd72eb31 to your computer and use it in GitHub Desktop.
Save dibsy/861ea43b9d702c8db868cc9ccd72eb31 to your computer and use it in GitHub Desktop.
typedef struct _PEB {
BYTE Reserved1[2];
BYTE BeingDebugged;
BYTE Reserved2[1];
PVOID Reserved3[2];
PPEB_LDR_DATA Ldr;
PRTL_USER_PROCESS_PARAMETERS ProcessParameters;
BYTE Reserved4[104];
PVOID Reserved5[52];
PPS_POST_PROCESS_INIT_ROUTINE PostProcessInitRoutine;
BYTE Reserved6[128];
PVOID Reserved7[1];
ULONG SessionId;
} PEB, *PPEB;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment