This commit is contained in:
2026-04-15 01:05:54 +02:00
parent db0324c43d
commit bc0c08342d
84 changed files with 28780 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
FROM archlinux:latest
RUN pacman --noconfirm -Sy socat python3 git
RUN mkdir /app
COPY clone.py /app/clone.py
COPY ./flag.txt /app/flag.txt
RUN useradd -m -k user:user user
USER user
WORKDIR /tmp
CMD socat TCP-LISTEN:1337,reuseaddr,fork EXEC:"python3 /app/clone.py",stderr

View File

@@ -0,0 +1,4 @@
import subprocess
git_url = input('Git url to clone > ')
subprocess.run(["git", "clone", git_url], capture_output=False)
print('Done cloning!')

View File

@@ -0,0 +1,5 @@
services:
githoarder:
build: .
ports:
- 1444:1337

View File

@@ -0,0 +1 @@
kalmar{test_flag}