From a716b99560162b43eaa4ef47d15b229c99607cf1 Mon Sep 17 00:00:00 2001 From: Twilight <31920608+LoneTwilight@users.noreply.github.com> Date: Wed, 17 Apr 2024 18:53:39 +0800 Subject: [PATCH 01/17] Create t --- challenges/web/warmup web/t | 1 + 1 file changed, 1 insertion(+) create mode 100644 challenges/web/warmup web/t diff --git a/challenges/web/warmup web/t b/challenges/web/warmup web/t new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/challenges/web/warmup web/t @@ -0,0 +1 @@ + From 494e19dcb72339c62adb8c0cea77f0b3522a034c Mon Sep 17 00:00:00 2001 From: Twilight <31920608+LoneTwilight@users.noreply.github.com> Date: Wed, 17 Apr 2024 18:54:04 +0800 Subject: [PATCH 02/17] Add files via upload --- challenges/web/Dockerfile | 18 ++++++++++++++++++ challenges/web/README.md | 3 ++- 2 files changed, 20 insertions(+), 1 deletion(-) create mode 100644 challenges/web/Dockerfile diff --git a/challenges/web/Dockerfile b/challenges/web/Dockerfile new file mode 100644 index 0000000..424e3b4 --- /dev/null +++ b/challenges/web/Dockerfile @@ -0,0 +1,18 @@ +FROM debian:latest +RUN apt update && apt install -y nginx + +COPY ./warmweb/ /var/www/html +COPY ./warmwebconf/default /etc/nginx/conf.d/ + +RUN rm /etc/nginx/sites-enabled/default +RUN echo "server {" > /etc/nginx/conf.d/default.conf && \ +echo " listen 52001;" >> /etc/nginx/conf.d/default.conf && \ +echo " location / {" >> /etc/nginx/conf.d/default.conf && \ +echo " root /var/www/html;" >> /etc/nginx/conf.d/default.conf && \ +echo " index index.html index.htm;" >> /etc/nginx/conf.d/default.conf && \ +echo " }" >> /etc/nginx/conf.d/default.conf && \ +echo "}" >> /etc/nginx/conf.d/default.conf + +EXPOSE 52001 + +CMD ["nginx", "-g", "daemon off;"] \ No newline at end of file diff --git a/challenges/web/README.md b/challenges/web/README.md index 5739a23..9dcf684 100644 --- a/challenges/web/README.md +++ b/challenges/web/README.md @@ -1 +1,2 @@ -This dir contains challenges related to web +Challenge Name: Warmup Web +Challenge Description: Simple flag but why.html is it not showing? \ No newline at end of file From 0ae0fbf0ef51a5f787e58317653c3d829938ad62 Mon Sep 17 00:00:00 2001 From: Twilight <31920608+LoneTwilight@users.noreply.github.com> Date: Wed, 17 Apr 2024 18:54:37 +0800 Subject: [PATCH 03/17] Create y --- warmweb/y | 1 + 1 file changed, 1 insertion(+) create mode 100644 warmweb/y diff --git a/warmweb/y b/warmweb/y new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/warmweb/y @@ -0,0 +1 @@ + From d3bd23bab8a07c7b5b20d57ecd8a84c9c9c1d25d Mon Sep 17 00:00:00 2001 From: Twilight <31920608+LoneTwilight@users.noreply.github.com> Date: Wed, 17 Apr 2024 18:54:54 +0800 Subject: [PATCH 04/17] Add files via upload --- warmweb/index.html | 38 ++++++++++++++++++++++++++++++++++++++ warmweb/why.html | 23 +++++++++++++++++++++++ 2 files changed, 61 insertions(+) create mode 100644 warmweb/index.html create mode 100644 warmweb/why.html diff --git a/warmweb/index.html b/warmweb/index.html new file mode 100644 index 0000000..407767c --- /dev/null +++ b/warmweb/index.html @@ -0,0 +1,38 @@ + + + +
+ + + + +HEX{B@s1c_w3B_012siXJv}
+ + \ No newline at end of file From 427ed7494cae2f41dcd2cfdba04f3745cf2b99c2 Mon Sep 17 00:00:00 2001 From: Twilight <31920608+LoneTwilight@users.noreply.github.com> Date: Wed, 17 Apr 2024 18:55:18 +0800 Subject: [PATCH 05/17] Delete warmweb directory --- warmweb/index.html | 38 -------------------------------------- warmweb/why.html | 23 ----------------------- warmweb/y | 1 - 3 files changed, 62 deletions(-) delete mode 100644 warmweb/index.html delete mode 100644 warmweb/why.html delete mode 100644 warmweb/y diff --git a/warmweb/index.html b/warmweb/index.html deleted file mode 100644 index 407767c..0000000 --- a/warmweb/index.html +++ /dev/null @@ -1,38 +0,0 @@ - - - - - - - - -HEX{B@s1c_w3B_012siXJv}
- - \ No newline at end of file diff --git a/warmweb/y b/warmweb/y deleted file mode 100644 index 8b13789..0000000 --- a/warmweb/y +++ /dev/null @@ -1 +0,0 @@ - From 71e92d48a61dab04859184ea444269e7ad299c94 Mon Sep 17 00:00:00 2001 From: Twilight <31920608+LoneTwilight@users.noreply.github.com> Date: Wed, 17 Apr 2024 18:55:44 +0800 Subject: [PATCH 06/17] Delete challenges/web/warmup web directory --- challenges/web/warmup web/t | 1 - 1 file changed, 1 deletion(-) delete mode 100644 challenges/web/warmup web/t diff --git a/challenges/web/warmup web/t b/challenges/web/warmup web/t deleted file mode 100644 index 8b13789..0000000 --- a/challenges/web/warmup web/t +++ /dev/null @@ -1 +0,0 @@ - From 493eebecc4b30c8144bcf306f0b9535898b376e9 Mon Sep 17 00:00:00 2001 From: Twilight <31920608+LoneTwilight@users.noreply.github.com> Date: Wed, 17 Apr 2024 18:56:26 +0800 Subject: [PATCH 07/17] Create e --- challenges/web/web warm-up/e | 1 + 1 file changed, 1 insertion(+) create mode 100644 challenges/web/web warm-up/e diff --git a/challenges/web/web warm-up/e b/challenges/web/web warm-up/e new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/challenges/web/web warm-up/e @@ -0,0 +1 @@ + From b11e7c379152bf6cd303e6b5a7223e5d1968fa8d Mon Sep 17 00:00:00 2001 From: Twilight <31920608+LoneTwilight@users.noreply.github.com> Date: Wed, 17 Apr 2024 18:56:41 +0800 Subject: [PATCH 08/17] Add files via upload --- challenges/web/web warm-up/Dockerfile | 18 ++++++++++++++++++ challenges/web/web warm-up/README.md | 2 ++ 2 files changed, 20 insertions(+) create mode 100644 challenges/web/web warm-up/Dockerfile create mode 100644 challenges/web/web warm-up/README.md diff --git a/challenges/web/web warm-up/Dockerfile b/challenges/web/web warm-up/Dockerfile new file mode 100644 index 0000000..424e3b4 --- /dev/null +++ b/challenges/web/web warm-up/Dockerfile @@ -0,0 +1,18 @@ +FROM debian:latest +RUN apt update && apt install -y nginx + +COPY ./warmweb/ /var/www/html +COPY ./warmwebconf/default /etc/nginx/conf.d/ + +RUN rm /etc/nginx/sites-enabled/default +RUN echo "server {" > /etc/nginx/conf.d/default.conf && \ +echo " listen 52001;" >> /etc/nginx/conf.d/default.conf && \ +echo " location / {" >> /etc/nginx/conf.d/default.conf && \ +echo " root /var/www/html;" >> /etc/nginx/conf.d/default.conf && \ +echo " index index.html index.htm;" >> /etc/nginx/conf.d/default.conf && \ +echo " }" >> /etc/nginx/conf.d/default.conf && \ +echo "}" >> /etc/nginx/conf.d/default.conf + +EXPOSE 52001 + +CMD ["nginx", "-g", "daemon off;"] \ No newline at end of file diff --git a/challenges/web/web warm-up/README.md b/challenges/web/web warm-up/README.md new file mode 100644 index 0000000..9dcf684 --- /dev/null +++ b/challenges/web/web warm-up/README.md @@ -0,0 +1,2 @@ +Challenge Name: Warmup Web +Challenge Description: Simple flag but why.html is it not showing? \ No newline at end of file From ada31f54bdb161b14072d9d98ab3e5ffb3efcc78 Mon Sep 17 00:00:00 2001 From: Twilight <31920608+LoneTwilight@users.noreply.github.com> Date: Wed, 17 Apr 2024 18:57:23 +0800 Subject: [PATCH 09/17] Update README.md --- challenges/web/README.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/challenges/web/README.md b/challenges/web/README.md index 9dcf684..598e528 100644 --- a/challenges/web/README.md +++ b/challenges/web/README.md @@ -1,2 +1 @@ -Challenge Name: Warmup Web -Challenge Description: Simple flag but why.html is it not showing? \ No newline at end of file +This dir contains challenges related to web From 0adb1d4b0800fc1773098fafa3306bb1b1d3d0aa Mon Sep 17 00:00:00 2001 From: Twilight <31920608+LoneTwilight@users.noreply.github.com> Date: Wed, 17 Apr 2024 18:57:34 +0800 Subject: [PATCH 10/17] Delete challenges/web/Dockerfile --- challenges/web/Dockerfile | 18 ------------------ 1 file changed, 18 deletions(-) delete mode 100644 challenges/web/Dockerfile diff --git a/challenges/web/Dockerfile b/challenges/web/Dockerfile deleted file mode 100644 index 424e3b4..0000000 --- a/challenges/web/Dockerfile +++ /dev/null @@ -1,18 +0,0 @@ -FROM debian:latest -RUN apt update && apt install -y nginx - -COPY ./warmweb/ /var/www/html -COPY ./warmwebconf/default /etc/nginx/conf.d/ - -RUN rm /etc/nginx/sites-enabled/default -RUN echo "server {" > /etc/nginx/conf.d/default.conf && \ -echo " listen 52001;" >> /etc/nginx/conf.d/default.conf && \ -echo " location / {" >> /etc/nginx/conf.d/default.conf && \ -echo " root /var/www/html;" >> /etc/nginx/conf.d/default.conf && \ -echo " index index.html index.htm;" >> /etc/nginx/conf.d/default.conf && \ -echo " }" >> /etc/nginx/conf.d/default.conf && \ -echo "}" >> /etc/nginx/conf.d/default.conf - -EXPOSE 52001 - -CMD ["nginx", "-g", "daemon off;"] \ No newline at end of file From b654d0a5b7c51fadd78886cb7b56de5d32b50293 Mon Sep 17 00:00:00 2001 From: Twilight <31920608+LoneTwilight@users.noreply.github.com> Date: Wed, 17 Apr 2024 18:57:49 +0800 Subject: [PATCH 11/17] Delete challenges/web/web warm-up/e --- challenges/web/web warm-up/e | 1 - 1 file changed, 1 deletion(-) delete mode 100644 challenges/web/web warm-up/e diff --git a/challenges/web/web warm-up/e b/challenges/web/web warm-up/e deleted file mode 100644 index 8b13789..0000000 --- a/challenges/web/web warm-up/e +++ /dev/null @@ -1 +0,0 @@ - From 4660ac97ab74ee143a1f11a49c60c1d4b03dac01 Mon Sep 17 00:00:00 2001 From: Twilight <31920608+LoneTwilight@users.noreply.github.com> Date: Wed, 17 Apr 2024 18:58:17 +0800 Subject: [PATCH 12/17] Update README.md --- challenges/web/web warm-up/README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/challenges/web/web warm-up/README.md b/challenges/web/web warm-up/README.md index 9dcf684..0a1775b 100644 --- a/challenges/web/web warm-up/README.md +++ b/challenges/web/web warm-up/README.md @@ -1,2 +1,3 @@ Challenge Name: Warmup Web -Challenge Description: Simple flag but why.html is it not showing? \ No newline at end of file + +Challenge Description: Simple flag but why.html is it not showing? From 4cb0becf02d698477b5c787834d98d89515433a3 Mon Sep 17 00:00:00 2001 From: Twilight <31920608+LoneTwilight@users.noreply.github.com> Date: Wed, 17 Apr 2024 18:58:48 +0800 Subject: [PATCH 13/17] Create r --- challenges/web/web warm-up/warmweb/r | 1 + 1 file changed, 1 insertion(+) create mode 100644 challenges/web/web warm-up/warmweb/r diff --git a/challenges/web/web warm-up/warmweb/r b/challenges/web/web warm-up/warmweb/r new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/challenges/web/web warm-up/warmweb/r @@ -0,0 +1 @@ + From d561a00c9f9a35dcb9cc479d8b547cf753e680a1 Mon Sep 17 00:00:00 2001 From: Twilight <31920608+LoneTwilight@users.noreply.github.com> Date: Wed, 17 Apr 2024 18:59:02 +0800 Subject: [PATCH 14/17] Add files via upload --- challenges/web/web warm-up/warmweb/index.html | 38 +++++++++++++++++++ challenges/web/web warm-up/warmweb/why.html | 23 +++++++++++ 2 files changed, 61 insertions(+) create mode 100644 challenges/web/web warm-up/warmweb/index.html create mode 100644 challenges/web/web warm-up/warmweb/why.html diff --git a/challenges/web/web warm-up/warmweb/index.html b/challenges/web/web warm-up/warmweb/index.html new file mode 100644 index 0000000..407767c --- /dev/null +++ b/challenges/web/web warm-up/warmweb/index.html @@ -0,0 +1,38 @@ + + + + + + + + +HEX{B@s1c_w3B_012siXJv}
+ + \ No newline at end of file From 362abf3a2173d445887c6e8e551e6c6243cd420d Mon Sep 17 00:00:00 2001 From: Twilight <31920608+LoneTwilight@users.noreply.github.com> Date: Wed, 17 Apr 2024 18:59:38 +0800 Subject: [PATCH 15/17] Update README.md --- challenges/web/web warm-up/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/challenges/web/web warm-up/README.md b/challenges/web/web warm-up/README.md index 0a1775b..277625b 100644 --- a/challenges/web/web warm-up/README.md +++ b/challenges/web/web warm-up/README.md @@ -1,3 +1,3 @@ -Challenge Name: Warmup Web +Challenge Name: Web Warm-up Challenge Description: Simple flag but why.html is it not showing? From af3f5629983d3f70e903a02f64273dc129d9e8c3 Mon Sep 17 00:00:00 2001 From: Twilight <31920608+LoneTwilight@users.noreply.github.com> Date: Wed, 17 Apr 2024 19:00:08 +0800 Subject: [PATCH 16/17] Delete challenges/web/web warm-up/warmweb/r --- challenges/web/web warm-up/warmweb/r | 1 - 1 file changed, 1 deletion(-) delete mode 100644 challenges/web/web warm-up/warmweb/r diff --git a/challenges/web/web warm-up/warmweb/r b/challenges/web/web warm-up/warmweb/r deleted file mode 100644 index 8b13789..0000000 --- a/challenges/web/web warm-up/warmweb/r +++ /dev/null @@ -1 +0,0 @@ - From 0a140643b64c837eb0193e825ea38bcd634abd97 Mon Sep 17 00:00:00 2001 From: Twilight <31920608+LoneTwilight@users.noreply.github.com> Date: Wed, 17 Apr 2024 19:28:32 +0800 Subject: [PATCH 17/17] Update Dockerfile --- challenges/web/web warm-up/Dockerfile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/challenges/web/web warm-up/Dockerfile b/challenges/web/web warm-up/Dockerfile index 424e3b4..d95ead4 100644 --- a/challenges/web/web warm-up/Dockerfile +++ b/challenges/web/web warm-up/Dockerfile @@ -2,7 +2,6 @@ FROM debian:latest RUN apt update && apt install -y nginx COPY ./warmweb/ /var/www/html -COPY ./warmwebconf/default /etc/nginx/conf.d/ RUN rm /etc/nginx/sites-enabled/default RUN echo "server {" > /etc/nginx/conf.d/default.conf && \ @@ -15,4 +14,4 @@ echo "}" >> /etc/nginx/conf.d/default.conf EXPOSE 52001 -CMD ["nginx", "-g", "daemon off;"] \ No newline at end of file +CMD ["nginx", "-g", "daemon off;"]