项目作者: KevCui

项目描述 :
:secret: Hide/Reveal secret message using zero-width characters
高级语言: Shell
项目地址: git://github.com/KevCui/0wstego.git
创建时间: 2019-09-28T13:51:19Z
项目社区:https://github.com/KevCui/0wstego

开源协议:Do What The F*ck You Want To Public License

下载


" class="reference-link">0wstego CI

0wstego \ō-ste-gə\ is a script using zero-width characters to hide secret message inside normal message. It’s also capable to reveal secret message encoded by itself for sure :simple_smile:.

How to use

  1. Usage:
  2. ./0wstega.sh [-d|-f <file_path>]
  3. Options:
  4. Without any parameters, encode message
  5. -d Decode message
  6. -f <file_path> Decode message in file
  7. -h | --help Display this help message
  • Encode message, recommend piping output text to clipboard directly using xclip or pbcopy:
  1. ~$ ./0wstego.sh | xclip -selection clipboard
  2. Visible message: this is a visible sentence.
  3. Secret message to hide: secret message
  • Decode message from prompt:
  1. ~$ ./0wstego.sh -d
  2. Paste encoded message here: <paste>
  • Decode message from file:
  1. ~$ ./0wstego.sh -f ~/secret.md

Run tests

  1. ~$ bats test/0wstego.bats

0wstego is heavily inspired by zero-width-detection.