முக்கிய உள்ளடக்கத்திற்குச் செல்லவும்
eLearner.app
JS CODE CRACKER

JS Code Cracker

தனிமைப்படுத்தப்பட்ட ஜாவாஸ்கிரிப்ட் சாண்ட்பாக்ஸில் பாதுகாப்பு பாதிப்பைக் கண்டறிந்து சுரண்டலை இயக்கவும்.

Security Level 1

முதல் பாதுகாப்பு அமைப்புக்கு தனிப்பட்ட நோக்கம் வழியாக பாதுகாக்கப்பட்ட விசையை உருவாக்க வேண்டும். மற்றொரு செயல்பாட்டை வழங்கும் 'createSecureCounter' செயல்பாட்டைச் செயல்படுத்தவும். இந்த உள் செயல்பாடு ஒவ்வொரு அழைப்பிலும் தனிப்பட்ட கவுண்டர் மாறியை அதிகரிக்க வேண்டும் மற்றும் தற்போதைய எண்ணிக்கையை வழங்க வேண்டும். கவுண்டர் சரியாக 42ஐ அடையும் போது, ​​'JS-SECRET-KEY' என்ற அன்லாக் சரத்தை திருப்பி அனுப்ப வேண்டும்.

Sandbox Status

LOCK 1
LOCK 2
LOCK 3
Complete each level to perform the final sandbox exploit.

Stuck?

Learn the fundamental concepts in the JavaScript course to solve this challenge.

JavaScript Sandbox Console

Write and execute JavaScript code locally in your browser.

எடிட்டரை ஏற்றுகிறது…
Loading JS isolated execution environment...