• Stars
    star
    210
  • Rank 187,585 (Top 4 %)
  • Language Awk
  • Created over 6 years ago
  • Updated over 6 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A simple webserver, written in GNU awk, that supports directory listing and download of file from the directory where it is launched

Simple webserver written in gawk

A simple webserver written in GNU awk, that supports directory listing and download of files from the directory where it is launched.

It is born as an experiment, to demonstrate the power of the awk language.

Usage

The script must be executed through a TCP wrapper.

I use this little shell script that requires socat:

while [ 1 ]; do
	socat TCP-LISTEN:8888,reuseaddr EXEC:"gawk -f webserver.awk"
	sleep 1
done 

You can then connect to the local 8888 port with your browser. Enjoy!

More Repositories

1

dillo-plus

A lightweight web browser based on Dillo but with many improvements, such as: support for http, https, gemini, gopher, epub, reader mode and more...
C++
92
star
2

dhcpserver

A stand-alone DHCP server, written in C.
C
86
star
3

GDB-Python-Utils

A library for GDB (with python support), that adds useful functions to the standard 'gdb' library.
Python
76
star
4

tftpserver

A simple tftp server, in C
C
66
star
5

prolog-talk

An English Grammar Dictionary and a Natural Language Parser --- in Common Lisp and Prolog
Common Lisp
22
star
6

md5

An md5 implementation in C, using the SSE* instruction set.
C
7
star
7

monocrypt

Implementation of a transparent encryption program using fuse and openssl (CTR mode for files, and XTS mode for full disk encryption)
C
4
star
8

wbox

Fork of hping.org/wbox/ dist with fixes for 64bit systems
C
2
star
9

zen-coding-yacc

A command line tool to expand HTML code from very sintetic string (similar to Emmet - http://www.emmet.io/)
Yacc
1
star
10

listpng

Simple PNG data chunk dumper.
C
1
star
11

mbr_matcher

MBR bootloader code matcher, to recognize which operating system will be booted and speed-up forensic analysis.
Perl
1
star
12

dwm_custom

My customized DWM
C
1
star
13

chroot-scripts

A series of scripts to easily initialize a chroot environment.
Shell
1
star
14

crossbowerbt.github.io

Personal website
HTML
1
star
15

portstealer

A Man-In-The-Middle tool, not using ARP responses, but stealing the port of the switch of the victim, changing its association in the CAM table.
C
1
star
16

shannon_compressor

An implementation in C of the Shannon's compressor.
C
1
star