Skip to content
Nicolas Canceill edited this page Nov 10, 2013 · 2 revisions

Welcome to the pdf_hide wiki! This is a manual page for the command-line interface.

Please get started with the program before diving into this.

Manual for pdf_hide

Embeds data in a PDF file, or extracts embedded data from a PDF file.

pdf_hide [-o OUTPUT_FILE] [OPTS] {embed DATA_FILE | extract} PDF_FILE

Help/Version

pdf_hide {-h | --help}

Prints help for the program and exits

pdf_hide CMD {-h | --help}

Prints help for CMD (embed or extract) and exits

pdf_hide --version

Prints the version of the program and exits

Embedding

Usage

usage: pdf_hide [-o OUTPUT_FILE] [-k KEY] [-n NBITS] [-r RED]
                [-i [--custom-range]]
                [-v | -q]
                {embed | m} [--no-random] DATA_FILE PDF_FILE

Arguments

DATA_FILE — the binary data file to embed

PDF_FILE — the PDF file (may be compressed) to use as input

Options

-o FILENAME, --output FILENAME — use FILENAME as the output file

-k KEY, --key KEY — use KEY as the stego-key

-i, --improve — use algo improvements

--custom-range — use data in [-450,-250] without -333 and -334 (ignored with original algo, will force --no-random, will force NBITS to maximum 6)

-v, --verbose — set verbosity level, can be counted to increase — eg -vvv

-q, --quiet — force quiet output, exclusive with -v

-n NBITS, --nbits NBITS — use NBITS as the number of bits to use for numerals

-r RED, --redundancy RED — use RED as the redundancy parameter (strictly between 0 and 1)

--no-random — do not embed random values in unused operators

Extracting

Usage

usage: pdf_hide [-o OUTPUT_FILE] [-k KEY] [-n NBITS] [-r RED]
                [-i [--custom-range]]
                [-v | -q]
                {extract | x} PDF_FILE

Arguments

PDF_FILE — the PDF file (may be compressed) to use as input

Options

-o FILENAME, --output FILENAME — use FILENAME as the output file

-k KEY, --key KEY — use KEY as the stego-key

-i, --improve — use algo improvements

--custom-range — use data in [-450,-250] without -333 and -334 (ignored with original algo, will force NBITS to maximum 6)

-v, --verbose — set verbosity level, can be counted to increase — eg -vvv

-q, --quiet — force quiet output, exclusive with -v

-n NBITS, --nbits NBITS — use NBITS as the number of bits to use for numerals

-r RED, --redundancy RED — use RED as the redundancy parameter (strictly between 0 and 1)


Distributed under GPLv3. Copyright © 2013 Nicolas Canceill.