Skip to content

Commit 93b7b5c

Browse files
committed
chore: more cosmetic fixes
1 parent 408169d commit 93b7b5c

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

assets/commands.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ window.USAGE = {
1010
keypad: 'usage:\tkeypad <code>'
1111
};
1212

13-
// Helper functions for flag1 obfuscation
13+
// ...
1414
function rot13(str) {
1515
return str.replace(/[a-zA-Z]/g, function (c) {
1616
return String.fromCharCode(
@@ -26,7 +26,6 @@ function base64Decode(str) {
2626
}
2727
}
2828
function getFlag1() {
29-
// ROT13 then base64 of the flag
3029
const b64 = 'PGS{sbhg-yvgref-vf-whfg-evtug}';
3130
const rot = base64Decode(b64);
3231
return rot13(rot);

0 commit comments

Comments
 (0)