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
  • Usage
  • Troubleshooting

Was this helpful?

  1. Managing Payloads

The UPDATE_PAYLOADS Command

The UPDATE_PAYLOADS command will synchronize the local payload library (stored in /root/payload/library/) with the repository online. This command is expected to be run from Arming Mode, and is intended for use with the Shark Jack Cable.

The UPDATE_PAYLOADS command was introduced with firmware 1.2.0 on the Shark Jack Cable and requires an internet connection.

In many cases an Internet connection may be enabled in Arming mode by issuing the command NETMODE DHCP_CLIENT.

Usage

root@shark:~# UPDATE_PAYLOADS
Downloading payloads repository...
Successfully syncronized payloads repository.
root@shark:~# 

The UPDATE_PAYLOADS command will make an Internet connection to github.com/hak5. Consider updating your payloads before connecting to the client site network on any physical engagement.

Troubleshooting

If you receive an Internet connection error like the following:

You must have an internet connection to sync the payload libraries.

Check to ensure that the eth0 interface has an Internet connection. If the IP address is statically assigned to 172.16.24.1, rather than an address on the target network via DHCP, run the NETMODE DHCP_CLIENT command and try UPDATE_PAYLOADS again.

Last updated 3 years ago

Was this helpful?