/port-hunt

A quick hide-and-seek template for a port hunting game.

Primary LanguageHTMLMIT LicenseMIT

Banner

port-hunt

GitHub last commit Github issues Github pull requests License Follow Me

A simple hide-and-seek game for port scanning practice.

Table of contents

Installation

(Back to top)

  1. Clone: git clone git@github.com:dgrahn/port-hunt.git

  2. Run: docker-compose up

Usage

(Back to top)

This hosts nginx servers on various ports. Each port contains an HTML file that serves an image that students can "collect". This doesn't have any security hardening, so don't run it on a public server.

To add an extra port, add these lines to the docker-compose. You will need to customize it in threes locations.

  nginx[port]:
    image: nginx
    volumes:
      - ./src/[port]:/usr/share/nginx/html:ro
    ports:
    - "[port]:80"

After that, add your files to src/[port] and restart the docker-compose.

License

(Back to top)

MIT License

Footer

(Back to top)

Like this? Star it. :)