T
T
Tolik2014-08-01 12:02:24
linux
Tolik, 2014-08-01 12:02:24

Is it possible to reprogram a flash drive to a keyboard emulator?

That is, so that the flash drive is a keyboard and, when connected, "presses" some keys. Or is it necessary to make a device from scratch on a special programmable microcircuit for something like this?
UPD:
I succeeded via sudo cat /dev/sdc | head -n 4096 > usb_4096 read the first 4 KiB but I only found MBR there, no attachments or the like

Answer the question

In order to leave comments, you need to log in

4 answer(s)
T
throughtheether, 2014-08-01
@throughtheether

On the basis of a flash drive, I think it will be difficult to create something like that. If I were you, I'd look at teensy ( use case ) or USB Rubber ducky .

E
EXL, 2014-08-01
@EXL

Or is it necessary to make a device from scratch on a special programmable microcircuit for something like this?

Correct way of thinking. Such devices exist. Google " hacker business cards ".
After reading the instructions on the business card, its owner connects it to the computer's USB port, then launches Notepad, presses Caps Lock several times and sees a greeting / additional. information from a hacker, which is entered just by the keyboard emulation method.
A flash drive cannot be converted into such a device, however, you can put such hardware into the body of a flash drive.

D
Dmitry, 2014-08-01
@Dimitriys

we need to collective farm ourselves, a flash drive -
we take the old clave .... derbanim .... we add a primitive circuit that sequentially closes the necessary keys - profit
I confess ... I did it myself .... I had to turn on the program once when a person came in (April 1 ).
Arduino + ultrasonic sensor + relay closing the ENTER pins.
a program of a couple of lines, if the distance is less than xxx press enter.
and already in windows they left the focus on the shortcut of the desired program.

T
Taras M, 2014-08-01
@kalduntus

We take a clone of Arduino Uno v3 ($15+/-) flash it like a keyboard (there is an 8U controller, it allows you to flash it for anything) we roll the sketch, there is very little code, and voila

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question