Become a leader in the IoT community!
New DevHeads get a 320-point leaderboard boost when joining the DevHeads IoT Integration Community. In addition to learning and advising, active community leaders are rewarded with community recognition and free tech stuff. Start your Legendary Collaboration now!
struct_def.txtstring_def.txtasm.txt
@marveeamasi The `ERROR_NOACCESS (0x3E6)` error in your `CreateThread` call is likely due to `memory access` or parameter issues. Ensure the `memory` where your `injected code` resides has proper `permissions` using `VirtualProtect` (`PAGE_EXECUTE_READWRITE`). Also, verify that the `stack` is `16-byte` aligned before calling `CreateThread`, and `re-check` that the parameters you’re passing are correct. If you’re injecting code into another process, make sure it allows execution of injected threads, and consider security features like DEP and ASLR that may need to be addressed.
I guess I am even complicating things the more . I need to calm down, and take my time to verify , altho I am under pressure doing this task
Yea coding might be more tasking at times and even cause severe headaches, that’s y u never 4get ur coffee ☕
So after further debugging, I found that I hadn’t correctly initialized the stack. Once I added the following initialization to the code, the keylogger started working correctly:
With this fix, the keylogger now works perfectly. Thanks for the help @enthernetcode
CONTRIBUTE TO THIS THREAD