> For the complete documentation index, see [llms.txt](https://documentation.hak5.org/shark-jack/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://documentation.hak5.org/shark-jack/managing-payloads/untitled.md).

# 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.

{% hint style="info" %}
The `UPDATE_PAYLOADS` command was introduced with firmware 1.2.0 on the Shark Jack Cable and requires an internet connection.&#x20;
{% endhint %}

{% hint style="success" %}
In many cases an Internet connection may be enabled in Arming mode by issuing the command `NETMODE DHCP_CLIENT`.
{% endhint %}

## Usage

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

{% hint style="warning" %}
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.
{% endhint %}

## 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.
