diff --git a/assets/js/locker2.js b/assets/js/locker2.js index 48bc9c6..31f5496 100644 --- a/assets/js/locker2.js +++ b/assets/js/locker2.js @@ -13,7 +13,7 @@ const correctFlagHash = 'b1fc7cae5c24f2625866f490e53b17f4e4ddb30c33d6422ff650dce async function checkFlag() { const enteredFlag = document.getElementById('flagInput').value; const hashedEnteredFlag = await hashFlag(enteredFlag); - const successMessage = "Q29uZ3JhdHVsYXRpb25zISBZb3UndmUgdW5sb2NrZWQgdGhlIGxvY2tlci4gTXIuQyBpcyB2ZXJ5IGN1bm5pbmcsIGhlIGhhcyBhbHJlYWR5IHRyYW5zZmVycmVkIHRoZSBzZWNyZXQgYmVmb3JlIHlvdXIgYXJyaXZhbA=="; + const successMessage = "TXIuQyBpcyBzbWFydCBidXQgbm90IHRoYXQgc21hcnQsIHdlIGZvdW5kIGEgVVJMIGxlYWQgdG8gYSBjbG91ZCBzdG9yYWdlLiBJIGd1ZXNzIGhlIHB1dHRlZCBzb21lIGZpbGVzIHRoZXJl"; if (hashedEnteredFlag === correctFlagHash) { document.querySelector('.locker').textContent = '๐'; diff --git a/assets/js/script.js b/assets/js/script.js index ed79132..839dd75 100644 --- a/assets/js/script.js +++ b/assets/js/script.js @@ -4,7 +4,7 @@ function checkFlag() { if (enteredFlag === correctFlag) { document.querySelector('.locker').textContent = '๐'; - alert("Don't be happy to early. Mr.C's secret is always safe!"); + alert("Don't be happy to early. Mr.C realize it and transfor the secret already!"); // Redirect to the harder game window.location.href = 'locker2.html'; } else { diff --git a/index.html b/index.html index e458dcc..cca4d59 100644 --- a/index.html +++ b/index.html @@ -10,8 +10,8 @@
-Your goal: Find the secret code hidden somewhere on this page to unlock the virtual locker!
+Your goal: Find the secret code hidden somewhere on this page to unlock the locker!
The locker is locked! Can you find the code to unlock it?
diff --git a/locker2.html b/locker2.html index 52e50e6..71016c2 100644 --- a/locker2.html +++ b/locker2.html @@ -12,16 +12,16 @@This time, only the best can find the secret code. I know you are curious and want to know the secret of Mr.C
The locker is locked again. Can you hack the locker?
+You found another locker, key is probably here...
Clue: Part of the secret flag is hidden somewhere within the resources of this page. You might need to look beyond the HTML...
Solve this to get the next part of the flag:
"I speak without a mouth and hear without ears. I have nobody, but I come alive with wind. What am I?" @@ -45,7 +45,7 @@
To get the final part of the flag, decrypt this message encrypted with a Vigenรจre cipher:
GIEWIV GMTLIV HIQS
Hint: VGhlIGtleSBpcyBhIGNvbW1vbiBncmVldGluZy4=
Now that you've collected all the parts, assemble them in the correct order to unlock the locker: