From 032c5d6895914a7658f4a489f944a62fb7ed844c Mon Sep 17 00:00:00 2001 From: Christopher Talib Date: Fri, 17 May 2019 16:58:45 +0200 Subject: [PATCH] finishing the first web challenge --- applications/README.md | 2 +- applications/blog/about.html | 24 +++++++++++++++++++ applications/blog/application.js | 3 +++ applications/blog/index.html | 5 ++++ applications/blog/style.css | 4 ++++ challenges/chapter_1/osint/osint_1.md | 5 ---- .../chapter_1/osint/osint_1_solution.md | 1 - challenges/chapter_1/web/web_1.md | 11 +++++++++ challenges/chapter_1/web/web_1_solution.md | 3 +++ 9 files changed, 51 insertions(+), 7 deletions(-) create mode 100644 applications/blog/about.html create mode 100644 applications/blog/application.js delete mode 100644 challenges/chapter_1/osint/osint_1.md delete mode 100644 challenges/chapter_1/osint/osint_1_solution.md create mode 100644 challenges/chapter_1/web/web_1.md create mode 100644 challenges/chapter_1/web/web_1_solution.md diff --git a/applications/README.md b/applications/README.md index 419a1fc..7346f32 100644 --- a/applications/README.md +++ b/applications/README.md @@ -2,4 +2,4 @@ ## OSINT -* Blog: a blog with information hidden within it. Used for the first chapter of OSINT challenges. \ No newline at end of file +* Blog: a blog with information hidden within it. Used for the first chapter of web challenges. \ No newline at end of file diff --git a/applications/blog/about.html b/applications/blog/about.html new file mode 100644 index 0000000..8522bdf --- /dev/null +++ b/applications/blog/about.html @@ -0,0 +1,24 @@ + + + + + + + + + + The SECRET blog of Robert Helmont + + + +
+
+

Hey! This is a secret page, you cannot enter!

+
+
+ + + + + \ No newline at end of file diff --git a/applications/blog/application.js b/applications/blog/application.js new file mode 100644 index 0000000..71cb92c --- /dev/null +++ b/applications/blog/application.js @@ -0,0 +1,3 @@ +function PrintThis() { + window.alert("Woah, easy cowboy. Here is your flag: {flag_YouCanReadJSToo!}") +} \ No newline at end of file diff --git a/applications/blog/index.html b/applications/blog/index.html index 5651a30..8bab88b 100644 --- a/applications/blog/index.html +++ b/applications/blog/index.html @@ -8,6 +8,7 @@ + The blog of Robert Helmont @@ -30,6 +31,10 @@ odit repellendus culpa quia obcaecati quisquam. Sapiente accusamus possimus tenetur blanditiis laudantium inventore modi vitae.

+
+

You can even do things like this

+

{flag_YouCannotSeeMe}

+
diff --git a/applications/blog/style.css b/applications/blog/style.css index 7f4fd9d..e59d634 100644 --- a/applications/blog/style.css +++ b/applications/blog/style.css @@ -12,4 +12,8 @@ #hidden { color: white; +} + +#hidden-post { + margin-left: 10000px; } \ No newline at end of file diff --git a/challenges/chapter_1/osint/osint_1.md b/challenges/chapter_1/osint/osint_1.md deleted file mode 100644 index 0e37dbd..0000000 --- a/challenges/chapter_1/osint/osint_1.md +++ /dev/null @@ -1,5 +0,0 @@ -# Welcome to Open-Source Intelligence - -Did you know that some people's job is to find information on the Internet? - -Let's warm up a bit. Can you find Alphonse Daudet's birthdate? diff --git a/challenges/chapter_1/osint/osint_1_solution.md b/challenges/chapter_1/osint/osint_1_solution.md deleted file mode 100644 index e33380b..0000000 --- a/challenges/chapter_1/osint/osint_1_solution.md +++ /dev/null @@ -1 +0,0 @@ -* 13 May 1840 \ No newline at end of file diff --git a/challenges/chapter_1/web/web_1.md b/challenges/chapter_1/web/web_1.md new file mode 100644 index 0000000..244ddd4 --- /dev/null +++ b/challenges/chapter_1/web/web_1.md @@ -0,0 +1,11 @@ +# Welcome to Open-Source Intelligence + +Did you know that some people's job is to find information on the Internet? + +Let's warm up a bit. Can you find Alphonse Daudet's birthdate? + +There is this guy using the name Robert Helmont. Here is a link to his blog. What do you see? + +Apparently, he talk *about* himself on another page. But I can't find the link. Where is it? What do you see? + +4 answers needed. diff --git a/challenges/chapter_1/web/web_1_solution.md b/challenges/chapter_1/web/web_1_solution.md new file mode 100644 index 0000000..f717b68 --- /dev/null +++ b/challenges/chapter_1/web/web_1_solution.md @@ -0,0 +1,3 @@ +* {flag_YouCannotFindMe} +* {flag_YouCanReadHTMLCommentsToo} +* {flag_YouCanReadJSToo!} \ No newline at end of file