diff --git a/web/cookiesCTF/Pages/Correct.html b/web/cookiesCTF/Pages/Correct.html
new file mode 100644
index 0000000..6ca63ab
--- /dev/null
+++ b/web/cookiesCTF/Pages/Correct.html
@@ -0,0 +1,13 @@
+
+
+
+ Correct!
+
+
+ Correct!
+
+
+
+
+
+
\ No newline at end of file
diff --git a/web/cookiesCTF/Pages/Task1/Task1ADMIN.html b/web/cookiesCTF/Pages/Task1/Task1ADMIN.html
new file mode 100644
index 0000000..463f213
--- /dev/null
+++ b/web/cookiesCTF/Pages/Task1/Task1ADMIN.html
@@ -0,0 +1,14 @@
+
+
+
+ Task №1
+
+
+ Hello, Admin!
+ Flag: PB{eat_my_cookies}
+
+
+
+
+
+
\ No newline at end of file
diff --git a/web/cookiesCTF/Pages/Task1/Task1GUEST.html b/web/cookiesCTF/Pages/Task1/Task1GUEST.html
new file mode 100644
index 0000000..0976d14
--- /dev/null
+++ b/web/cookiesCTF/Pages/Task1/Task1GUEST.html
@@ -0,0 +1,13 @@
+
+
+
+ Task №1
+
+
+ Hello, Guest!
+
+
+
+
+
+
\ No newline at end of file
diff --git a/web/cookiesCTF/Pages/Task2/Task2HUMAN.html b/web/cookiesCTF/Pages/Task2/Task2HUMAN.html
new file mode 100644
index 0000000..98c1a66
--- /dev/null
+++ b/web/cookiesCTF/Pages/Task2/Task2HUMAN.html
@@ -0,0 +1,15 @@
+
+
+
+ Task №2
+
+
+ Hello, Human!
+ You're not a robot! To get a flag, you must be a robot!
+ Hint: Cookies are protected by HASH, /usr/share/dict/words
+
+
+
+
+
+
\ No newline at end of file
diff --git a/web/cookiesCTF/Pages/Task2/Task2ROBOT.html b/web/cookiesCTF/Pages/Task2/Task2ROBOT.html
new file mode 100644
index 0000000..2463401
--- /dev/null
+++ b/web/cookiesCTF/Pages/Task2/Task2ROBOT.html
@@ -0,0 +1,14 @@
+
+
+
+ Task №2
+
+
+ Hello, Robot!
+ Flag: PB{I'm_a_cookiebot}
+
+
+
+
+
+
\ No newline at end of file
diff --git a/web/cookiesCTF/Pages/Task3/Task3SOLVED.html b/web/cookiesCTF/Pages/Task3/Task3SOLVED.html
new file mode 100644
index 0000000..b8d3856
--- /dev/null
+++ b/web/cookiesCTF/Pages/Task3/Task3SOLVED.html
@@ -0,0 +1,15 @@
+
+
+
+ Task №3
+
+
+ Congratulations!
+ Jake is give you a present:
+ Flag: PB{Jake_don't_mind}
+
+
+
+
+
+
\ No newline at end of file
diff --git a/web/cookiesCTF/Pages/Task3/Task3notSOLVED.html b/web/cookiesCTF/Pages/Task3/Task3notSOLVED.html
new file mode 100644
index 0000000..df34e56
--- /dev/null
+++ b/web/cookiesCTF/Pages/Task3/Task3notSOLVED.html
@@ -0,0 +1,18 @@
+
+
+
+ Task №3
+
+
+ Oh No!
+ Jake forgot his surname! He went to a government and got a cipher with his surname!
+ Please, decode it and write a decoded string to a cookie "Jake_Surname"!
+ Encoded string
+
+ Ciphers. Guess the cipher by it alphabet!
+
+
+
+
+
+
\ No newline at end of file
diff --git a/web/cookiesCTF/Pages/Task4/Task4SOLVED.html b/web/cookiesCTF/Pages/Task4/Task4SOLVED.html
new file mode 100644
index 0000000..d9b789a
--- /dev/null
+++ b/web/cookiesCTF/Pages/Task4/Task4SOLVED.html
@@ -0,0 +1,14 @@
+
+
+
+ Task №4
+
+
+ Jake is fun!
+ Yeah! Flag: PB{Jake_isn't_lonely}
+
+
+
+
+
+
\ No newline at end of file
diff --git a/web/cookiesCTF/Pages/Task4/Task4notSOLVED.html b/web/cookiesCTF/Pages/Task4/Task4notSOLVED.html
new file mode 100644
index 0000000..7b45823
--- /dev/null
+++ b/web/cookiesCTF/Pages/Task4/Task4notSOLVED.html
@@ -0,0 +1,17 @@
+
+
+
+ Task №4
+
+
+ Jake is so lonely!
+ To get the password, send the letter to Jake by POST.
+
+
Text in letter:
+ letter=Hello, Jake!
+
+
+
+
+
+
\ No newline at end of file
diff --git a/web/cookiesCTF/Pages/Task4/Task4preNOTsolved.html b/web/cookiesCTF/Pages/Task4/Task4preNOTsolved.html
new file mode 100644
index 0000000..185768a
--- /dev/null
+++ b/web/cookiesCTF/Pages/Task4/Task4preNOTsolved.html
@@ -0,0 +1,13 @@
+
+
+
+ Task №4
+
+
+ Not today!
+
+
+
+
+
+
\ No newline at end of file
diff --git a/web/cookiesCTF/Pages/Task4/Task4preSOLVED.html b/web/cookiesCTF/Pages/Task4/Task4preSOLVED.html
new file mode 100644
index 0000000..c7afbf1
--- /dev/null
+++ b/web/cookiesCTF/Pages/Task4/Task4preSOLVED.html
@@ -0,0 +1,14 @@
+
+
+
+ Task №4
+
+
+ Oh! Thank you!
+ Your present: Jake_is_fun=7d357b285f1744c3af09312e2c2e3c577fec5d0a091cb26e3089624890a31aad4d78165cb696d796f10eb81a568bcfa165a2e54771ad5bfb8f6451e48d3c1159
+
+
+
+
+
+
\ No newline at end of file
diff --git a/web/cookiesCTF/Pages/Task5/Task5SOLVED.html b/web/cookiesCTF/Pages/Task5/Task5SOLVED.html
new file mode 100644
index 0000000..ec36b2c
--- /dev/null
+++ b/web/cookiesCTF/Pages/Task5/Task5SOLVED.html
@@ -0,0 +1,14 @@
+
+
+
+ Task №5
+
+
+ VIDEO
+ PB{Y0tub3_v1d30s_ar3_fun}
+
+
+
+
+
+
\ No newline at end of file
diff --git a/web/cookiesCTF/Pages/Task5/Task5notSOLVED.html b/web/cookiesCTF/Pages/Task5/Task5notSOLVED.html
new file mode 100644
index 0000000..0100242
--- /dev/null
+++ b/web/cookiesCTF/Pages/Task5/Task5notSOLVED.html
@@ -0,0 +1,15 @@
+
+
+
+ Task №5
+
+
+ VIDEO
+
+ u_re_dog!
+
+
+
+
+
+
\ No newline at end of file
diff --git a/web/cookiesCTF/Pages/Task5/Task5preSOLVED.html b/web/cookiesCTF/Pages/Task5/Task5preSOLVED.html
new file mode 100644
index 0000000..3914dd7
--- /dev/null
+++ b/web/cookiesCTF/Pages/Task5/Task5preSOLVED.html
@@ -0,0 +1,13 @@
+
+
+
+ Task №5
+
+
+ df7e2ff08f3c98c59764f28c3bcfa5c3
+
+
+
+
+
+
\ No newline at end of file
diff --git a/web/cookiesCTF/Pages/TryAgain.html b/web/cookiesCTF/Pages/TryAgain.html
new file mode 100644
index 0000000..c6db864
--- /dev/null
+++ b/web/cookiesCTF/Pages/TryAgain.html
@@ -0,0 +1,13 @@
+
+
+
+ Try again!
+
+
+ Try again!
+
+
+
+
+
+
\ No newline at end of file
diff --git a/web/cookiesCTF/Pages/index.html b/web/cookiesCTF/Pages/index.html
new file mode 100644
index 0000000..a87e306
--- /dev/null
+++ b/web/cookiesCTF/Pages/index.html
@@ -0,0 +1,32 @@
+
+
+
+ Cookies Tasks
+
+
+
+ Task №1(Referesh page)
+
+ Task №2
+
+ Task №3
+
+ Task №4
+
+ Task №5
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/web/cookiesCTF/Pages/styles.css b/web/cookiesCTF/Pages/styles.css
new file mode 100644
index 0000000..19e2b4a
--- /dev/null
+++ b/web/cookiesCTF/Pages/styles.css
@@ -0,0 +1,43 @@
+body {
+ background: black;
+ font-family: 'Comfortaa', cursive;
+ color: white;
+}
+
+.link {
+ color: #f2ff80;
+ font-family: 'Comfortaa', cursive;
+}
+
+input[type=text] {
+ background: #9de3df;
+ color: black;
+ font-family: 'Balsamiq Sans', cursive;
+ font-size: 16px;
+}
+
+input[type=submit] {
+ background: #91ff7a;
+ border: none;
+ border-radius: 4px;
+ cursor: pointer;
+ padding: 12px 12px;
+ font-family: 'Comfortaa', cursive, bold;
+ font-size: 16px;
+ font-weight: bold;
+}
+
+.form_design {
+ padding: 20px 10px;
+ background: #30302f;
+}
+
+.correct {
+ text-align: center;
+ color: #9fff8c;
+}
+
+.try_again {
+ text-align: center;
+ color: #ff7a7a;
+}
\ No newline at end of file
diff --git a/web/cookiesCTF/ciphers.png b/web/cookiesCTF/ciphers.png
new file mode 100644
index 0000000..be91a90
Binary files /dev/null and b/web/cookiesCTF/ciphers.png differ
diff --git a/web/cookiesCTF/encoded_string.txt b/web/cookiesCTF/encoded_string.txt
new file mode 100644
index 0000000..b81ac80
--- /dev/null
+++ b/web/cookiesCTF/encoded_string.txt
@@ -0,0 +1 @@
+01000111 01000001 01011001 01000100 01000011 01001101 01001010 01010001 01000111 01000001 01011001 01010100 01000011 01001001 01000010 01010001 01000111 01000001 01011001 01010100 01000011 01001101 01000010 01010010 01000111 01000101 01011001 01010011 01000001 01001101 01000010 01010001 01000111 01000101 01011001 01000100 01000001 01001101 01000010 01010001 01000111 01000001 01010001 01000100 01000001 01001101 01000010 01010010 01000111 01000101 01011001 01000100 01000001 01001101 01001010 01010010 01000101 01000001 01011001 01000100 01000001 01001101 01001010 01010010 01000111 01000001 01011001 01010100 01000001 01001101 01001010 01000001 01000111 01000001 01011001 01000100 01000011 01001101 01000010 01010001 01000111 01000001 01011001 01000100 01000001 01001001 01000010 01010001 01000111 01000001 01011001 01010100 01000011 01001101 01000010 01010001 01000111 01000101 01011001 01000011 01000001 01001101 01000010 01010001 01000111 01000101 01011001 01010100 01000001 01001101 01000010 01010001 01000111 01000001 01010001 01000100 01000001 01001101 01000010 01010010 01000111 01000001 01011001 01000100 01000001 01001101 01000010 01010001 01000101 01000001 01011001 01000100 01000001 01001101 01001010 01010010 01000111 01000001 01011001 01000100 01000011 01001101 01001010 01000001 01000111 01000001 01011001 01000100 01000011 01001101 01001010 01010001 01000111 01000101 01011001 01010100 01000011 01001001 01000010 01010001 01000111 01000001 01011001 01010100 01000001 01001101 01000010 01010001 01000111 01000001 01011001 01000011 01000001 01001101 01000010 01010001 01000111 01000101 01011001 01010100 01000001 01001101 01000010 01010010 01000111 01000101 01010001 01000100 01000001 01001101 01000010 01010010 01000111 01000101 01011001 01010100 01000001 01001101 01000010 01010001 01000101 01000001 01011001 01000100 01000001 01001101 01001010 01010001 01000111 01000001 01011001 01000100 01000001 01001101 01000010 01000001 01000111 01000001 01011001 01000100 01000011 01001101 01001010 01010001 01000111 01000001 01011001 01010100 01000001 01001001 01000010 01010001 01000111 01000001 01011001 01010100 01000011 01001101 01000010 01010001 01000111 01000001 01011001 01000011 01000001 01001101 01000010 01010001 01000111 01000101 01011001 01000100 01000001 01001101 01000010 01010001 01000111 01000001 01010001 01000100 01000001 01001101 01000010 01010010 01000111 01000101 01011001 01000100 01000001 01001101 01001010 01010010 01000101 01000001 01011001 01000100 01000001 01001101 01001010 01010010 01000111 01000101 01011001 01000100 01000001 01001101 01000010 01000001 01000111 01000001 01011001 01000100 01000011 01001101 01000010 01010001 01000111 01000001 01011001 01000100 01000001 01001001 01000010 01010001 01000111 01000001 01011001 01010100 01000011 01001101 01000010 01010001 01000111 01000101 01011001 01010011 01000001 01001101 01000010 01010001 01000111 01000101 01011001 01010100 01000001 01001101 01001010 01010010 01000111 01000101 01010001 01000100 01000001 01001101 01000010 01010010 01000111 01000001 01011001 01000100 01000001 01001101 01000010 01010001 01000101 01000001 01011001 01000100 01000001 01001101 01001010 01010010 01000111 01000001 01011001 01000100 01000011 01001101 01000010 01000001 01000111 01000001 01011001 01000100 01000011 01001101 01001010 01010001 01000111 01000001 01011001 01000100 01000001 01001001 01000010 01010001 01000111 01000001 01011001 01010100 01000001 01001101 01000010 01010001 01000111 01000001 01011001 01000011 01000001 01001101 01000010 01010001 01000111 01000101 01011001 01010100 01000001 01001101 01000010 01010010 01000111 01000101 01010001 01000100 01000001 01001101 01000010 01010010 01000111 01000101 01011001 01010100 01000001 01001101 01000010 01010001 01000101 01000001 01011001 01000100 01000001 01001101 01001010 01010001 01000111 01000001 01011001 01000100 01000001 01001101 01000010 01000001 01000111 01000001 01011001 01000100 01000011 01001101 01001010 01010001 01000111 01000001 01011001 01010100 01000011 01001001 01000010 01010001 01000111 01000001 01011001 01010100 01000011 01001101 01000010 01010010 01000111 01000001 01011001 01010011 01000001 01001101 01000010 01010001 01000111 01000101 01011001 01000100 01000001 01001101 01000010 01010001 01000111 01000001 01010001 01000100 01000001 01001101 01000010 01010010 01000111 01000101 01011001 01000100 01000001 01001101 01001010 01010001 01000101 01000001 01011001 01000100 01000001 01001101 01001010 01010010 01000111 01000001 01011001 01000100 01000001 01001101 01000010 01000001 01000111 01000001 01011001 01000100 01000011 01001101 01000010 01010001 01000111 01000001 01011001 01000100 01000001 01001001 01000010 01010001 01000111 01000001 01011001 01010100 01000011 01001101 01000010 01010001 01000111 01000101 01011001 01010011 01000001 01001101 01000010 01010001 01000111 01000101 01011001 01010100 01000001 01001101 01001010 01010010 01000111 01000101 01010001 01000100 01000001 01001101 01000010 01010010 01000111 01000001 01011001 01000100 01000001 01001101 01000010 01010001 01000101 01000001 01011001 01000100 01000001 01001101 01001010 01010010 01000111 01000001 01011001 01000100 01000011 01001101 01001010 01000001 01000111 01000001 01011001 01000100 01000011 01001101 01001010 01010001 01000111 01000101 01011001 01010100 01000011 01001001 01000010 01010001 01000111 01000001 01011001 01010100 01000001 01001101 01000010 01010001 01000111 01000001 01011001 01000011 01000001 01001101 01000010 01010001 01000111 01000101 01011001 01010100 01000001 01001101 01000010 01010010 01000111 01000001 01010001 01000100 01000001 01001101 01000010 01010010 01000111 01000101 01011001 01000100 01000001 01001101 01000010 01010001 01000101 01000001 01011001 01000100 01000001 01001101 01001010 01010001 01000111 01000001 01011001 01000100 01000001 01001101 01000010 01000001 01000111 01000001 01011001 01000100 01000011 01001101 01001010 01010001 01000111 01000001 01011001 01010100 01000011 01001001 01000010 01010001 01000111 01000001 01011001 01010100 01000011 01001101 01000010 01010010 01000111 01000001 01011001 01010011 01000001 01001101 01000010 01010001 01000111 01000101 01011001 01000100 01000001 01001101 01000010 01010001 01000111 01000001 01010001 01000100 01000001 01001101 01000010 01010010 01000111 01000101 01011001 01000100 01000001 01001101 01001010 01010010 01000101 01000001 01011001 01000100 01000001 01001101 01001010 01010010 01000111 01000001 01011001 01000100 01000011 01001101 01000010 01000001 01000111 01000001 01011001 01000100 01000011 01001101 01000010 01010001 01000111 01000001 01011001 01000100 01000001 01001001 01000010 01010001 01000111 01000001 01011001 01010100 01000011 01001101 01000010 01010001 01000111 01000101 01011001 01000011 01000001 01001101 01000010 01010001 01000111 01000101 01011001 01010100 01000001 01001101 01000010 01010001 01000111 01000001 01010001 01000100 01000001 01001101 01000010 01010010 01000111 01000001 01011001 01000100 01000001 01001101 01000010 01010001 01000101 01000001 01011001 01000100 01000001 01001101 01001010 01010010 01000111 01000001 01011001 01000100 01000011 01001101 01001010 01000001 01000111 01000001 01011001 01000100 01000011 01001101 01001010 01010010 01000111 01000001 01011001 01000100 01000001 01001001 01000010 01010001 01000111 01000001 01011001 01010100 01000001 01001101 01000010 01010001 01000111 01000001 01011001 01000011 01000001 01001101 01000010 01010001 01000111 01000101 01011001 01010100 01000001 01001101 01000010 01010010 01000111 01000101 01010001 01000100 01000001 01001101 01000010 01010010 01000111 01000101 01011001 01000100 01000001 01001101 01001010 01010010 01000101 01000001 01011001 01000100 01000001 01001101 01001010 01010001 01000111 01000001 01011001 01000100 01000001 01001101 01000010 01000001 01000111 01000001 01011001 01000100 01000011 01001101 01001010 01010001 01000111 01000001 01011001 01010100 01000001 01001001 01000010 01010001 01000111 01000001 01011001 01010100 01000011 01001101 01000010 01010001 01000111 01000001 01011001 01000011 01000001 01001101 01000010 01010001 01000111 01000101 01011001 01000100 01000001 01001101 01000010 01010001 01000111 01000001 01010001 01000100 01000001 01001101 01000010 01010010 01000111 01000101 01011001 01000100 01000001 01001101 01001010 01010010 01000101 01000001 01011001 01000100 01000001 01001101 01001010 01010010 01000111 01000001 01011001 01010100 01000001 01001101 01001010 01000001 01000111 01000001 01011001 01000100 01000011 01001101 01000010 01010001 01000111 01000001 01011001 01000100 01000001 01001001 01000010 01010001 01000111 01000001 01011001 01010100 01000011 01001101 01000010 01010001 01000111 01000101 01011001 01010011 01000001 01001101 01000010 01010001 01000111 01000101 01011001 01010100 01000001 01001101 01000010 01010001 01000111 01000001 01010001 01000100 01000001 01001101 01000010 01010010 01000111 01000001 01011001 01000100 01000001 01001101 01000010 01010001 01000101 01000001 01011001 01000100 01000001 01001101 01001010 01010010 01000111 01000001 01011001 01000100 01000011 01001101 01000010 01000001 01000111 01000001 01011001 01000100 01000011 01001101 01001010 01010001 01000111 01000001 01011001 01000100 01000001 01001001 01000010 01010001 01000111 01000001 01011001 01010100 01000001 01001101 01000010 01010001 01000111 01000001 01011001 01000011 01000001 01001101 01000010 01010001 01000111 01000101 01011001 01010100 01000001 01001101 01000010 01010010 01000111 01000101 01010001 01000100 01000001 01001101 01000010 01010010 01000111 01000101 01011001 01000100 01000011 01001101 01001010 01010010 01000101 01000001 01011001 01000100 01000001 01001101 01001010 01010001 01000111 01000001 01011001 01000100 01000001 01001101 01000010 01000001 01000111 01000001 01011001 01000100 01000011 01001101 01001010 01010001 01000111 01000001 01011001 01010100 01000011 01001001 01000010 01010001 01000111 01000001 01011001 01010100 01000011 01001101 01000010 01010010 01000111 01000001 01011001 01010011 01000001 01001101 01000010 01010001 01000111 01000101 01011001 01000100 01000001 01001101 01000010 01010001 01000111 01000001 01010001 01000100 01000001 01001101 01000010 01010010 01000111 01000101 01011001 01000100 01000001 01001101 01001010 01010001 01000101 01000001 01011001 01000100 01000001 01001101 01001010 01010010 01000111 01000001 01011001 01000100 01000001 01001101 01000010 01000001 01000111 01000001 01011001 01000100 01000011 01001101 01000010 01010001 01000111 01000001 01011001 01000100 01000001 01001001 01000010 01010001 01000111 01000001 01011001 01010100 01000011 01001101 01000010 01010001 01000111 01000101 01011001 01010011 01000001 01001101 01000010 01010001 01000111 01000101 01011001 01010100 01000001 01001101 01001010 01010010 01000111 01000101 01010001 01000100 01000001 01001101 01000010 01010010 01000111 01000001 01011001 01000100 01000001 01001101 01000010 01010001 01000101 01000001 01011001 01000100 01000001 01001101 01001010 01010010 01000111 01000001 01011001 01000100 01000011 01001101 01001010 01000001 01000111 01000001 01011001 01000100 01000011 01001101 01001010 01010001 01000111 01000101 01011001 01010100 01000011 01001001 01000010 01010001 01000111 01000001 01011001 01010100 01000001 01001101 01000010 01010001 01000111 01000001 01011001 01000011 01000001 01001101 01000010 01010001 01000111 01000101 01011001 01010100 01000001 01001101 01000010 01010010 01000111 01000001 01010001 01000100 01000001 01001101 01000010 01010010 01000111 01000101 01011001 01000100 01000001 01001101 01000010 01010001 01000101 01000001 01011001 01000100 01000001 01001101 01001010 01010001 01000111 01000001 01011001 01000100 01000001 01001101 01000010 01000001 01000111 01000001 01011001 01000100 01000011 01001101 01001010 01010001 01000111 01000001 01011001 01010100 01000011 01001001 01000010 01010001 01000111 01000001 01011001 01010100 01000011 01001101 01001010 01010001 01000111 01000001 01011001 01000011 01000001 01001101 01000010 01010001 01000111 01000101 01011001 01000100 01000001 01001101 01000010 01010001 01000111 01000001 01010001 01000100 01000001 01001101 01000010 01010010 01000111 01000101 01011001 01000100 01000001 01001101 01001010 01010010 01000101 01000001 01011001 01000100 01000001 01001101 01001010 01010010 01000111 01000101 01011001 01000100 01000001 01001101 01001010 01000001 01000111 01000001 01011001 01000100 01000011 01001101 01000010 01010001 01000111 01000001 01011001 01000100 01000001 01001001 01000010 01010001 01000111 01000001 01011001 01010100 01000011 01001101 01000010 01010001 01000111 01000101 01011001 01000011 01000001 01001101 01000010 01010001 01000111 01000101 01011001 01010100 01000001 01001101 01000010 01010001 01000111 01000001 01010001 01000100 01000001 01001101 01000010 01010010 01000111 01000001 01011001 01000100 01000001 01001101 01000010 01010001 01000101 01000001 01011001 01000100 01000001 01001101 01001010 01010010 01000111 01000001 01011001 01000100 01000011 01001101 01001010 01000001 01000111 01000001 01011001 01000100 01000011 01001101 01001010 01010010 01000111 01000001 01011001 01000100 01000001 01001001 01000010 01010001 01000111 01000001 01011001 01010100 01000001 01001101 01000010 01010001 01000111 01000001 01011001 01000011 01000001 01001101 01000010 01010001 01000111 01000101 01011001 01010100 01000001 01001101 01000010 01010010 01000111 01000101 01010001 01000100 01000001 01001101 01000010 01010010 01000111 01000101 01011001 01000100 01000011 01001101 01000010 01010010 01000101 01000001 01011001 01000100 01000001 01001101 01001010 01010001 01000111 01000001 01011001 01000100 01000001 01001101 01000010 01000001 01000111 01000001 01011001 01000100 01000011 01001101 01001010 01010001 01000111 01000001 01011001 01010100 01000001 01001001 01000010 01010001 01000111 01000001 01011001 01010100 01000011 01001101 01000010 01010001 01000111 01000001 01011001 01000011 01000001 01001101 01000010 01010001 01000111 01000101 01011001 01000100 01000001 01001101 01000010 01010001 01000111 01000001 01010001 01000100 01000001 01001101 01000010 01010010 01000111 01000101 01011001 01000100 01000001 01001101 01001010 01010010 01000101 01000001 01011001 01000100 01000001 01001101 01001010 01010010 01000111 01000001 01011001 01010100 01000011 01001101 01001010 01000001 01000111 01000001 01011001 01000100 01000011 01001101 01000010 01010001 01000111 01000001 01011001 01000100 01000001 01001001 01000010 01010001 01000111 01000001 01011001 01010100 01000011 01001101 01000010 01010001 01000111 01000101 01011001 01010011 01000001 01001101 01000010 01010001 01000111 01000101 01011001 01010100 01000001 01001101 01000010 01010010 01000111 01000101 01010001 01000100 01000001 01001101 01000010 01010010 01000111 01000001 01011001 01000100 01000001 01001101 01000010 01010001 01000101 01000001 01011001 01000100 01000001 01001101 01001010 01010010 01000111 01000001 01011001 01000100 01000011 01001101 01000010 01000001 01000111 01000001 01011001 01000100 01000011 01001101 01001010 01010001 01000111 01000001 01011001 01000100 01000001 01001001 01000010 01010001 01000111 01000001 01011001 01010100 01000001 01001101 01000010 01010001 01000111 01000001 01011001 01000011 01000001 01001101 01000010 01010001 01000111 01000101 01011001 01010100 01000001 01001101 01000010 01010010 01000111 01000101 01010001 01000100 01000001 01001101 01000010 01010010 01000111 01000101 01011001 01010100 01000001 01001101 01000010 01010001 01000101 01000001 01011001 01000100 01000001 01001101 01001010 01010001 01000111 01000001 01011001 01000100 01000001 01001101 01000010 01000001 01000111 01000001 01011001 01000100 01000011 01001101 01001010 01010001 01000111 01000001 01011001 01010100 01000011 01001001 01000010 01010001 01000111 01000001 01011001 01010100 01000011 01001101 01000010 01010010 01000111 01000101 01011001 01010011 01000001 01001101 01000010 01010001 01000111 01000101 01011001 01000100 01000001 01001101 01000010 01010001 01000111 01000001 01010001 01000100 01000001 01001101 01000010 01010010 01000111 01000101 01011001 01000100 01000001 01001101 01001010 01010001 01000101 01000001 01011001 01000100 01000001 01001101 01001010 01010010 01000111 01000001 01011001 01000100 01000001 01001101 01000010 01000001 01000111 01000001 01011001 01000100 01000011 01001101 01000010 01010001 01000111 01000001 01011001 01000100 01000001 01001001 01000010 01010001 01000111 01000001 01011001 01010100 01000011 01001101 01000010 01010001 01000111 01000101 01011001 01010011 01000001 01001101 01000010 01010001 01000111 01000101 01011001 01010100 01000001 01001101 01001010 01010010 01000111 01000101 01010001 01000100 01000001 01001101 01000010 01010010 01000111 01000001 01011001 01000100 01000001 01001101 01000010 01010001 01000101 01000001 01011001 01000100 01000001 01001101 01001010 01010010 01000111 01000001 01011001 01000100 01000011 01001101 01001010 01000001 01000111 01000001 01011001 01000100 01000011 01001101 01001010 01010001 01000111 01000101 01011001 01000100 01000011 01001001 01000010 01010001 01000111 01000001 01011001 01010100 01000001 01001101 01000010 01010001 01000111 01000001 01011001 01000011 01000001 01001101 01000010 01010001 01000111 01000101 01011001 01010100 01000001 01001101 01000010 01010010 01000111 01000001 01010001 01000100 01000001 01001101 01000010 01010010 01000111 01000101 01011001 01000100 01000001 01001101 01000010 01010001 01000101 01000001 01011001 01000100 01000001 01001101 01001010 01010001 01000111 01000001 01011001 01000100 01000001 01001101 01000010 01000001 01000111 01000001 01011001 01000100 01000011 01001101 01001010 01010001 01000111 01000001 01011001 01010100 01000011 01001001 01000010 01010001 01000111 01000001 01011001 01010100 01000011 01001101 01001010 01010001 01000111 01000001 01011001 01000011 01000001 01001101 01000010 01010001 01000111 01000101 01011001 01000100 01000001 01001101 01000010 01010001 01000111 01000001 01010001 01000100 01000001 01001101 01000010 01010010 01000111 01000101 01011001 01000100 01000001 01001101 01001010 01010010 01000101 01000001 01011001 01000100 01000001 01001101 01001010 01010010 01000111 01000101 01011001 01000100 01000001 01001101 01000010 01000001 01000111 01000001 01011001 01000100 01000011 01001101 01000010 01010001 01000111 01000001 01011001 01000100 01000001 01001001 01000010 01010001 01000111 01000001 01011001 01010100 01000011 01001101 01000010 01010001 01000111 01000101 01011001 01000011 01000001 01001101 01000010 01010001 01000111 01000101 01011001 01010100 01000001 01001101 01000010 01010001 01000111 01000001 01010001 01000100 01000001 01001101 01000010 01010010 01000111 01000001 01011001 01000100 01000001 01001101 01000010 01010001 01000101 01000001 01011001 01000100 01000001 01001101 01001010 01010010 01000111 01000001 01011001 01000100 01000011 01001101 01001010 01000001 01000111 01000001 01011001 01000100 01000011 01001101 01001010 01010001 01000111 01000101 01011001 01010100 01000011 01001001 01000010 01010001 01000111 01000001 01011001 01010100 01000001 01001101 01000010 01010001 01000111 01000001 01011001 01000011 01000001 01001101 01000010 01010001 01000111 01000101 01011001 01010100 01000001 01001101 01000010 01010010 01000111 01000101 01010001 01000100 01000001 01001101 01000010 01010010 01000111 01000101 01011001 01010100 01000001 01001101 01000010 01010010 01000101 01000001 01011001 01000100 01000001 01001101 01001010 01010001 01000111 01000001 01011001 01000100 01000001 01001101 01000010 01000001 01000111 01000001 01011001 01000100 01000011 01001101 01001010 01010001 01000111 01000001 01011001 01010100 01000001 01001001 01000010 01010001 01000111 01000001 01011001 01010100 01000011 01001101 01000010 01010001 01000111 01000001 01011001 01000011 01000001 01001101 01000010 01010001 01000111 01000101 01011001 01000100 01000001 01001101 01000010 01010001 01000111 01000001 01010001 01000100 01000001 01001101 01000010 01010010 01000111 01000101 01011001 01000100 01000001 01001101 01001010 01010010 01000101 01000001 01011001 01000100 01000001 01001101 01001010 01010010 01000111 01000101 01011001 01000100 01000001 01001101 01000010 01000001 01000111 01000001 01011001 01000100 01000011 01001101 01000010 01010001 01000111 01000001 01011001 01000100 01000001 01001001 01000010 01010001 01000111 01000001 01011001 01010100 01000011 01001101 01000010 01010001 01000111 01000101 01011001 01010011 01000001 01001101 01000010 01010001 01000111 01000101 01011001 01010100 01000001 01001101 01000010 01010010 01000111 01000001 01010001 01000100 01000001 01001101 01000010 01010010 01000111 01000001 01011001 01000100 01000001 01001101 01000010 01010001 01000101 01000001 01011001 01000100 01000001 01001101 01001010 01010010 01000111 01000001 01011001 01000100 01000011 01001101 01000010 01000001 01000111 01000001 01011001 01000100 01000011 01001101 01001010 01010001 01000111 01000001 01011001 01000100 01000001 01001001 01000010 01010001 01000111 01000001 01011001 01010100 01000001 01001101 01000010 01010001 01000111 01000001 01011001 01000011 01000001 01001101 01000010 01010001 01000111 01000101 01011001 01010100 01000001 01001101 01000010 01010010 01000111 01000101 01010001 01000100 01000001 01001101 01000010 01010010 01000111 01000101 01011001 01010100 01000001 01001101 01000010 01010001 01000101 01000001 01011001 01000100 01000001 01001101 01001010 01010001 01000111 01000001 01011001 01000100 01000001 01001101 01000010 01000001 01000111 01000001 01011001 01000100 01000011 01001101 01001010 01010001 01000111 01000001 01011001 01010100 01000011 01001001 01000010 01010001 01000111 01000001 01011001 01010100 01000011 01001101 01000010 01010010 01000111 01000101 01011001 01010011 01000001 01001101 01000010 01010001 01000111 01000101 01011001 01000100 01000001 01001101 01000010 01010001 01000111 01000001 01010001 01000100 01000001 01001101 01000010 01010010 01000111 01000101 01011001 01000100 01000001 01001101 01001010 01010001 01000101 01000001 01011001 01000100 01000001 01001101 01001010 01010010 01000111 01000001 01011001 01000100 01000001 01001101 01000010 01000001 01000111 01000001 01011001 01000100 01000011 01001101 01000010 01010001 01000111 01000001 01011001 01000100 01000001 01001001 01000010 01010001 01000111 01000001 01011001 01010100 01000011 01001101 01000010 01010001 01000111 01000101 01011001 01010011 01000001 01001101 01000010 01010001 01000111 01000101 01011001 01010100 01000001 01001101 01001010 01010010 01000111 01000001 01010001 01000100 01000001 01001101 01000010 01010010 01000111 01000001 01011001 01000100 01000001 01001101 01000010 01010001 01000101 01000001 01011001 01000100 01000001 01001101 01001010 01010010 01000111 01000001 01011001 01000100 01000011 01001101 01001010 01000001 01000111 01000001 01011001 01000100 01000011 01001101 01001010 01010001 01000111 01000101 01011001 01000100 01000011 01001001 01000010 01010001 01000111 01000001 01011001 01010100 01000001 01001101 01000010 01010001 01000111 01000001 01011001 01000011 01000001 01001101 01000010 01010001 01000111 01000101 01011001 01010100 01000001 01001101 01000010 01010010 01000111 01000001 01010001 01000100 01000001 01001101 01000010 01010010 01000111 01000101 01011001 01000100 01000001 01001101 01000010 01010001 01000101 01000001 01011001 01000100 01000001 01001101 01001010 01010001 01000111 01000001 01011001 01000100 01000001 01001101 01000010 01000001 01000111 01000001 01011001 01000100 01000011 01001101 01001010 01010001 01000111 01000001 01011001 01010100 01000011 01001001 01000010 01010001 01000111 01000001 01011001 01010100 01000011 01001101 01000010 01010010 01000111 01000101 01011001 01000011 01000001 01001101 01000010 01010001 01000111 01000101 01011001 01000100 01000001 01001101 01000010 01010001 01000111 01000001 01010001 01000100 01000001 01001101 01000010 01010010 01000111 01000101 01011001 01000100 01000001 01001101 01001010 01010010 01000101 01000001 01011001 01000100 01000001 01001101 01001010 01010010 01000111 01000001 01011001 01000100 01000001 01001101 01001010 01000001 01000111 01000001 01011001 01000100 01000011 01001101 01000010 01010001 01000111 01000001 01011001 01000100 01000001 01001001 01000010 01010001 01000111 01000001 01011001 01010100 01000011 01001101 01000010 01010001 01000111 01000101 01011001 01000011 01000001 01001101 01000010 01010001 01000111 01000101 01011001 01010100 01000001 01001101 01000010 01010001 01000111 01000001 01010001 01000100 01000001 01001101 01000010 01010010 01000111 01000001 01011001 01000100 01000001 01001101 01000010 01010001 01000101 01000001 01011001 01000100 01000001 01001101 01001010 01010010 01000111 01000001 01011001 01000100 01000011 01001101 01001010 01000001 01000111 01000001 01011001 01000100 01000011 01001101 01001010 01010001 01000111 01000101 01011001 01010100 01000001 01001001 01000010 01010001 01000111 01000001 01011001 01010100 01000001 01001101 01000010 01010001 01000111 01000001 01011001 01000011 01000001 01001101 01000010 01010001 01000111 01000101 01011001 01010100 01000001 01001101 01000010 01010010 01000111 01000101 01010001 01000100 01000001 01001101 01000010 01010010 01000111 01000101 01011001 01000100 01000001 01001101 01000010 01010010 01000101 01000001 01011001 01000100 01000001 01001101 01001010 01010001 01000111 01000001 01011001 01000100 01000001 01001101 01000010 01000001 01000111 01000001 01011001 01000100 01000011 01001101 01001010 01010001 01000111 01000001 01011001 01010100 01000001 01001001 01000010 01010001 01000111 01000001 01011001 01010100 01000011 01001101 01000010 01010001 01000111 01000001 01011001 01000011 01000001 01001101 01000010 01010001 01000111 01000101 01011001 01000100 01000001 01001101 01000010 01010001 01000111 01000001 01010001 01000100 01000001 01001101 01000010 01010010 01000111 01000101 01011001 01000100 01000001 01001101 01001010 01010010 01000101 01000001 01011001 01000100 01000001 01001101 01001010 01010010 01000111 01000001 01011001 01010100 01000011 01001101 01000010 01000001 01000111 01000001 01011001 01000100 01000011 01001101 01000010 01010001 01000111 01000001 01011001 01000100 01000001 01001001 01000010 01010001 01000111 01000001 01011001 01010100 01000011 01001101 01000010 01010001 01000111 01000101 01011001 01010011 01000001 01001101 01000010 01010001 01000111 01000101 01011001 01010100 01000001 01001101 01000010 01010001 01000111 01000101 01010001 01000100 01000001 01001101 01000010 01010010 01000111 01000001 01011001 01000100 01000001 01001101 01000010 01010001 01000101 01000001 01011001 01000100 01000001 01001101 01001010 01010010 01000111 01000001 01011001 01000100 01000011 01001101 01000010 01000001 01000111 01000001 01011001 01000100 01000011 01001101 01001010 01010001 01000111 01000001 01011001 01000100 01000001 01001001 01000010 01010001 01000111 01000001 01011001 01010100 01000001 01001101 01000010 01010001 01000111 01000001 01011001 01000011 01000001 01001101 01000010 01010001 01000111 01000101 01011001 01010100 01000001 01001101 01000010 01010010 01000111 01000101 01010001 01000100 01000001 01001101 01000010 01010010 01000111 01000101 01011001 01000100 01000011 01001101 01001010 01010001 01000101 01000001 01011001 01000100 01000001 01001101 01001010 01010001 01000111 01000001 01011001 01000100 01000001 01001101 01000010 01000001 01000111 01000001 01011001 01000100 01000011 01001101 01001010 01010001 01000111 01000001 01011001 01010100 01000011 01001001 01000010 01010001 01000111 01000001 01011001 01010100 01000011 01001101 01000010 01010001 01000111 01000001 01011001 01010001 00111101 00111101 00111101 00111101
diff --git a/web/cookiesCTF/main.py b/web/cookiesCTF/main.py
new file mode 100644
index 0000000..5d9947a
--- /dev/null
+++ b/web/cookiesCTF/main.py
@@ -0,0 +1,122 @@
+from bottle import route, run, request, response, static_file, get, template
+
+
+@route('/')
+def hello():
+ f = open('./Pages/index.html')
+ return f.read()
+
+
+@get('/styles.css')
+def retCss():
+ return static_file('styles.css', root='./Pages')
+
+
+@get('/', method='POST')
+def checkFlag():
+ flag = request.forms.get('flag')
+ if flag == "PB{eat_my_cookies}" or flag == "PB{I'm_a_cookiebot}" or flag == "PB{Jake_don't_mind}" or flag == "PB{Jake_isn't_lonely}" or flag == 'PB{Y0tub3_v1d30s_ar3_fun}':
+ f = open('./Pages/Correct.html')
+ return f.read()
+ else:
+ f = open('./Pages/TryAgain.html')
+ return f.read()
+
+
+@route('/1')
+def task1():
+ response.set_cookie("is_admin", "no", path="/")
+ if request.get_cookie("is_admin") == "no":
+ f = open('./Pages/Task1/Task1GUEST.html')
+ return f.read()
+ elif request.get_cookie("is_admin") == "yes":
+ f = open('./Pages/Task1/Task1ADMIN.html')
+ return f.read()
+
+
+@route('/2')
+def task2():
+ response.set_cookie("is_robot", "99e9bae675b12967251c175696f00a70", path="/")
+ if request.get_cookie("is_robot") == "87b7cb79481f317bde90c116cf36084b":
+ f = open('./Pages/Task2/Task2ROBOT.html')
+ return f.read()
+ else:
+ f = open('./Pages/Task2/Task2HUMAN.html')
+ return f.read()
+
+@route('/3')
+def task3():
+ response.set_cookie("Jake_Surname", "Jake-None", path="/")
+ if request.get_cookie("Jake_Surname") == "Jake-Cake":
+ f = open('./Pages/Task3/Task3SOLVED.html')
+ return f.read()
+ else:
+ f = open('./Pages/Task3/Task3notSOLVED.html')
+ return f.read()
+
+
+@route('/3_file1')
+def task3_file1():
+ return static_file('encoded_string.txt', root='./')
+
+
+@route('/3_file2')
+def task3_file2():
+ return static_file('ciphers.png', root='./', mimetype='image/png')
+
+
+@route('/4')
+def task4():
+ response.set_cookie("Jake_is_fun",
+ "35eae3ea7fe1598f7f8ffa2806229068074bac921b2d235ed02660c6009eba9d40b09e2f5bfa099c8e66235d89d2bd3771941741a02a181aba9dcb027acca465",
+ path='/')
+ if request.get_cookie(
+ "Jake_is_fun") == "7d357b285f1744c3af09312e2c2e3c577fec5d0a091cb26e3089624890a31aad4d78165cb696d796f10eb81a568bcfa165a2e54771ad5bfb8f6451e48d3c1159":
+ f = open('./Pages/Task4/Task4SOLVED.html')
+ return f.read()
+ else:
+ f = open('./Pages/Task4/Task4notSOLVED.html')
+ return f.read()
+
+
+@route('/4', method='POST')
+def check_letter():
+ letter = request.body.read()
+ letter = bytes.decode(letter, encoding='utf-8')
+ d = 0
+ s = ''
+ for i in letter:
+ if i == 'H':
+ d = 1
+ s += i
+ elif i == '!':
+ d = 0
+ s += i
+ break
+
+ elif d == 1:
+ s += i
+
+ if s == 'Hello, Jake!':
+ f = open('./Pages/Task4/Task4preSOLVED.html')
+ return f.read()
+ else:
+ f = open('./Pages/Task4/Task4preNOTsolved.html')
+ return f.read()
+
+@route('/5')
+def task5():
+ response.set_cookie('u_re_dog', '5ac8ed2a7cc7038692785af9a958b46d')
+ if request.get_cookie('u_re_dog') == 'df7e2ff08f3c98c59764f28c3bcfa5c3':
+ f = open('./Pages/Task5/Task5SOLVED.html')
+ return f.read()
+ else:
+ f = open('./Pages/Task5/Task5notSOLVED.html')
+ return f.read()
+
+@route('/5', method='PATCH')
+def tash5patch():
+ f = open('./Pages/Task5/Task5preSOLVED.html')
+ return f.read()
+
+run(host='localhost', port=8080, debug=True)
diff --git a/web/cookiesCTF/styles.css b/web/cookiesCTF/styles.css
new file mode 100644
index 0000000..55cb80d
--- /dev/null
+++ b/web/cookiesCTF/styles.css
@@ -0,0 +1,43 @@
+body {
+ background: black;
+ font-family: 'Comfortaa', cursive;
+ color: white;
+}
+
+.link {
+ color: #f2ff80;
+ font-family: 'Comfortaa', cursive;
+}
+
+input[type=text] {
+ background: #9de3df;
+ color: black;
+ font-family: 'Balsamiq Sans', cursive;
+ font-size: 16;
+}
+
+input[type=submit] {
+ background: #91ff7a;
+ border: none;
+ border-radius: 4px;
+ cursor: pointer;
+ padding: 12px 12px;
+ font-family: 'Comfortaa', cursive, bold;
+ font-size: 16;
+ font-weight: bold;
+}
+
+.form_design {
+ padding: 20px 10px;
+ background: #30302f;
+}
+
+.correct {
+ text-align: center;
+ color: #9fff8c;
+}
+
+.try_again {
+ text-align: center;
+ color: #ff7a7a;
+}
\ No newline at end of file