whid-injector / WHID

WiFi HID Injector - An USB Rubberducky / BadUSB On Steroids.
MIT License
1.67k stars 244 forks source link

Possible to inject payloads when target connects to AP? #45

Closed clearlyunseen closed 5 years ago

clearlyunseen commented 5 years ago

Im looking for a way to set up the cactus as an AP that runs a script on any device that connects to it. Is this possible?

kratos13 commented 5 years ago

I mean... it is an AP, that runs DHCP... so, in theory, you could write a script that recognizes when an IP address has been handed out, and then execute "x" script. I haven't played with my cactus in a while (the payload size is too small to run what I need), but still a really fun tool for POC's.

krakrukra commented 5 years ago

No, it's not possible. WHID is basically a remotely controlled keyboard, plugged into a particular machine. That means you can not type into any other machine, since WiFi routers (access points) do not send keystrokes over network.