flipperzero-firmware/applications/main
Roland Kammerer a1ede0a2fc
BadUSB: add SYSRQ keys (#1460)
This allows sending of SysRq keys[1]. This then for example allows
sending the well known 'reisub' commands to safely reboot a otherwise
frozen Linux box. Or obviously any of the other magic keys.

The advantage compared to sending it to /proc/sysrq-trigger is that one
does not need a shell and depending on how broken the system is, one
might not even be able to get a new shell. The SysRq keys still work.

The cost is adding a new/"non-standard" keyword, IMO it is worth it.

Example:
DEFAULTDELAY 200
DELAY 1000
SYSRQ r
SYSRQ e
SYSRQ i
SYSRQ s
SYSRQ u
SYSRQ b

If one really wants to test it, I suggest h(elp) or w(ait).

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

Co-authored-by: Aleksandr Kutuzov <alleteam@gmail.com>
2022-10-09 02:56:56 +09:00
..
archive [FL-976] Removing lambdas (#1849) 2022-10-09 02:38:29 +09:00
bad_usb BadUSB: add SYSRQ keys (#1460) 2022-10-09 02:56:56 +09:00
fap_loader More correct elf loader (#1839) 2022-10-08 02:06:29 +09:00
gpio [FL-976] Removing lambdas (#1849) 2022-10-09 02:38:29 +09:00
ibutton
infrared [FL-2870] Printf function attributes (#1841) 2022-10-07 22:35:15 +09:00
lfrfid [FL-976] Removing lambdas (#1849) 2022-10-09 02:38:29 +09:00
nfc [FL-976] Removing lambdas (#1849) 2022-10-09 02:38:29 +09:00
subghz [FL-976] Removing lambdas (#1849) 2022-10-09 02:38:29 +09:00
u2f [FL-976] Removing lambdas (#1849) 2022-10-09 02:38:29 +09:00
application.fam