Refactor project
This commit is contained in:
parent
56ded46af5
commit
81b8cd5c94
28 changed files with 25 additions and 4 deletions
20
Dockerfile
Normal file
20
Dockerfile
Normal 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" ]
|
||||
|
|
@ -1,4 +0,0 @@
|
|||
# mineziper 💣
|
||||
### A Minesweeper for zip files!
|
||||
|
||||
Detect zip bombs based on overlapping files.
|
||||
BIN
dist/mineziperd
vendored
Executable file
BIN
dist/mineziperd
vendored
Executable file
Binary file not shown.
1
flag.txt
Normal file
1
flag.txt
Normal file
|
|
@ -0,0 +1 @@
|
|||
THCon{Coucou}
|
||||
4
src/mineziper/README.md
Normal file
4
src/mineziper/README.md
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
# mineziper 💣
|
||||
### A Minesweeper for zip files!
|
||||
|
||||
Detect zip bombs based on overlapping files.
|
||||
|
Before Width: | Height: | Size: 1.7 MiB After Width: | Height: | Size: 1.7 MiB |
Loading…
Add table
Add a link
Reference in a new issue