No description
Find a file
2017-11-23 18:55:55 +01:00
home full php support (effectivly cgi) 2017-11-23 18:55:55 +01:00
404.html full cgi support. \o/ + some other stuff 2017-11-21 22:33:36 +01:00
base.source.sh we now have a dedicated query-variable for get parameters 2017-11-19 15:57:46 +00:00
index.sh full cgi support. \o/ + some other stuff 2017-11-21 22:33:36 +01:00
LICENSE Initial commit 2017-11-18 01:23:01 +01:00
misc.sh fix character encoding 2017-11-19 02:53:30 +01:00
README.md full cgi support. \o/ + some other stuff 2017-11-21 22:33:36 +01:00
response.sh full php support (effectivly cgi) 2017-11-23 18:55:55 +01:00
server.sh full cgi support. \o/ + some other stuff 2017-11-21 22:33:36 +01:00
statusString.sh basic version: index handler, cgi-style dynamic site generation, correct mime type for static files 2017-11-18 01:26:25 +01:00
test-response.sh basic version: index handler, cgi-style dynamic site generation, correct mime type for static files 2017-11-18 01:26:25 +01:00

ShellSpider

A web-server in shell script

Why?

Because I can.

Requirements

  • an up-to-date version of bash
  • socat (for networking)
  • python (for url-encoding)
  • dig (for reverse lookup)
  • some other basic tools, like sed, grep, awk, getopt

Usage

./server.sh --port=[PORT]

For other options start the script without the port-option.

Why again?

I did this just for fun. I wanted to reach the limits of shell scripts. Turned out: Building a fully functional webserver is possible.