Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Steganography tool

License

NotificationsYou must be signed in to change notification settings

vvh413/s739

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

68 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Steganography tool

Features

  • Image containers:
    • 8-bit RGB/RGBA PNG
    • JPEG
  • Supports plain text, files and stdin
  • LSB algorithm
  • Secret key for random steps between pixels
  • Shell completions

Installation

Static build from releases

curl -sL https://github.com/vvh413/s739/releases/latest/download/s739 --output~/.local/bin/s739chmod +x~/.local/bin/s739

Build from source

git clone https://github.com/vvh413/s739cd s739cargo install --path. --features cli

Shell completions

Add the following to your shell config file (~/.bashrc,~/.zshrc, etc.):

  • bash:
eval"$(s739 generate bash)"
  • zsh:
eval"$(s739 generate zsh)"
  • fish:
s739 generate fish|source

Supported shells: bash, zsh, fish, elvish, powershell.

Usage

$ s739 -h Steganography toolUsage: s739<COMMAND>Commands:  encode    Encode data to image  decode    Decode data from image  generate  Generate shell completionshelp      Print this message or thehelp of the given subcommand(s)Options:  -h, --help     Printhelp  -V, --version  Print version

Encode

$ s739 encode -h Encode data to imageUsage: s739 encode [OPTIONS] --input<INPUT> --output<OUTPUT><--text<TEXT>|--file<FILE>|--stdin>Options:  -i, --input<INPUT>          Input file  -o, --output<OUTPUT>          Output file      --png-compression<COMPRESSION>          PNG compressiontype [default: fast] [possible values: default, fast, best]      --png-filter<FILTER>          PNG filtertype [default: adaptive] [possible values: no, sub, up, avg, paeth, adaptive]      --jpeg-compress-profile<COMPRESS_PROFILE>          MozJPEG compression profile [default: max] [possible values: max, fastest]  -t, --text<TEXT>          Encode plain text data  -f, --file<FILE>          Encode file  -s, --stdin          Read data from stdin  -k, --key<KEY>          Secret key      --selective          Skip some DCT coefsfor JPEG      --depth<DEPTH>          Depth (least bit to use) [default: 0]      --bits<BITS>          Number of bits per single image unit (pixel/DCT coef) [default: 1]      --jpeg-comp<JPEG_COMP>          JPEG component index      --max-step<MAX_STEP>          Overwrite calculated max step  -h, --help          Printhelp

Decode

$ s739 decode -hDecode data from imageUsage: s739 decode [OPTIONS] --input<INPUT>Options:  -i, --input<INPUT>          Input file  -f, --file<FILE>            Write data to file  -k, --key<KEY>              Secret key      --selective              Skip some DCT coefsfor JPEG      --depth<DEPTH>          Depth (least bit to use) [default: 0]      --bits<BITS>            Number of bits per single image unit (pixel/DCT coef) [default: 1]      --jpeg-comp<JPEG_COMP>  JPEG component index      --max-step<MAX_STEP>    Overwrite calculated max step  -h, --help                   Printhelp

[8]ページ先頭

©2009-2025 Movatter.jp