Skip to content

A CLI tool to hide encrypted messages in a .png file written in rust

License

Notifications You must be signed in to change notification settings

Sxmon17/png-texter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

74 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

png-texter

A CLI tool to hide encrypted messages in a .png file written in rust.
Idea and Codestructure from pngme_book

💎 Features

  • Png chunk editor
  • Url as input source
  • Custom chunk type (password to decode)
  • Rich and colorful Cli
  • Gui
  • Web Interface
  • Chunk Viewer
  • Interface to send pngs over network

👾 Usage

🐧 Linux

   ~/png-texter help

🪟 Windows

   C:\png-texter.exe help


~/png-texter help

A simple png chunk message encoder/decoder

Usage: png-texter [OPTIONS] [COMMAND]

Commands:
  encode  encode the png with a secret message
  decode  decode the png to get the secret message
  remove  remove the chunk from the png
  help    Print this message or the help of the given subcommand(s)

Options:
  -c, --chunk-type <CHUNK_TYPE>  Sets the chunk type to use
  -h, --help                     Print help
  -V, --version                  Print version

~/png-texter help encode

encode the png with a secret message

Usage: png-texter encode [OPTIONS] [FILE] [SECRET_MSG]

Arguments:
  [FILE]        Png to encode
  [SECRET_MSG]  Secret message to encode within the png

Options:
  -o, --output <output>  Output png
  -u, --url <url>        source from url
  -h, --help             Print help

🔬 Examples

Path Source

image

Encode

~/png-texter -c "rust" encode -o "png_tests/encoded.png"  png_tests/example.png "Hello User!"

Decode

~/png-texter -c "rust" decode png_tests/encoded.png

Remove

~/png-texter -c "rust" remove png_tests/encoded.png

Url Source

image

Encode from url

~/png-texter encode -u "https://www.fnordware.com/superpng/pnggrad8rgb.png" png_tests/url_encoded.png "Hello User :)"

📝 License

Copyright © 2023 Simon Guglberger.
This project is MIT licensed.

If you find a bug or have an idea for a new feature, please open an issue or submit a pull request.