Skip to content

Commit

Permalink
feat: finished
Browse files Browse the repository at this point in the history
  • Loading branch information
BurdenOwl committed Nov 15, 2024
1 parent d848e2b commit dad984a
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 81 deletions.
Binary file added assets/images/sheevburnt.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
41 changes: 0 additions & 41 deletions assets/js/flagChecker.js

This file was deleted.

36 changes: 0 additions & 36 deletions assets/js/script.js

This file was deleted.

1 change: 0 additions & 1 deletion assets/js/takeMeHome.js

This file was deleted.

13 changes: 10 additions & 3 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Locker 4</title>
<link rel="stylesheet" href="./assets/css/style.css">
<link rel="shortcut icon" href="assets/images/sheevburnt.png" type="image/png">
</head>

<body id="lockDown" class="hidden">
Expand All @@ -30,9 +31,15 @@ <h1>
</s-page>

<script src="https://unpkg.com/sober@0.6.7/dist/sober.min.js"></script>
<script src="./assets/js/script.js"></script>
<script src="./assets/js/flagChecker.js"></script>
<script src="./assets/js/takeMeHome.js"></script>
<script>
const _0x26a5e8=_0xfcea;(function(_0x119a9f,_0x7c7deb){const _0x21e32b=_0xfcea,_0x25eca=_0x119a9f();while(!![]){try{const _0x305f58=parseInt(_0x21e32b(0x193))/0x1+-parseInt(_0x21e32b(0x18a))/0x2*(-parseInt(_0x21e32b(0x188))/0x3)+-parseInt(_0x21e32b(0x196))/0x4+-parseInt(_0x21e32b(0x185))/0x5+parseInt(_0x21e32b(0x186))/0x6+parseInt(_0x21e32b(0x190))/0x7*(parseInt(_0x21e32b(0x178))/0x8)+parseInt(_0x21e32b(0x18f))/0x9*(-parseInt(_0x21e32b(0x181))/0xa);if(_0x305f58===_0x7c7deb)break;else _0x25eca['push'](_0x25eca['shift']());}catch(_0x8e025b){_0x25eca['push'](_0x25eca['shift']());}}}(_0xdfda,0xcacc9));const flag=_0x26a5e8(0x18d),hashData=async _0x35cfe0=>{const _0x4f7d0e=_0x26a5e8,_0x4c94a5=new TextEncoder()[_0x4f7d0e(0x179)](_0x35cfe0),_0x3567c8=await crypto[_0x4f7d0e(0x194)]['digest']('SHA-256',_0x4c94a5);return Array['prototype']['slice'][_0x4f7d0e(0x17e)](new Uint8Array(_0x3567c8))[_0x4f7d0e(0x17a)](_0x2c449e=>_0x2c449e[_0x4f7d0e(0x17b)](0x10)[_0x4f7d0e(0x189)](0x2,'0'))[_0x4f7d0e(0x18b)]('');};function _0xdfda(){const _0x283305=['call','whetherLockDown','false','10WkgnOw','Website\x20blocked','theText','true','236830SQgKse','8974326GxgMqG','setItem','869916kwpdWU','padStart','2xMfIca','join','aHR0cHM6Ly90aW55dXJsLmNvbS9iZGRjcnZkYw==','487bc9db81d4eadf4b859515291d2d2ad291ebafa58f615b32de345e52a69d9f','lockDown','26101053zGUHnG','14581TptASw','Incorrect.\x20Now\x20the\x20website\x20is\x20locked','you\x20win\x20:)','1577709fvYAKz','subtle','innerHTML','1448852fIppyk','getElementById','2984Zapmiw','encode','map','toString','value','lockDown2'];_0xdfda=function(){return _0x283305;};return _0xdfda();}let lockDown=localStorage['getItem'](_0x26a5e8(0x17f));(lockDown==undefined||lockDown==null)&&(lockDown=_0x26a5e8(0x180),localStorage[_0x26a5e8(0x187)]('whetherLockDown',lockDown));function _0xfcea(_0x2c6c11,_0x2d2a46){const _0xdfdac0=_0xdfda();return _0xfcea=function(_0xfcea21,_0x3e2c3c){_0xfcea21=_0xfcea21-0x178;let _0x10b1df=_0xdfdac0[_0xfcea21];return _0x10b1df;},_0xfcea(_0x2c6c11,_0x2d2a46);};if(lockDown===_0x26a5e8(0x184)){let locked=document[_0x26a5e8(0x197)]('lockDown'),locked2=document[_0x26a5e8(0x197)](_0x26a5e8(0x17d));locked[_0x26a5e8(0x195)]=_0x26a5e8(0x182),locked2['innerHTML']='';};const submit=async()=>{const _0xa50378=_0x26a5e8,_0x5e7935=document[_0xa50378(0x197)](_0xa50378(0x183)),_0x5300be=_0x5e7935[_0xa50378(0x17c)];if(flag!==await hashData(_0x5300be)){alert(_0xa50378(0x191)),lockDown=_0xa50378(0x184),localStorage[_0xa50378(0x187)](_0xa50378(0x17f),lockDown),window['location']['href']=atob(_0xa50378(0x18c));return;};const _0x2c9766=document['getElementById'](_0xa50378(0x18e));_0x2c9766[_0xa50378(0x195)]=_0xa50378(0x192);};
</script>
<script>
const _0x580521=_0x477a;(function(_0x263eaf,_0x3cbb01){const _0x526b5f=_0x477a,_0x1ff6fa=_0x263eaf();while(!![]){try{const _0x55436d=parseInt(_0x526b5f(0x1b9))/0x1+-parseInt(_0x526b5f(0x1b1))/0x2+-parseInt(_0x526b5f(0x1b4))/0x3+-parseInt(_0x526b5f(0x1bd))/0x4*(-parseInt(_0x526b5f(0x1c4))/0x5)+parseInt(_0x526b5f(0x1c3))/0x6*(-parseInt(_0x526b5f(0x1ba))/0x7)+-parseInt(_0x526b5f(0x1bf))/0x8*(parseInt(_0x526b5f(0x1c2))/0x9)+parseInt(_0x526b5f(0x1b7))/0xa;if(_0x55436d===_0x3cbb01)break;else _0x1ff6fa['push'](_0x1ff6fa['shift']());}catch(_0x5a06c4){_0x1ff6fa['push'](_0x1ff6fa['shift']());}}}(_0x5375,0xe6d7d));const previousFlag1='37f13b5cd79434ba0bb8f89a95e227f881a8a17d535f6a71ff4d221e8f7a2e62',previousFlag2=_0x580521(0x1b3),previousFlag3=_0x580521(0x1c1);let questionNumber=0x1;const doubleCheck=async()=>{const _0x34c038=_0x580521;let _0x233f19=document[_0x34c038(0x1bb)](_0x34c038(0x1be)),_0x5e0e52;while(!![]){if(questionNumber==0x1){_0x5e0e52=prompt('To\x20continue,\x20please\x20enter\x20the\x20key\x20for\x20Locker1');if(previousFlag1===await hashData(_0x5e0e52[_0x34c038(0x1b6)]()))break;}else{if(questionNumber==0x2){_0x5e0e52=prompt(_0x34c038(0x1bc));if(previousFlag2===await hashData(_0x5e0e52[_0x34c038(0x1b6)]()))break;}else{if(questionNumber==0x3){_0x5e0e52=prompt(_0x34c038(0x1b8));if(previousFlag3===await hashData(_0x5e0e52[_0x34c038(0x1b6)]()))break;}}}alert('Incorrect\x20key.\x20Please\x20try\x20again.');}questionNumber=questionNumber+0x1;if(questionNumber==0x4){_0x233f19[_0x34c038(0x1b5)][_0x34c038(0x1b2)](_0x34c038(0x1c0));return;};doubleCheck();};function _0x477a(_0x1752a7,_0x372bb8){const _0x53759a=_0x5375();return _0x477a=function(_0x477a06,_0x3eba12){_0x477a06=_0x477a06-0x1b1;let _0x294720=_0x53759a[_0x477a06];return _0x294720;},_0x477a(_0x1752a7,_0x372bb8);}doubleCheck();function _0x5375(){const _0x38e145=['hidden','020dd3dc162a25483a5648c8ea007dc379ed5cb922f5cc7e4d2c48b3b69cc354','201519BTnezh','114kumilW','82975czkmbI','347546mnIPkC','remove','b1fc7cae5c24f2625866f490e53b17f4e4ddb30c33d6422ff650dce5a8345253','5499912ZnuEeh','classList','toUpperCase','35456090VYJLOa','To\x20continue,\x20please\x20enter\x20the\x20key\x20for\x20Locker3','1223715yaJWTo','394751llOKzx','getElementById','To\x20continue,\x20please\x20enter\x20the\x20key\x20for\x20Locker2','128UXQwst','lockDown','456qFmSct'];_0x5375=function(){return _0x38e145;};return _0x5375();}
</script>
<script>
(function (_0x4d2c7d, _0x4c7abb) { var _0x3ddced = _0x5e08, _0xc2ab46 = _0x4d2c7d(); while (!![]) { try { var _0x4fc4c5 = -parseInt(_0x3ddced(0xb7)) / 0x1 + -parseInt(_0x3ddced(0xb6)) / 0x2 + parseInt(_0x3ddced(0xb4)) / 0x3 + -parseInt(_0x3ddced(0xb8)) / 0x4 + parseInt(_0x3ddced(0xaf)) / 0x5 + -parseInt(_0x3ddced(0xb3)) / 0x6 + -parseInt(_0x3ddced(0xb9)) / 0x7 * (-parseInt(_0x3ddced(0xb5)) / 0x8); if (_0x4fc4c5 === _0x4c7abb) break; else _0xc2ab46['push'](_0xc2ab46['shift']()); } catch (_0x16daa9) { _0xc2ab46['push'](_0xc2ab46['shift']()); } } }(_0x5980, 0xb4611)); function _0x5e08(_0x39cf74, _0x2a0d74) { var _0x59803d = _0x5980(); return _0x5e08 = function (_0x5e0811, _0x50f480) { _0x5e0811 = _0x5e0811 - 0xaf; var _0x2af975 = _0x59803d[_0x5e0811]; return _0x2af975; }, _0x5e08(_0x39cf74, _0x2a0d74); } function _0x5980() { var _0x4a5f71 = ['1295322WOfCcL', '1896dCAUGU', '1382308MuoGal', '862299mlsXaY', '1431596lSIbWL', '39291qXUzOd', '5272515srTLos', 'href', 'location', 'https://tinyurl.com/4rfcjum9', '998238JVMnWU']; _0x5980 = function () { return _0x4a5f71; }; return _0x5980(); } function func() { var _0x2d4343 = _0x5e08; window[_0x2d4343(0xb1)][_0x2d4343(0xb0)] = _0x2d4343(0xb2); };
</script>
</body>

</html>

0 comments on commit dad984a

Please sign in to comment.