[usbproxy] question about injectors

  • From: Jonathan Conway <jonco29@xxxxxxxxx>
  • To: usbproxy@xxxxxxxxxxxxx
  • Date: Tue, 23 Feb 2016 06:44:13 -0600

Hi,

i'm playing with usb proxy, and i rather like it.  however i am in the
beginning stages of my USB development (read novice).

I'm playing with your release tag (tried master, but i'm not sure of its
status).

anyway, I want to write a simple keyboard HID injector, but i'm not quite
sure of the data format that the code is expecting.

is it expecting a raw HID message, or is it expecting a Packet?

i've been digging through code and running GDB, but i can't quite convince
myself what it wants.

For instance, just as an understanding, I want to take the Packet logger
for a Keyboard, and for every key press, I want to inject a release and
then a press of the next numerical value of the key, and let the actual key
release be the release

i.e.
* i type 'j'
* 'j' press get tx'd
* I want to inject a release, inject a 'k' press
* 'j' is released

i figured as i'm playing, i could just write a little udp socket in the key
logger and send my release and fake press there.  does that make sense?


any quick hint would be appreciated.... and i'll keep playing in the
meantime.

thanks!

-jonathan conway

Other related posts: