We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 408169d commit 93b7b5cCopy full SHA for 93b7b5c
assets/commands.js
@@ -10,7 +10,7 @@ window.USAGE = {
10
keypad: 'usage:\tkeypad <code>'
11
};
12
13
-// Helper functions for flag1 obfuscation
+// ...
14
function rot13(str) {
15
return str.replace(/[a-zA-Z]/g, function (c) {
16
return String.fromCharCode(
@@ -26,7 +26,6 @@ function base64Decode(str) {
26
}
27
28
function getFlag1() {
29
- // ROT13 then base64 of the flag
30
const b64 = 'PGS{sbhg-yvgref-vf-whfg-evtug}';
31
const rot = base64Decode(b64);
32
return rot13(rot);
0 commit comments