Updated comments

This commit is contained in:
Derek Jamison 2024-04-06 08:17:05 -05:00
parent 63154ff02d
commit fe2480db16

View File

@ -2,8 +2,9 @@
// demo is based on lots of the previous scripts that were shared // demo is based on lots of the previous scripts that were shared
// in the Momentum Discord channel. // in the Momentum Discord channel.
// Parts of this script were demonstrated in Talking Sasquach's video // The payloads in this script were demonstrated in
// https://youtu.be/8USI98_5GeU?t=447 // Talking Sasquach's video https://youtu.be/8USI98_5GeU?t=447
//
// The improvements are: // The improvements are:
// - Populating the USB drive with payloads. // - Populating the USB drive with payloads.
// - PowerShell polling for the USB drive to be attached. // - PowerShell polling for the USB drive to be attached.
@ -13,11 +14,16 @@
// - PowerShell ejecting the USB drive when done. // - PowerShell ejecting the USB drive when done.
// - Displaying the results on the Flipper screen. // - Displaying the results on the Flipper screen.
// For documentation on configuration see:
// https://github.com/jamisonderek/flipper-zero-tutorials/blob/main/js/badusb/README.md
let badusb = require("badusb"); let badusb = require("badusb");
let usbdisk = require("usbdisk"); let usbdisk = require("usbdisk");
let storage = require("storage"); let storage = require("storage");
let textbox = require("textbox"); let textbox = require("textbox");
// ************
// IMPORTANT: Be sure this matches your computer keyboard layout!!!
// See /ext/badusb/assets/layouts/ for list of supported keyboard layouts. // See /ext/badusb/assets/layouts/ for list of supported keyboard layouts.
let layout = "en-US"; let layout = "en-US";