Linux command
steghide 命令
文本
复制后可按需替换文件名、目录或参数。
常用示例
Embed
steghide embed -cf [path/to/image.jpg] -ef [path/to/data.txt]
Extract
steghide extract -sf [path/to/image.jpg]
Example
steghide info [path/to/file.jpg]
Example
steghide embed -cf [path/to/image.jpg] -ef [path/to/data.txt] -z 9
Example
steghide encinfo
Example
steghide embed -cf [path/to/image.jpg] -ef [path/to/data.txt] -e blowfish cbc
Example
steghide extract -sf [path/to/image.jpg] -xf [path/to/output.txt]
说明
steghide is a steganography tool that hides data within JPEG, BMP, WAV, and AU files. It compresses and encrypts the secret data before embedding it in positions that preserve the cover file's statistical properties, making detection difficult. The tool uses a graph-theoretic approach to find optimal embedding positions. Default encryption is AES-128 in CBC mode with a user-provided passphrase. The embedded data's integrity is verified using CRC32 checksums.
参数
- -cf, --coverfile _file_
- Cover file for embedding
- -ef, --embedfile _file_
- File to embed (stdin if omitted)
- -sf, --stegofile _file_
- Stego file (input for extract, output for embed)
- -xf, --extractfile _file_
- Output filename for extracted data
- -e, --encryption _algo_ _mode_
- Encryption algorithm and mode (default: rijndael-128 cbc)
- -z, --compress _level_
- Compression level 1-9
- -Z, --dontcompress
- Skip compression
- -p, --passphrase _pass_
- Supply passphrase
- -K, --nochecksum
- Omit CRC32 checksum
- -N, --dontembedname
- Don't embed original filename
- -f, --force
- Overwrite existing files
- -v, --verbose
- Detailed output
- -q, --quiet
- Suppress messages
FAQ
What is the steghide command used for?
steghide is a steganography tool that hides data within JPEG, BMP, WAV, and AU files. It compresses and encrypts the secret data before embedding it in positions that preserve the cover file's statistical properties, making detection difficult. The tool uses a graph-theoretic approach to find optimal embedding positions. Default encryption is AES-128 in CBC mode with a user-provided passphrase. The embedded data's integrity is verified using CRC32 checksums.
How do I run a basic steghide example?
Run `steghide embed -cf [path/to/image.jpg] -ef [path/to/data.txt]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does -cf, --coverfile _file_ do in steghide?
Cover file for embedding