Skip to content
/ KUsino Public

[COSE451] Casino website for attack & defense gitCTF

Notifications You must be signed in to change notification settings

je1att0/KUsino

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

75 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ReadMe.md

Software Security Team 05 - KUsino

Software Security Team 05 Team Project - KUsino

Docker install

# Remove old version
sudo apt-get remove docker docker-engine docker.io containerd runc

# Set repository
sudo apt-get update
sudo apt-get install ca-certificates curl gnupg lsb-release
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg
echo "deb [arch=amd64 signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null

# Install Docker
sudo apt-get update
sudo apt-get install docker-ce docker-ce-cli containerd.io

# Add current User to docker group
sudo usermod -aG docker $USER

# Apply changes to user group
newgrp docker

# Check installation
docker --version

Download Dockerfile

git clone https://github.com/teddyyeo/KUsino

Build Docker Image

# Go to the KUsino directory
cd KUsino

# Build docker image
docker build -t myimage:latest .

Run Docker Image

# Run program immediately
sudo docker run --cap-add=SYS_PTRACE --security-opt seccomp=unconfined -p 5000:5000 myiamge:latest

# Access the container shell
sudo docker run --cap-add=SYS_PTRACE --security-opt seccomp=unconfined -it myimage:latest /bin/bash

Access the website

# access to the website with 127.0.0.1:5000

About

[COSE451] Casino website for attack & defense gitCTF

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published