Website Logo. Upload to /source/logo.png ; disable in /source/_includes/logo.html

Mocking Eye

'Tis all in vain? -- Hiding Text in Text Using Unicode

| Comments

I'm proudly presenting my latest little script: This is a steganography tool that can hide text within text that is unicode encoded, and has lots of diacritics. I'm exploiting a feature of unicode that allows characters with diacritics to be written either as a monolithic "composed" character that is a single symbol, or in a "decomposed" form in which the component symbols combine. These two different ways to represent the underlying characters are visually indistinguishable. This is where I'm hiding the secret plaintext.
Usage: [options]  >

Prints output to stdout by default.

  -h, --help            show this help message and exit
  -s, --steg            Hide plaintext in covertext to produce cyphertext.
                        URL to retrieve plaintext from
                        URL to retrieve covertext from
                        File to retrieve plaintext from
                        File to retrieve covertext from
  -b, --binary          Use if the plaintext is a string of 1s and 0s
  -e ENCODING, --encoding=ENCODING
                        Encoding of the covertext, if not unicode. See Python
                        codecs module for possible values.
  -u, --unsteg          Derive plaintext from cyphertext.
  --url-steg=URL_STEG   URL to retrieve cyphertext from
                        File to retrieve cyphertext from
  -o OUT, --out=OUT     Filename of output
To test: $ -s --url-cover "" -e latin5 -o steg.txt "this is a test" $ -u --file-steg steg.txt This software is distributed under a BSD license with the endorsement restriction clause removed.