Format fixes in 2000/anderson/README.md
I observed something strange though: the author noted the output of the input 'Hello, world!' and it doesn't appear to match the program before or after the fgets() change. I'm not sure if this is a bug or if it is (as I guess) a formatting problem.
This commit is contained in:
1 parent
4b235c9c3b
commit
305c8ce3e9
1 file changed
+4
-2
@@ -36,7 +36,7 @@ organizer; just in case you are stranded on a desert island and need to
|
|||||||
signal your distress to passing ships.
|
signal your distress to passing ships.
|
||||||
|
|
||||||
The obfuscation in this program is truly masterful. The program is
|
The obfuscation in this program is truly masterful. The program is
|
||||||
very cleverly obscured without the use of a single #define!
|
very cleverly obscured without the use of a single `#define`!
|
||||||
Reformatting this program by hand :-) is the easiest way to understand
|
Reformatting this program by hand :-) is the easiest way to understand
|
||||||
what is going on.
|
what is going on.
|
||||||
|
|
||||||
@@ -52,6 +52,7 @@ output as a depiction of a person holding two flags, using only ASCII
|
|||||||
characters (semaphore smileys, if you will). For example, given the
|
characters (semaphore smileys, if you will). For example, given the
|
||||||
input "Hello, world!", the output will be:
|
input "Hello, world!", the output will be:
|
||||||
|
|
||||||
|
```
|
||||||
<> <> <> <> <> <>
|
<> <> <> <> <> <>
|
||||||
_() ()/ ()/ ()/ _\) () (/_ _\)
|
_() ()/ ()/ ()/ _\) () (/_ _\)
|
||||||
[] /^ |^^ /^^ /^^ [] ^^ |^^| ^^ [] [] ^^
|
[] /^ |^^ /^^ /^^ [] ^^ |^^| ^^ [] [] ^^
|
||||||
@@ -63,6 +64,7 @@ input "Hello, world!", the output will be:
|
|||||||
[] ^^ [] /^^ ^^| |^^|
|
[] ^^ [] /^^ ^^| |^^|
|
||||||
][ <>][ ][] [][]
|
][ <>][ ][] [][]
|
||||||
|
|
||||||
|
```
|
||||||
|
|
||||||
The program is obfuscated without the use of the preprocessor or any
|
The program is obfuscated without the use of the preprocessor or any
|
||||||
special compilation parameters. In fact, the program doesn't even
|
special compilation parameters. In fact, the program doesn't even
|
||||||
@@ -74,7 +76,7 @@ statements to format the code properly.) There is a single string
|
|||||||
constant which encodes the flag positions and other data needed for
|
constant which encodes the flag positions and other data needed for
|
||||||
drawing the semaphore codes.
|
drawing the semaphore codes.
|
||||||
|
|
||||||
The preprocessor will provide no help in un-obfuscating this code, and a
|
The preprocessor will provide no help in de-obfuscating this code, and a
|
||||||
C beautifier won't get you very far either. You just have to crunch
|
C beautifier won't get you very far either. You just have to crunch
|
||||||
through it.
|
through it.
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user