Shark Jack
Search…
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
The SERIAL_WRITE Command
The
SERIAL_WRITE
command will write any following text to the serial console. This is useful for adding meaningful output to a payload.
The ACTIVATE command was introduced with firmware 1.2.0 on the Shark Jack Cable.
Example
Add output to a payload with the following:
1
# Scan network
2
LED ATTACK
3
SERIAL_WRITE [*] Starting nmap scan...
4
nmap $NMAP_OPTIONS $SUBNET -oN $LOOT_DIR/nmap-scan_$COUNT.txt
Copied!
Using Variables
The
SERIAL_WRITE
command will parse any variables, much like the
echo
command.
1
[email protected]
:~# DATE=$(date)
2
[email protected]
:~# SERIAL_WRITE $DATE
3
Tue Aug 24 00:26:55 UTC 2021
4
[email protected]
:~#
Copied!
Writing Payloads - Previous
The BATTERY Command
Next - Writing Payloads
The Cloud C2 commands
Last modified
8mo ago
Copy link
Contents
Example
Using Variables