Refactor project

This commit is contained in:
atxr 2024-03-01 10:45:54 +01:00
parent 56ded46af5
commit 81b8cd5c94
28 changed files with 25 additions and 4 deletions

20
Dockerfile Normal file
View file

@ -0,0 +1,20 @@
FROM ubuntu:22.04
RUN apt-get update
RUN useradd -m -s /bin/bash user
USER user
WORKDIR /home/user
COPY dist/mineziperd .
COPY webapp .
COPY flag.txt .
RUN ./mineziperd &
WORKDIR /home/user/webapp
RUN pip install -r requirements.txt
ENTRYPOINT [ "python3" ]
CMD [ "app.py" ]

View file

@ -1,4 +0,0 @@
# mineziper 💣
### A Minesweeper for zip files!
Detect zip bombs based on overlapping files.

BIN
dist/mineziperd vendored Executable file

Binary file not shown.

1
flag.txt Normal file
View file

@ -0,0 +1 @@
THCon{Coucou}

4
src/mineziper/README.md Normal file
View file

@ -0,0 +1,4 @@
# mineziper 💣
### A Minesweeper for zip files!
Detect zip bombs based on overlapping files.

View file

Before

Width:  |  Height:  |  Size: 1.7 MiB

After

Width:  |  Height:  |  Size: 1.7 MiB

Before After
Before After