Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

VirtualQuery #1

Open
FreeAlbatross opened this issue Jul 18, 2023 · 0 comments
Open

VirtualQuery #1

FreeAlbatross opened this issue Jul 18, 2023 · 0 comments

Comments

@FreeAlbatross
Copy link

FreeAlbatross commented Jul 18, 2023

Hello sir,
#define CALL_STACK_TYPE 0

i tried use it for VirtualQuery but i get exception
uintptr_t baseaddress = 0x1111;
sConfig.SpoofFunctionPointer = (PVOID)GetProcAddress(kernelBase, "VirtualQuery"); // tested with Kernel32 too
sConfig.Nargs = 3;
sConfig.Arg01 = (PVOID)baseaddress ; // test
sConfig.Arg02 = &memoryInfo;
sConfig.Arg03 = (PVOID)sizeof(memoryInfo);

if i turn to CALL_STACK_TYPE 1 , it work

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant