help intro 10

Intro 10

linkinsky
4 years ago

0

After I check the sources, i found this js below:

Then I tried ‘code123’ and ‘?pass=code123’ and ‘?pass=’ in the password,but it doesnot work.
And I even tried type it in the URL,it still not work.
Did I get the wrong way??

3replies
4voices
1,059views
linkinsky
4 years ago

0

t type=‘text/javascript’>document.thecode = ‘code123’; $(function(){ $(‘.level form’).submit(function(e){ e.preventDefault(); if(document.getElementById(‘password’).value == document.thecode) { document.location = ‘?pass=’ + document.thecode; } else { alert(‘Incorrect password’) } })});

Reply has been removed
P3rs3u537
4 years ago

1

think about it like this its in javascript so what do you use a console for commands


0

document.thecode is set in two places. the latter is the one that is really read. also the answer is in hexadecimal. please tell me if I revealed too much.

You must be logged in to reply to this discussion. Login
1 of 4

This site only uses cookies that are essential for the functionality of this website. Cookies are not used for tracking or marketing purposes.

By using our site, you acknowledge that you have read and understand our Privacy Policy, and Terms of Service.

Dismiss