Skip to content

Latest commit

 

History

History
62 lines (43 loc) · 1.73 KB

README.md

File metadata and controls

62 lines (43 loc) · 1.73 KB

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 [email protected]: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. :)