2016-04-21 13:59:08 -07:00
|
|
|
No More Secrets
|
|
|
|
===============
|
|
|
|
|
2017-01-11 17:37:38 -08:00
|
|
|
This project provides a command line tool called `nms` that recreates the
|
|
|
|
famous data decryption effect seen on screen in the 1992 hacker movie Sneakers.
|
|
|
|
For reference, you can see this effect at 0:35 in [this youtube video](https://www.youtube.com/watch?v=F5bAa6gFvLs&t=35).
|
2016-04-25 10:40:19 -07:00
|
|
|
|
2017-01-11 17:37:38 -08:00
|
|
|
This command works on piped data. Pipe any ASCII or UTF-8 text to `nms`,
|
|
|
|
and it will apply the effect to it, initially showing "encrypted" data,
|
|
|
|
then starting a decryption sequence to reveal the original plaintext data.
|
2016-04-25 11:14:28 -07:00
|
|
|
|
2017-01-10 16:24:10 -08:00
|
|
|
![Screenshot](http://www.brianbarto.info/extern/images/nms/nms.gif)
|
2016-04-25 11:14:28 -07:00
|
|
|
|
2017-01-11 17:37:38 -08:00
|
|
|
Also included in this project is a program called `sneakers` that recreates
|
|
|
|
what we see in the above movie clip. Note that this program requires the
|
|
|
|
user to select one of the menu options before it terminates.
|
2016-04-25 10:41:19 -07:00
|
|
|
|
2017-01-10 16:24:10 -08:00
|
|
|
![Screenshot](http://www.brianbarto.info/extern/images/nms/sneakers.gif)
|
2016-04-21 13:59:08 -07:00
|
|
|
|
2017-01-11 17:37:38 -08:00
|
|
|
Table of Contents
|
|
|
|
-----------------
|
2016-04-22 13:25:21 -07:00
|
|
|
|
2017-01-11 17:37:38 -08:00
|
|
|
1. [Download and Install](#download-and-install)
|
|
|
|
2. [Usage](#usage)
|
|
|
|
3. [License](#license)
|
2016-04-21 13:59:08 -07:00
|
|
|
|
2017-01-11 17:37:38 -08:00
|
|
|
Download and Install
|
|
|
|
--------------------
|
2016-04-21 13:59:08 -07:00
|
|
|
|
2017-01-11 17:37:38 -08:00
|
|
|
In order to download and build this project, you will need to have `git`,
|
|
|
|
`gcc`, and `make` installed. Install them from your package manager if not
|
|
|
|
already installed.
|
2016-04-21 13:59:08 -07:00
|
|
|
|
|
|
|
```
|
2017-01-11 17:37:38 -08:00
|
|
|
$ which make
|
|
|
|
/usr/bin/make
|
2016-09-18 10:37:15 -07:00
|
|
|
|
2017-01-11 17:37:38 -08:00
|
|
|
$ which gcc
|
|
|
|
/usr/bin/gcc
|
2016-04-22 13:25:21 -07:00
|
|
|
|
2017-01-11 17:37:38 -08:00
|
|
|
$ which git
|
|
|
|
/usr/bin/git
|
2016-05-01 14:09:38 -07:00
|
|
|
```
|
2016-04-25 13:45:52 -07:00
|
|
|
|
2017-01-11 17:37:38 -08:00
|
|
|
See the [INSTALL](INSTALL.md) file for a list of instructions for various
|
|
|
|
operating systems.
|
2016-04-26 11:22:34 -07:00
|
|
|
|
2017-01-11 17:37:38 -08:00
|
|
|
Usage
|
|
|
|
-----
|
2016-04-25 14:40:09 -07:00
|
|
|
|
2017-01-11 17:37:38 -08:00
|
|
|
`nms` works on piped data. All ASCII and UTF-8 character sets should be
|
|
|
|
supported.
|
2016-04-25 14:40:09 -07:00
|
|
|
|
2017-01-11 17:37:38 -08:00
|
|
|
After the initial "encrypted" characters are displayed, `nms` will wait
|
|
|
|
for the user to press a key before it starts the decryption sequence.
|
2016-04-25 13:45:52 -07:00
|
|
|
|
|
|
|
```
|
2017-01-11 17:37:38 -08:00
|
|
|
ls -l / | nms
|
|
|
|
ls -l / | nms -a // Set auto-decrypt flag
|
|
|
|
ls -l / | nms -f green // Set foreground color to green
|
2016-04-25 14:18:43 -07:00
|
|
|
```
|
2016-09-18 10:37:15 -07:00
|
|
|
|
2017-01-11 17:37:38 -08:00
|
|
|
#### Command Line Options
|
2016-09-18 10:37:15 -07:00
|
|
|
|
2017-01-11 17:37:38 -08:00
|
|
|
`-a`
|
2016-04-26 08:40:42 -07:00
|
|
|
|
2017-01-11 17:37:38 -08:00
|
|
|
This option sets the auto-decrypt flag. This will automatically start the
|
|
|
|
decryption sequence without a key press.
|
2016-04-25 15:10:43 -07:00
|
|
|
|
2017-01-11 17:37:38 -08:00
|
|
|
`-f color`
|
2016-09-18 10:37:15 -07:00
|
|
|
|
2017-01-11 17:37:38 -08:00
|
|
|
This option sets the foreground color of the decrypted text to the color
|
|
|
|
specified. Valid options are white, yellow, black, magenta, blue, green,
|
|
|
|
or red. This is blue by default.
|
2016-04-25 13:45:52 -07:00
|
|
|
|
2016-04-22 13:25:21 -07:00
|
|
|
License
|
|
|
|
-------
|
|
|
|
|
2017-01-11 17:37:38 -08:00
|
|
|
This program is free software; you can redistribute it and/or modify it
|
|
|
|
under the terms of the the MIT License (MIT). See [LICENSE](LICENSE) for
|
|
|
|
more details.
|