2017-11-18 00:23:01 +00:00
|
|
|
# ShellSpider
|
|
|
|
A web-server in shell script
|
2017-11-18 00:34:35 +00:00
|
|
|
|
|
|
|
Why?
|
|
|
|
====
|
|
|
|
Because I can.
|
|
|
|
|
|
|
|
Requirements
|
|
|
|
============
|
|
|
|
- an up-to-date version of bash
|
|
|
|
- socat (for networking)
|
|
|
|
- python (for url-encoding)
|
2017-11-21 21:33:36 +00:00
|
|
|
- dig (for reverse lookup)
|
2017-11-18 00:34:35 +00:00
|
|
|
- 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.
|