02-06-2022, 07:19 PM
I'm trying to load a PE into memory and run it, I tried to make a shellcode out of it but it's really huge file so I'll need a month trying to do that especially with my little experience.
this is the function used to load the PE image (which is the argument passed to the function).
The problem here is that when virtual-allocating a memory using VirtualAllocEx() it keeps returning 000000 and gets stuck in a loop of trying to allocate and get's 0 returned then kill the process created thn tries again.
But why does it return 0 constantly?
sometimes it just works right away but other times it doesn't it gets stuck in that loop.
this is the function used to load the PE image (which is the argument passed to the function).
The problem here is that when virtual-allocating a memory using VirtualAllocEx() it keeps returning 000000 and gets stuck in a loop of trying to allocate and get's 0 returned then kill the process created thn tries again.
But why does it return 0 constantly?
sometimes it just works right away but other times it doesn't it gets stuck in that loop.
Hidden Content