https://github.com/kevcui/0wstego
:secret: Hide/Reveal secret message using zero-width characters
https://github.com/kevcui/0wstego
bash bash-script steganography zero-width-space
Last synced: about 1 month ago
JSON representation
:secret: Hide/Reveal secret message using zero-width characters
- Host: GitHub
- URL: https://github.com/kevcui/0wstego
- Owner: KevCui
- License: wtfpl
- Created: 2019-09-28T13:51:19.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2020-07-21T12:20:56.000Z (almost 6 years ago)
- Last Synced: 2025-03-26T17:40:31.643Z (about 1 year ago)
- Topics: bash, bash-script, steganography, zero-width-space
- Language: Shell
- Homepage:
- Size: 5.86 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 0wstego 
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
```
Usage:
./0wstega.sh [-d|-f ]
Options:
Without any parameters, encode message
-d Decode message
-f Decode message in file
-h | --help Display this help message
```
- Encode message, recommend piping output text to clipboard directly using `xclip` or `pbcopy`:
```
~$ ./0wstego.sh | xclip -selection clipboard
Visible message: this is a visible sentence.
Secret message to hide: secret message
```
- Decode message from prompt:
```
~$ ./0wstego.sh -d
Paste encoded message here:
```
- Decode message from file:
```
~$ ./0wstego.sh -f ~/secret.md
```
## Run tests
```
~$ bats test/0wstego.bats
```
## Related project
0wstego is heavily inspired by [zero-width-detection](https://github.com/umpox/zero-width-detection).