Skip to content

Raspiducky

Go Version Linux Kernel USB Gadget License MIT

High-Performance USB Gadget & DuckyScript Appliance


Key Features

  • Single Binary Architecture: Built in modern Golang with zero runtime external dependencies and an embedded Web UI via go:embed.
  • Linux Kernel ConfigFS: Direct interaction with /sys/kernel/config/usb_gadget and /dev/hidg* char devices for dynamic gadget configuration without reboots.
  • Dual Scripting Engine: Native execution of standard Hak5 Rubber Ducky scripts (.txt) and advanced ECMAScript 5.1+ JavaScript payloads (.js).
  • Host LED Listener: Monitors output reports from /dev/hidg0 (NUMLOCK, CAPSLOCK, SCROLLLOCK) enabling target-host synchronization and trigger-based execution.
  • Web Dashboard & REST API: Modern dark-mode SPA with real-time WebSocket log streaming, script editor, job manager, and live gadget controls.
  • Multi-Board Support: Cross-compiled binaries for ARMv6, ARMv7, ARM64, and AMD64 targeting Raspberry Pi Zero, Pi 3, Pi 4, Pi 5, Orange Pi, and NanoPi.

Main Dashboard & Gadget Control Script Editor & Live Execution Console Payload Library & Job Manager
Main Dashboard Script Editor Payload Library

Documentation Topics