convert spoiler filenames into deobfuscation filenames

This commit is contained in:
Landon Curt Noll committed 2024-07-01 01:02:40 -07:00
1 parent 3aec80f057
commit 85c991620f
94 files changed
+361 -363

No files matched your search

+13 -13
View File
@@ -66,15 +66,15 @@
"entry_text" : "sample input"
},
{
"file_path" : "spoiler/code.c",
"file_path" : "deobfuscation/code.c",
"inventory_order" : 200,
"OK_to_edit" : true,
"display_as" : "c",
"display_via_github" : true,
"entry_text" : "spoiler code main logic"
"entry_text" : "debofuscated code main logic"
},
{
"file_path" : "spoiler/gen.rb",
"file_path" : "deobfuscation/gen.rb",
"inventory_order" : 200,
"OK_to_edit" : true,
"display_as" : "ruby",
@@ -82,36 +82,36 @@
"entry_text" : "ruby code to compose items and prog.c in artistic way"
},
{
"file_path" : "spoiler/glyphs.txt",
"file_path" : "deobfuscation/glyphs.txt",
"inventory_order" : 200,
"OK_to_edit" : true,
"display_as" : "text",
"display_via_github" : false,
"entry_text" : "glyphs data for spoiler/gen.rb"
"entry_text" : "glyphs data for deobfuscation/gen.rb"
},
{
"file_path" : "spoiler/index.html",
"file_path" : "deobfuscation/index.html",
"inventory_order" : 200,
"OK_to_edit" : true,
"display_as" : "html",
"display_via_github" : false,
"entry_text" : "spoiler index.html web page"
"entry_text" : "deobfuscation information web page"
},
{
"file_path" : "spoiler/prog.c",
"file_path" : "deobfuscation/prog.c",
"inventory_order" : 200,
"OK_to_edit" : true,
"display_as" : "c",
"display_via_github" : true,
"entry_text" : "spoiler source code"
"entry_text" : "deobfuscated source code"
},
{
"file_path" : "spoiler/tmpl.txt",
"file_path" : "deobfuscation/tmpl.txt",
"inventory_order" : 200,
"OK_to_edit" : true,
"display_as" : "text",
"display_via_github" : false,
"entry_text" : "template for spoiler/gen.rb output"
"entry_text" : "template for deobfuscation/gen.rb output"
},
{
"file_path" : "2020_endoh2.tar.bz2",
@@ -154,12 +154,12 @@
"entry_text" : "markdown source for this web page"
},
{
"file_path" : "spoiler/index.md",
"file_path" : "deobfuscation/index.md",
"inventory_order" : 4000000000,
"OK_to_edit" : true,
"display_as" : "markdown",
"display_via_github" : true,
"entry_text" : "markdown source for spoiler/index.html"
"entry_text" : "markdown source for deobfuscationr/index.html"
},
{
"file_path" : "index.html",
+2 -7
View File
@@ -29,11 +29,11 @@ What happens if you do
## Judges' remarks:
Clever use of the C99 complex data type. The [spoiler](spoiler/index.html) directory
Clever use of the C99 complex data type. The [deobfuscation](deobfuscation/index.html) directory
contains clues as to how some winning authors create / edit programs into ASCII
shapes.
With the source from the [spoiler](spoiler/index.html) directory could you make the code
With the source from the [deobfuscation](deobfuscation/index.html) directory could you make the code
render for a larger terminal window? How about adding more glyphs?
@@ -49,11 +49,6 @@ No! Try not. Do, or do not. There is no try.
./a.out bear.txt
```
See spoiler.zip for the source code.
[The 16th most common password on the Internet in 2017 (according to Splash Data)][1] the password is.
[1]: https://en.wikipedia.org/wiki/List_of_the_most_common_passwords
<!--
Copyright © 1984-2024 by Landon Curt Noll. All Rights Reserved.
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -26,13 +26,13 @@
<!-- -->
<!-- This web page was formed via the tool: bin/gen-other-html.sh -->
<!-- The content of main section of this web page came from: 2020/endoh2/spoiler/index.md -->
<!-- The content of main section of this web page came from: 2020/endoh2/deobfuscation/index.md -->
<!-- -->
<!-- !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
<!-- !!! Do not modify this web page, instead modify the file: 2020/endoh2/spoiler/index.md !!! -->
<!-- !!! Do not modify this web page, instead modify the file: 2020/endoh2/spoiler/index.md !!! -->
<!-- !!! Do not modify this web page, instead modify the file: 2020/endoh2/spoiler/index.md !!! -->
<!-- !!! Do not modify this web page, instead modify the file: 2020/endoh2/deobfuscation/index.md !!! -->
<!-- !!! Do not modify this web page, instead modify the file: 2020/endoh2/deobfuscation/index.md !!! -->
<!-- !!! Do not modify this web page, instead modify the file: 2020/endoh2/deobfuscation/index.md !!! -->
<!-- !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
<!-- Markdown content was converted into HTML via the tool: bin/md2html.sh -->
@@ -371,7 +371,7 @@
<div class="navbar">
<a class="Left" href="../index.html">&uarr; jump to index.html &uarr;</a>
<a class="Right" href="https://validator.w3.org/nu/?doc=https%3A%2F%2Fioccc-src.github.io%2Ftemp-test-ioccc%2F2020%2Fendoh2%2Fspoiler%2Findex.html">&#x2713;</a>
<a class="Right" href="https://validator.w3.org/nu/?doc=https%3A%2F%2Fioccc-src.github.io%2Ftemp-test-ioccc%2F2020%2Fendoh2%2Fdeobfuscation%2Findex.html">&#x2713;</a>
</div>
<!-- END: this line ends content from: inc/navbar.up2index.html -->
@@ -382,19 +382,19 @@
<!-- END: this line ends content from: inc/before-content.default.html -->
<!-- START: this line starts content for HTML phase 21 by: bin/pandoc-wrapper.sh via bin/md2html.sh -->
<!-- BEFORE: 1st line of markdown file: 2020/endoh2/spoiler/index.md -->
<!-- BEFORE: 1st line of markdown file: 2020/endoh2/deobfuscation/index.md -->
<h1 id="opening-crawl-rot13-decoder">Opening crawl ROT13 decoder</h1>
<p>The program contains dedicated font data for all uppercase alphabet letters.</p>
<p>The source code of the font is <a href="glyphs.txt">glyphs.txt</a>, which is a sequence of
chunks that is a ASCII code (65-90) followed by points data: <code>x,y,ctrl</code>.</p>
<p>If <code>ctrl</code> is 1, the point is used as control point for quadratic bezier curve.</p>
<p><a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2020/endoh2/spoiler/code.c">code.c</a> is the main logic for the program, which has some placeholders
<p><a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2020/endoh2/deobfuscation/code.c">code.c</a> is the main logic for the program, which has some placeholders
for font data and something.</p>
<p>It decompresses the font data and renders a given text by projection. It
exploits <code>C99</code>’s <code>double complex</code> type to represent 2D points, but carefully
coded so that it does not require any <code>math.h</code> functions; you don’t have to pass
<code>-lm</code> to <code>cc</code>.</p>
<p><a href="tmpl.txt">tmpl.txt</a> is a template for the program. <a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2020/endoh2/spoiler/gen.rb">gen.rb</a> composes
<p><a href="tmpl.txt">tmpl.txt</a> is a template for the program. <a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2020/endoh2/deobfuscation/gen.rb">gen.rb</a> composes
the all items and generates <a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2020/endoh2/prog.c">prog.c</a>.</p>
<hr style="width:10%;text-align:left;margin-left:0">
<p>Jump to: <a href="#">top</a></p>
@@ -411,7 +411,7 @@ the all items and generates <a href="https://github.com/ioccc-src/temp-test-iocc
https://creativecommons.org/licenses/by-sa/4.0/
-->
<!-- AFTER: last line of markdown file: 2020/endoh2/spoiler/index.md -->
<!-- AFTER: last line of markdown file: 2020/endoh2/deobfuscation/index.md -->
<!-- END: this line ends content for HTML phase 21 by: bin/pandoc-wrapper.sh via bin/md2html.sh -->
<!-- START: this line starts content from: inc/after-content.default.html -->
@@ -471,7 +471,7 @@ the all items and generates <a href="https://github.com/ioccc-src/temp-test-iocc
<div id="coda"><h3>Coda</h3>
<p>
<a href="https://validator.w3.org/nu/?doc=https%3A%2F%2Fioccc-src.github.io%2Ftemp-test-ioccc%2F2020%2Fendoh2%2Fspoiler%2Findex.html" rel="nofollow">Nu HTML check this web page</a><br>
<a href="https://validator.w3.org/nu/?doc=https%3A%2F%2Fioccc-src.github.io%2Ftemp-test-ioccc%2F2020%2Fendoh2%2Fdeobfuscation%2Findex.html" rel="nofollow">Nu HTML check this web page</a><br>
<a href="#top">Jump to top</a> <a href="#content">Jump to Content</a>
</p>
</div>
@@ -7,7 +7,7 @@ chunks that is a ASCII code (65-90) followed by points data: `x,y,ctrl`.
If `ctrl` is 1, the point is used as control point for quadratic bezier curve.
[code.c](%%REPO_URL%%/2020/endoh2/spoiler/code.c) is the main logic for the program, which has some placeholders
[code.c](%%REPO_URL%%/2020/endoh2/deobfuscation/code.c) is the main logic for the program, which has some placeholders
for font data and something.
It decompresses the font data and renders a given text by projection. It
@@ -15,7 +15,7 @@ exploits `C99`'s `double complex` type to represent 2D points, but carefully
coded so that it does not require any `math.h` functions; you don't have to pass
`-lm` to `cc`.
[tmpl.txt](tmpl.txt) is a template for the program. [gen.rb](%%REPO_URL%%/2020/endoh2/spoiler/gen.rb) composes
[tmpl.txt](tmpl.txt) is a template for the program. [gen.rb](%%REPO_URL%%/2020/endoh2/deobfuscation/gen.rb) composes
the all items and generates [prog.c](%%REPO_URL%%/2020/endoh2/prog.c).
File renamed without changes.
File renamed without changes.
+9 -11
View File
@@ -411,10 +411,10 @@ Location: <a href="../../location.html#JP">JP</a> - <em>Japan</em></li>
<pre><code> ./prog prog.c</code></pre>
<p>?</p>
<h2 id="judges-remarks">Judges’ remarks:</h2>
<p>Clever use of the C99 complex data type. The <a href="spoiler/index.html">spoiler</a> directory
<p>Clever use of the C99 complex data type. The <a href="deobfuscation/index.html">deobfuscation</a> directory
contains clues as to how some winning authors create / edit programs into ASCII
shapes.</p>
<p>With the source from the <a href="spoiler/index.html">spoiler</a> directory could you make the code
<p>With the source from the <a href="deobfuscation/index.html">deobfuscation</a> directory could you make the code
render for a larger terminal window? How about adding more glyphs?</p>
<h2 id="authors-remarks">Author’s remarks:</h2>
<p>No! Try not. Do, or do not. There is no try.</p>
@@ -423,8 +423,6 @@ render for a larger terminal window? How about adding more glyphs?</p>
./a.out hello.txt
./a.out yoda.txt
./a.out bear.txt</code></pre>
<p>See spoiler.zip for the source code.
<a href="https://en.wikipedia.org/wiki/List_of_the_most_common_passwords">The 16th most common password on the Internet in 2017 (according to Splash Data)</a> the password is.</p>
<!--
Copyright © 1984-2024 by Landon Curt Noll. All Rights Reserved.
@@ -457,21 +455,21 @@ render for a larger terminal window? How about adding more glyphs?</p>
<li><a href="hello.txt">hello.txt</a> - sample input</li>
<li><a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2020/endoh2/try.sh">try.sh</a> - script to try entry</li>
<li><a href="yoda.txt">yoda.txt</a> - sample input</li>
<li><a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2020/endoh2/spoiler/code.c">spoiler/code.c</a> - spoiler code main logic</li>
<li><a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2020/endoh2/spoiler/gen.rb">spoiler/gen.rb</a> - ruby code to compose items and prog.c in artistic way</li>
<li><a href="spoiler/glyphs.txt">spoiler/glyphs.txt</a> - glyphs data for spoiler/gen.rb</li>
<li><a href="spoiler/index.html">spoiler/index.html</a> - spoiler index.html web page</li>
<li><a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2020/endoh2/spoiler/prog.c">spoiler/prog.c</a> - spoiler source code</li>
<li><a href="spoiler/tmpl.txt">spoiler/tmpl.txt</a> - template for spoiler/gen.rb output</li>
<li><a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2020/endoh2/deobfuscation/code.c">deobfuscation/code.c</a> - debofuscated code main logic</li>
<li><a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2020/endoh2/deobfuscation/gen.rb">deobfuscation/gen.rb</a> - ruby code to compose items and prog.c in artistic way</li>
<li><a href="deobfuscation/glyphs.txt">deobfuscation/glyphs.txt</a> - glyphs data for deobfuscation/gen.rb</li>
<li><a href="deobfuscation/index.html">deobfuscation/index.html</a> - deobfuscation information web page</li>
<li><a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2020/endoh2/deobfuscation/prog.c">deobfuscation/prog.c</a> - deobfuscated source code</li>
<li><a href="deobfuscation/tmpl.txt">deobfuscation/tmpl.txt</a> - template for deobfuscation/gen.rb output</li>
</ul>
<h2 id="secondary-files">Secondary files</h2>
<ul>
<li><a href="2020_endoh2.tar.bz2">2020_endoh2.tar.bz2</a> - download entry tarball</li>
<li><a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2020/endoh2/README.md">README.md</a> - markdown source for this web page</li>
<li><a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2020/endoh2/deobfuscation/index.md">deobfuscation/index.md</a> - markdown source for deobfuscationr/index.html</li>
<li><a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2020/endoh2/.entry.json">.entry.json</a> - entry summary and manifest in JSON</li>
<li><a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2020/endoh2/.gitignore">.gitignore</a> - list of files that should not be committed under git</li>
<li><a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2020/endoh2/.path">.path</a> - directory path from top level directory</li>
<li><a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2020/endoh2/spoiler/index.md">spoiler/index.md</a> - markdown source for spoiler/index.html</li>
<li><a href="index.html">index.html</a> - this web page</li>
</ul>
<hr style="width:10%;text-align:left;margin-left:0">