Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

extract

Extract a hidden payload from a stego cover.

Usage

shadowforge extract --input <FILE> --output <FILE> --technique <TECHNIQUE> [OPTIONS]

Options

OptionRequiredDescription
--inputYesPath to the stego file
--outputYesOutput path for the extracted payload
--techniqueYesSteganographic technique
--keyNoKey path for deniable extraction
--amnesiaNoRead from stdin, write to stdout

Examples

# Basic extraction
shadowforge extract \
  --input stego.png --output recovered.txt --technique lsb

# Extract with deniable key (real payload)
shadowforge extract \
  --input stego.png --output recovered.txt \
  --technique lsb --key ./primary.key

# Extract decoy payload (under compulsion)
shadowforge extract \
  --input stego.png --output decoy.txt \
  --technique lsb --key ./decoy.key

# Amnesiac extraction
cat stego.png | shadowforge extract \
  --output /dev/stdout --technique lsb --amnesia > recovered.txt