From 734ce73b1f57301ba96938761565096f78c4257d Mon Sep 17 00:00:00 2001 From: phk Date: Fri, 10 Nov 2023 22:10:34 +0100 Subject: [PATCH] The FlipperZero/BadUSB/Ducky way --- README.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/README.md b/README.md index a023c9c..e3fc2a4 100644 --- a/README.md +++ b/README.md @@ -831,3 +831,16 @@ echo "pub fn main() !noreturn { unreachable; }" > vimkill.zig; zig build-exe vim ``` This eventually [exhausts memory](https://github.com/ziglang/zig/issues/3461) on the machine which gives the OOM killer a chance to kill vim. + +## The Flipper Zero / BadUSB / Ducky Script way + +Credit: @0xphk + +``` +DELAY 1000 +ESCAPE +DELAY 500 +STRING :q! +DELAY 500 +ENTER +``` \ No newline at end of file