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
  • C2CONNECT
  • C2CONNECT

Was this helpful?

  1. Writing Payloads

The Cloud C2 commands

Last updated 3 years ago

Was this helpful?

The Shark Jack is Cloud C2 enabled — meaning it can be used remotely with the Hak5 Cloud C2 server to exfiltrate loot or be managed from the web interface or web shell.

To provision the Shark Jack for Cloud C2 server, see the guide on .

C2CONNECT

Unlike some Hak5 devices, such as the WiFi Pineapple, the connection to Cloud C2 is not automatic. First, the C2CONNECT command must be run, either interactively (Shark Jack Cable) or from the payload.

If the C2CONNECT command fails, check the /tmp/cc-client-error.log file for "Error posting update to server" entries, which may indicate that the system clock is out of date. Verify with the date command, and if necessary rectify this with an NTP update manually using the command ntpd -q -p 1.openwrt.pool.ntp.org

C2CONNECT

With a Cloud C2 connection established, loot may be exfiltrated using the C2EXFIL command.

root@shark:~# C2EXFIL STRING /tmp/cc-client-error.log "The Cloud C2 error log"
Starting C2 Exfil Tool
Loot sent Successfully

adding devices