Shark Jack
  • The Shark Jack by Hak5
  • Getting Started
    • Shark Jack Basics
    • Default Settings
  • Beginner Guides
    • Unboxing and Setup
    • Using sharkjack.sh
    • Two Key Commands
    • Writing a Simple Payload
  • Software Updates
    • Manual Upgrade
    • Over-the-Air Upgrade
  • Writing Payloads
    • Payload Development Basics
    • The NETMODE Command
    • The LED Command
    • The SWITCH Command
    • The BATTERY Command
    • The SERIAL_WRITE Command
    • The Cloud C2 commands
    • Included Tools
  • Managing Payloads
    • The UPDATE_PAYLOADS Command
    • The LIST Command
    • The ACTIVATE Command
  • Troubleshooting
    • Firmware Recovery
  • Tips & Tricks
    • Charge the Shark Jack from your Phone
    • Using the Shark Jack with the Plunder Bug as a simple switch
    • Android Serial Setup for Shark Jack Cable
  • Product Information
    • Specifications
    • Important Safety Information and Warnings
Powered by GitBook
On this page

Was this helpful?

  1. Writing Payloads

The BATTERY Command

BATTERY is a Ducky Script command which will output the current battery state.

State

Note

discharging

The battery is discharging

full

The battery is full

charging

The battery is charging

The BATTERY command is specific to the original Shark Jack and is not applicable for the Shark Jack Cable variant as it does not include a built-in battery.

Last updated 3 years ago

Was this helpful?