Giter VIP home page Giter VIP logo

httpdos's Introduction

HTTPS Webserver for MS-DOS

This is a minimal HTTPS capable webserver for MS-DOS.

It is not in real working condition, it creates a "double fault" when exiting with CTRL-C (I guess some DOS memory is corrupted when running).

HTTP code was taken from https://github.com/starnight/MicroHttpServer TLS is provided by https://github.com/Mbed-TLS/mbedtls TCP/IP stack is https://www.watt-32.net/ INI file reading is provided by https://github.com/rxi/ini

Quick start

  • Run some kind of DOS (MS-DOS, FreeDOS, ???)
  • Extract the release ZIP file to e.g. C:\HTTPDOS
  • Load a packet driver for your network card (Packet drivers can e.g. be found on packetdriversdos.net or on crynwr.com or www.georgpotthast.de)
  • Change to C:\HTTPDOS and run HTTPDOS.EXE
  • Watch the output for the IP-address (the default WATTCP.CFG uses DHCP)
  • Connect to https://<your ip address>/
  • Allow the browser to connect to a site with a self-signed certificate
  • Be amazed :)

Configuration

See HTTPDOS.INI for an example configuration.

Self signed certificate

You need to provide matching TLS/SSL certificates in order to run the server. Self signed certificates can be generated using genkeys.sh.

genkeys.sh, cert.conf and csr.conf were created following https://devopscube.com/create-self-signed-certificates-openssl/

NOISE.SYS

A random number generator can be obtained here: https://github.com/robrwo/noise.sys

License

Micro HTTP Server's code uses the BSD license, so httpDOS uses the same license. See LICENSE.md file.

httpdos's People

Contributors

superilu avatar

Stargazers

Saasha avatar  avatar Saulius Krasuckas avatar  avatar Ish Ot Jr. avatar  avatar Randolf Richardson 張文道 avatar Wolf Bergenheim avatar Stuart Axon avatar  avatar Daniel McCarney avatar Lukas avatar Bocke avatar Ruben Arakelyan avatar  avatar Eliza Winterborn avatar  avatar Andreas Gnau avatar Krishean Draconis avatar Tony Bark avatar Steffen Gransow avatar sairuk avatar Stefan Schmidt avatar  avatar

Watchers

 avatar Ish Ot Jr. avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.