ansistego

ansistego is a software for terminal-level steganography of ASCII files.
Download

ansistego Ranking & Summary

Advertisement

  • Rating:
  • License:
  • GPL
  • Price:
  • FREE
  • Publisher Name:
  • flamoot
  • Publisher web site:

ansistego Tags


ansistego Description

ansistego is a software for terminal-level steganography of ASCII files. ansistego is a software for terminal-level steganography of ASCII files, using comments to allow a script in the hidden stream to execute normally. Viewed with 'cat', only the front stream will be visible. Interpreted as a script, it will be ignored.Given a text to hide (evil.py in the examples below) and a front text (eg harmless.txt), ansistego.py writes to stdout a new file in which the first lines are the commented-out contents of harmless.txt, with ANSI codes to disguise the comment string. It's followed by the code of evil.py, with every other line containing ANSI directives to move the cursor back to the start of the line before and clear it. The last line of harmless.txt appears at the end of the output to fill the space Python inserts when it emits a newline on closing stdout.Usage:$ # Our evil python script, which we wish to hide:$ cat evil.pyprint "This is the evil.py!!!"print "pwned?!"$$ # Our harmless memo:$ cat harmless.txtThis is a harmless text file.Get outta my home directory!D: stego.py.txt$$ # cat the output:$ cat stego.py.txtThis is a harmless text file.Get outta my home directory!D:_>$ # size of all three files:$ ls -la evil.py harmless.txt stego.py.txt-rw-r--r-$ # 1 root root 47 Mar 24 02:06 evil.py-rw-r--r-$ # 1 root root 65 Mar 24 02:42 harmless.txt-rw-r--r-$ # 1 root root 195 Mar 24 02:43 stego.py.txt$Yep$ # hexdump of the output:$ hexdump -C stego.py.txt00000000 23 1b 5b 31 44 1b 5b 4b 54 68 69 73 20 69 73 20 |#. bt ansistego-0.9 # cat stego.py.txtThis is a harmless text file.Get outta my home directory!D:


ansistego Related Software