Update GetTEB.c

This commit is contained in:
vxunderground 2021-07-09 11:37:39 -05:00 committed by GitHub
parent 2d180d50fd
commit 22b9cfef14
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,6 +1,3 @@
#include <windows.h>
#include "TEB.h"
PTEB GetTeb(VOID)
{
#if defined(_WIN64)
@ -9,12 +6,3 @@ PTEB GetTeb(VOID)
return (PTEB)__readfsdword(0x18);
#endif
}
INT main(VOID)
{
PTEB Teb;
Teb = (PTEB)GetTeb();
return ERROR_SUCCESS;
}