Xian55 / WowClassicGrindBot

Highly configurable and responsive World of Warcraft Classic pixel Grind Bot - No DLL injection or memory tampering, just screen capture and input simulation.
189 stars 127 forks source link

Is the way you send inputs undetectable? #611

Closed LeonardoFBR closed 4 months ago

LeonardoFBR commented 4 months ago

I have seen that they use “Interception”, drivers or even hardware to make mouse and keyboard inputs undetectable.

Xian55 commented 4 months ago

Hello.

Is the way you send inputs undetectable?

No, i don't think so. Most of the low level input logic is implemented in InputWindowsNative, which boils down to WinAPI call PostMessage.

At higher level i'm using randomization time technique in order to avoid static key down press durations.


In the past i've experimented implementing a hook, which overrides the LLMHF_INJECTED flag to 0, however it was unreliable due to the fact that it wasn't always loaded first in the chain, i deemed to be not worth the effort from my side. I've tried to use the following github repo