Hacker News new | ask | show | jobs
by netsharc 701 days ago
To expand on it: they converted the recovery codes to barcodes, and used the fact that the scanner works as a keyboard, to scan the codes off the screen and input it to the correct machine (the machine where the scanner is plugged into)

Reminds me of someone experimenting with a public transport vending machine that had a barcode scanner (IIRC because you can scan an old ticket to purchase the same type of ticket, e.g. weekly ticket, etc), he made barcodes which encoded control keys to see how the computer behind it would react.

2 comments

I've seen a communal machine with a long IT policy compliant password and logout timer with the account avatar set to a QR code of the password and a barcode scanner provided.
> he made barcodes which encoded control keys to see how the computer behind it would react.

Crazy, I didn't think that was possible, turns out at least Code 128 can map all of US-ASCII [1]. Wonder how the control characters translate to keyboard keycodes internally.

[1] https://en.wikipedia.org/wiki/Code_128