Skip to content

C server as durable as a twig found in the wild. Educational purposes only

Notifications You must be signed in to change notification settings

efeenesc/c-twig-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

c-twig-server

A single twig breaks, but the bundle of twigs is strong.

-Tecumseh

About

This server is an extremely crash-prone and vulnerable HTTP server written in C (ISO99) with just about enough functionality barely to serve basic HTML content.

Like its namesake, applying a tiny bit of force is enough to break it. It is cool to look at and play around with when found in the wild.

Build

You have to have a C/C++ compiler (clang, gcc) and make installed. Run make on the Makefile and run the resulting executable file, preferably on anything but a public server. In fact it might be better to not use it in any scenario.

License

This repository has no copyright assigned and is placed in the Public Domain.
No warranty is given. You can copy, modify, distribute and perform the work, even for commercial purposes, all without asking permission - although you are strongly urged to reconsider your decision.

About

C server as durable as a twig found in the wild. Educational purposes only

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published