git clone https://github.com/MustSave/COSE451_GitCTF.git
cd COSE451_GitCTF
./init.sh
clean : remove binary
run : run until user exit
static_server : build
make clean run : remove old binary && build new binary && run
sudo docker-compose up -d
make -C ./mongoose run to restart server automatically, or cd mongoose && ./static_server to exit on crash.
or
./run.sh
ctrl + c to stop static server
sudo docker-compose stop
nodejs server is running on port 8080
c server is running on port 8081
nginx is listening port 81
now you can get http://localhost:81 or in local network, http://"IP of server":81
id : 2022123456
pw : 1234
id : root
pw : root
mysql -uroot -proot