Diefunction
Search…
Technology Control Company
Challenges wrote based on real-life scenarios that I discovered in bug-bounty and during penetration testing engagements.

Github

A Github repository that contains all challenges.

Environment setup on Ubuntu

Requirments

  • Install docker-engine
  • Install docker-compose
Install Docker and docker-compose.
1
# Update apt package index
2
sudo apt update
3
# Allow apt to use repository over HTTPS
4
sudo apt install \
5
apt-transport-https \
6
ca-certificates \
7
curl \
8
gnupg \
9
lsb-release
10
# Add Docker's official GPG key
11
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg
12
# X86_64 / amd64
13
echo \
14
"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
15
16
# Update apt package index
17
sudo apt update
18
19
# Install the latest version of docker engine and containerd.
20
sudo apt-get install docker-ce docker-ce-cli containerd.io
21
22
# Download docker-compose version 1.29
23
sudo curl -L "https://github.com/docker/compose/releases/download/1.29.2/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
24
25
# Apply executable permissions to the binary
26
sudo chmod +x /usr/local/bin/docker-compose
27
28
# Add user to docker group
29
sudo usermod -aG docker $(whoami)
Copied!
Reboot the machine.
1
sudo reboot
Copied!
Install git.
1
sudo apt install git
Copied!
Clone the repository.
1
git clone https://github.com/Diefunction/tcc-ctf.git
Copied!
After cloning the repository change the current directory to the repository directory.
1
cd tcc-ctf
Copied!
Builds Docker images from Dockerfiles.
1
docker-compose build
Copied!
Create and start containers
1
docker-compose up
Copied!

Challenges

Name
IPAddress
Flag
Trust
127.0.0.1:8000
/usr/src/app/flag.txt
Config
127.0.0.1:8001
/flag/flag.txt
Extend
127.0.0.1:8002
/usr/src/app/flag.txt
Poison
127.0.0.1:8003
/usr/src/app/flag.txt
Last modified 1mo ago