Click here to Skip to main content
16,018,938 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
Dear Sir,

Check this CODE:


HTML
<script type="text/javascript" src="111111111111111111/pass.htm"></script>
<a href = "111111111111111111/pass.html">Click here for password</a>



It is an quiz for me in ethical hacking workshop on Chennai.

In the above HTML CODE, that page should be redirect to "111111111111111111/pass.html" (18 1's)
But, It is redirection to "11111111111111111/pass.html" (17 1's).


What kind of script they used?
What Function they used?


ACTUAL QUIZ IS:::

When the kings from the Mughal Empire were aware of an approaching threat they wrote a message on a scroll over message very similar to overwriting as to you would find on () exam papers, but the Mughal’s believed in the sciences of life that it was a cycle.


HINT FOR THIS QUIS::

Your Hint
Are you aware the neural activity behind vision? How about you get a pair of eyes to look beneath the surface.



I know, the quiz and my question are not relevant. But surely answer will reside into this quiz .. :(

Help me soon :(
Posted
Updated 28-Jul-13 1:47am
v3

1 solution

In HTML we can redirect to another page using the anchor tag click

In javascript, we can redirect to another page using the

window.location.href = "111111111111111111/pass.html";

into the script tag


window.location.href = "111111111111111111/pass.html";
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900