-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
203da4f
commit e3928e4
Showing
6 changed files
with
36 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
FROM bash | ||
ARG FLAG | ||
RUN adduser -D suzen | ||
ADD hello /bin/hello | ||
ADD diary.txt /home/suzen/diary.txt | ||
WORKDIR /home/suzen | ||
RUN bash -c "mkdir -p {Suzen,I,You,He,She}/Thought/It/Was/{Meg,Kate,Nancy,Mr_President,Dzhigurda}/But/It/Was/{Dio,Robert,John,Sasuke,Ivan}" | ||
ADD flag Suzen/Thought/It/Was/Meg/But/It/Was/Dio | ||
ADD trueflag Suzen/Thought/It/Was/Meg/But/It/Was/Dio | ||
RUN mv Suzen/Thought/It/Was/Meg/But/It/Was/Dio/trueflag Suzen/Thought/It/Was/Meg/But/It/Was/Dio/.flag | ||
RUN sed -i "s/INSERT_FLAG_HERE/${FLAG}/g" Suzen/Thought/It/Was/Meg/But/It/Was/Dio/.flag | ||
USER suzen | ||
ENTRYPOINT ["/bin/hello"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
Hello! My name is Suzen and this is my diary! | ||
Yesterday, i went to meet my friend Meg, but instead i met strange man Dio and he told me to not always believe what you see. I wander what that means... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
y5vmfs7w39jvma9wq3j8nR3u9ca |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
#!/bin/sh | ||
echo -e "\n###########################################################################" | ||
echo -e "# #" | ||
echo -e "# Hello! It's level 1601 #" | ||
echo -e "# #" | ||
echo -e "# Find hidden file in a directory that diary.txt refers. #" | ||
echo -e "# #" | ||
echo -e "###########################################################################" | ||
|
||
sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
INSERT_FLAG_HERE |