Skip to content

Instantly share code, notes, and snippets.

@eviltester
Last active January 5, 2021 16:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save eviltester/9131724efe28a376907bf8b15e0ebb06 to your computer and use it in GitHub Desktop.
Save eviltester/9131724efe28a376907bf8b15e0ebb06 to your computer and use it in GitHub Desktop.
Challenge 13 of the 12 Days of TestMas 2020 challenge
var _0x2014=['class','div.door','27DvQMlz','323835EbRkHy','236136uYgZaz','data-date','2022/12/12','removeAttribute','988067lbpwFN','181827nlOrMb','785308bizyhW','querySelectorAll','1DhEcvB','div.door\x20a','forEach','setAttribute','1010029ZNxBZi','13133dzTUde'];var _0x29e1=function(_0x2c1487,_0x3e2de6){_0x2c1487=_0x2c1487-0x10b;var _0x20149e=_0x2014[_0x2c1487];return _0x20149e;};var _0x3b985f=_0x29e1;(function(_0xe08d5a,_0x2ed766){var _0x5a9c86=_0x29e1;while(!![]){try{var _0x208977=-parseInt(_0x5a9c86(0x112))*parseInt(_0x5a9c86(0x11b))+parseInt(_0x5a9c86(0x118))+parseInt(_0x5a9c86(0x117))+parseInt(_0x5a9c86(0x119))+parseInt(_0x5a9c86(0x113))+parseInt(_0x5a9c86(0x111))*-parseInt(_0x5a9c86(0x10e))+-parseInt(_0x5a9c86(0x10d));if(_0x208977===_0x2ed766)break;else _0xe08d5a['push'](_0xe08d5a['shift']());}catch(_0x10ce15){_0xe08d5a['push'](_0xe08d5a['shift']());}}}(_0x2014,0x7ac63),document[_0x3b985f(0x11a)](_0x3b985f(0x110))[_0x3b985f(0x10b)](_0x10bccc=>{var _0x1412a1=_0x3b985f;_0x10bccc[_0x1412a1(0x10c)](_0x1412a1(0x114),_0x1412a1(0x115));}),document[_0x3b985f(0x11a)](_0x3b985f(0x11c))[_0x3b985f(0x10b)](_0x1d9c44=>{var _0x40a6d4=_0x3b985f;_0x1d9c44[_0x40a6d4(0x116)](_0x40a6d4(0x10f));}),setupCalendar());
@eviltester
Copy link
Author

eviltester commented Jan 5, 2021

The 12 Days Site is an advent calendar.

https://12daysoftestmas.netlify.app/

We want to peek behind the doors to see what they hold.

But since the challenge is over they will all be open. That's no fun.

  • Right Click Inspect
  • In the JavaScript console copy and paste the obfuscated code
  • run it, and the doors should all be closed again.

Now your challenge. Challenge #13... peek behind the doors using whatever means necessary.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment