From 73512d2e81e5fd7c1e0485bba6387e8178ef6056 Mon Sep 17 00:00:00 2001 From: Cody Boone Ferguson <53008573+xexyl@users.noreply.github.com> Date: Sat, 20 Jan 2024 09:20:55 -0800 Subject: [PATCH] Fix 2004/hibachi/src/localhost/index.html Many links no longer worked, had changed or are https enabled now. In at least two cases the Internet Wayback Machine was required but most were just changed to https. The link to cygwin had changed entirely. The link to lynx(1) had changed too. Typo fixes in src/localhost/test0.sh. Minor updates to README.md. --- 2004/hibachi/README.md | 17 ++--- 2004/hibachi/src/localhost/index.html | 62 ++++++++++--------- .../hibachi/src/localhost/test/shell/test0.sh | 4 +- thanks-for-help.md | 8 +++ 4 files changed, 49 insertions(+), 42 deletions(-) diff --git a/2004/hibachi/README.md b/2004/hibachi/README.md index 3653889a6..ef534561c 100644 --- a/2004/hibachi/README.md +++ b/2004/hibachi/README.md @@ -11,18 +11,11 @@ make cd build; ./hibachi-start.sh & ``` - -## Try: - -```sh -cd build; ./hibachi-start.sh & -``` - Then use your web browser to visit `http://localhost:8008/`. When you're finished make sure to kill `hibachi`. -NOTE: you must be in the `build` directory when running `hibachi` for this to -work. +NOTE: you must be in the `build` directory when running `hibachi-start.sh` for +this to work right. ## Judges' remarks: @@ -45,9 +38,9 @@ so the file does not exist here. `Hibachi` is a simple, small, and (probably) very secure web server. -There is a `hibachi.tgz` file that unpacks several support -files and a subdirectory tree containing the documentation and -examples. It can be viewed by: +There is a `hibachi.tgz` file (NOTE: this file was removed by the judges after +extraction) that unpacks several support files and a subdirectory tree +containing the documentation and examples. It can be viewed by: ```sh tar -zxf hibachi.tgz diff --git a/2004/hibachi/src/localhost/index.html b/2004/hibachi/src/localhost/index.html index 87113b225..d2d6a724e 100644 --- a/2004/hibachi/src/localhost/index.html +++ b/2004/hibachi/src/localhost/index.html @@ -49,7 +49,7 @@ Snert . Com - Software - Hibachi they're completely portable.
- - + epicurious.com food dictionary
@@ -60,20 +60,20 @@ Snert . Com - Software - HibachiHIBACHI is a simple, small, and secure web server with virtual host and CGI support. It is a limited implementation of RFC 2616 -and the CGI/1.1 Specification. +and the CGI/1.1 Specification. HIBACHI was written as an entry for the International Obfuscated C Code Contest and works -for any Unix variant including the Cygwin +for any Unix variant including the Cygwin environment for Windows.
HIBACHI supports dynamic web content through the use of the -Common Gateway Interface (CGI) specification. +Common Gateway Interface (CGI) specification. Just about any scripting or programming language can be used, such as a POSIX shell, -Perl, -PHP, -Python, and/or -Ruby. +Perl, +PHP, +Python, and/or +Ruby. Existing CGI scripts can be used with little or no modification. Hibachi executes all CGI scripts as though they were "nph" prefixed, which is to say that it is the script's responsibility to send the HTTP status line and necessary headers direct to the client. @@ -97,9 +97,10 @@ document tree is rooted at /usr/local/share/hibachi, then:
HIBACHI is ideal for special floppy-Linux distributions, like -Leka, which can be used for rescue, firewall, +Leka, which can be used for rescue, firewall, demo, or dedicated servers. In theory, with some modifications, -HIBACHI and a script interpreter, like PHP, could also be +HIBACHI and a script interpreter, like PHP, could also be bundled with CDROMS that require a means of presenting dynamic web pages.
@@ -109,22 +110,26 @@ bundled with CDROMS that require a means of presenting dynamic web pages.@@ -241,21 +246,21 @@ These CGI scripts perform some basic tests on the handling of GET and POST reque cookies, and the passing of environment variables to CGI scripts. These CGI scripts assume that /bin/sh is a POSIX compliant shell and the standard set of POSIX utilities are available. Should work for all Unix variants -and Cygwin. +and Cygwin.-http://64.81.251.233:8008/ +https://185.199.111.153 https://www.ioccc.org:8008/
|
- |
@@ -340,7 +345,7 @@ when Ruby is installed. | |
|
- |
5.8 @@ -348,12 +353,13 @@ when Ruby is installed. | |
|
- |
Windows 2000 SP4, Windows XP Pro SP1
- with Cygwin, gcc 2.95.3-5 + with Cygwin, gcc 2.95.3-5 |