Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Control BadUSB Input Events from Phone App in realtime #984

Open
christianhauff opened this issue Nov 7, 2024 · 1 comment
Open

Control BadUSB Input Events from Phone App in realtime #984

christianhauff opened this issue Nov 7, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@christianhauff
Copy link

I regularly use my Flipper Zero when I have to control devices, that don't have an attached keyboard, but I need to press some button e.g. to get into a setup menu. Therefore I connect the flipper using an USB cable and the HID Controllers' Keyboard Emulation. That saves me carrying around a whole keyboard for just pressing a single key. But typing more text than just a single key is of course quite fiddly with the keyboard emulation on the Flipper.

Is it technically possible to send BadUSB input events from the Flipper App on my phone, that are typed over USB in realtime? So inside the Android app, I could open a keyboard, type text, which is transmitted via Bluetooth to the Flipper, which emulates them over USB.

Of course I could write a BadUSB-Script and play that afterwards, but being able to type over the phone in realtime would be quite useful, when doing something interactively.

Besides the implementation in the Smartphone app, I guess that would need an according implementation in the Flipper firmware. Is this idea technically possible or am I missing something?

@LionZXY
Copy link
Member

LionZXY commented Nov 11, 2024

This is theoretically possible, but you need to do the following:

  • Add firmware-side RPC support for BadUSB commands
  • Add iOS/Android support

When we have time, we can look into this. However anyone else in the community can do it too, I'd be happy to add BadUSB support if it's firmware side

@LionZXY LionZXY added the enhancement New feature or request label Nov 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants