Update GetPEBAlt.c

This commit is contained in:
vxunderground 2021-07-09 11:40:14 -05:00 committed by GitHub
parent 9425bc91fb
commit 3e9116a7fb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1,6 +1,3 @@
#include <windows.h>
#include "TEB.h"
PPEB GetPebAlt(VOID)
{
PTEB Teb;
@ -11,12 +8,3 @@ PPEB GetPebAlt(VOID)
#endif
return (PPEB)Teb->ProcessEnvironmentBlock;
}
INT main(VOID)
{
PPEB Peb;
Peb = GetPebAlt();
return ERROR_SUCCESS;
}