Packet Squirrel
  • Packet Squirrel by Hak5
  • Getting Started
    • Packet Squirrel Basics
    • USB Flash Disk Support
    • Default Settings
    • LED Status Indications
    • Selecting and Adding Payloads
  • Default Payloads
    • Logging Network Traffic
    • Spoofing DNS
    • OpenVPN Payload
  • Internet Connectivity
    • Getting the Packet Squirrel Online
  • Software Updates
    • Upgrading Firmware
    • Manual Upgrade
  • Payload Development
    • Payload Development Basics
    • Ducky Script for Packet Squirrel
    • The NETMODE Command
    • The LED Command
    • The SWITCH Command
    • The BUTTON Command
    • Included Tools
  • Troubleshooting
    • Firmware Recovery
    • Factory Reset
    • FAQ
Powered by GitBook
On this page

Was this helpful?

  1. Payload Development

The SWITCH Command

SWITCH is a Ducky Script command for the Packet Squirrel which will report back the current position of the hardware payload selection switch. It may be used by advanced payloads as a toggle where user input is required.

The command will output either “switch1”, “switch2”, “switch3” or “switch4”

Last updated 3 years ago

Was this helpful?