Skip to content

marsponce/CTF427

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CTF427

  • by Mars Ponce & Haashir Khan

This repository holds the vulnerable "hacker forum" that will be used in the week 8 CTF lab

Setup

  • Ensure that a PostgreSQL server is available and running
    • A sample Postgres docker command exists in /sql/start.sh
  • Enter it's values into .env (see .env.example)
  • To run the site, there are two options:
    • Dockerized:
      • create the container with:
      docker build -t ctf-427 .
      • run the container and make sure to expose the relevant ports:
      docker run -d --restart unless-stopped --env-file .env -p 3000:3000 --name hacker-forum ctf-427
      
    • Non-Dockerized:
      • npm run start
      • npm run dev (development mode with nodemon)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors