Diefunction
  • About
  • Vulnerabilities
    • GHSL-2021-023 / CVE-2021-32819
  • BlachatMEA Finals 2024
  • CTF
    • Technology Control Company
      • Athackcon CTF 2021
        • Trust
        • Config
        • Extend
        • Poison
      • Blackhat MEA 2022
        • CTF Setup on Kali linux
        • Careers
        • SOC Complaints
    • Athackcon
      • POLL
    • Cyber Night 3
      • Client Hell
    • BlackHatMEA Quals 2022
      • Spatify
      • PeehPee
      • Meme generator
      • Black notes
      • Jimmy's blog
    • BlackHatMEA Quals 2023
      • Web - Hardy
      • Web - Authy
      • Reverse engineering - light up the server
    • BlackhatMEA Finals 2024
      • PWN
    • BITSCTF - Reverse Mishap
    • Cybernights 2025
      • REVERSE
      • PWN
    • BYUCTF 2025
      • PWN
Powered by GitBook
On this page
  • Github
  • Environment setup on Ubuntu
  • Requirments
  • Challenges

Was this helpful?

  1. CTF
  2. Technology Control Company

Athackcon CTF 2021

Challenges written based on real-life scenarios that I discovered in bug-bounty and during penetration testing engagements.

PreviousTechnology Control CompanyNextTrust

Last updated 2 years ago

Was this helpful?

A Github repository that contains all challenges.

Environment setup on Ubuntu

Requirments

  • Install docker-engine

  • Install docker-compose

Install Docker and docker-compose.

# Update apt package index
sudo apt update
# Allow apt to use repository over HTTPS
sudo apt install \
    apt-transport-https \
    ca-certificates \
    curl \
    gnupg \
    lsb-release
# Add Docker's official GPG key
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg
# X86_64 / amd64
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

# Update apt package index
sudo apt update

# Install the latest version of docker engine and containerd.
sudo apt-get install docker-ce docker-ce-cli containerd.io

# Download docker-compose version 1.29
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

# Apply executable permissions to the binary
sudo chmod +x /usr/local/bin/docker-compose

# Add user to docker group
sudo usermod -aG docker $(whoami)

Reboot the machine.

sudo reboot

Install git.

sudo apt install git

Clone the repository.

git clone https://github.com/Diefunction/tcc-ctf.git

After cloning the repository change the current directory to the repository directory.

cd tcc-ctf

Builds Docker images from Dockerfiles.

docker-compose build

Create and start containers

docker-compose up

Challenges

Name
IPAddress
Flag

127.0.0.1:8000

/usr/src/app/flag.txt

127.0.0.1:8001

/flag/flag.txt

127.0.0.1:8002

/usr/src/app/flag.txt

127.0.0.1:8003

/usr/src/app/flag.txt

Github
Trust
Config
Extend
Poison