```
<fieldset>
<label for="pass">Password:</label>
<input type="password" name="pass" id="pass" autocomplete='off'/><br/>
<input type="button" class="form_button" value="Submit" onclick="javascript:checkpass();"/>
So
Unfair Website….!!!!
- daMage
12 years ago
0
Hey hackthis4u, try using firebug and remember this is a javascript level.
So do you think you might be looking at some javascript code??? :)
when the time has come , I shall rise and conquer the world
Please,
The source code is the websites “builder”
Everything that is on the website is inside the source code!
So, if it is a simple USER/PASS validation process the chances are that the Password is in the source code
When you have user input (for example a password)
You want to validate that it is correct or not, to validate this we need to use code.
And if you don’t understand code, let me explain the logical way with a CODE that does not exist.
Input=
‘pass’=‘type your password here’
IF ‘pass’ == ‘DOG’ [accept user into website]
ESLE request details again
“==” is an equal sign
In most languages a single “=” is a set value for instance:
Pass = DOG
This is telling the computer that PASS is DOG
IF PASS==DOG
Now this is asking the computer, IS PASSWORD DOG?
Take a few minutes learning some basic coding before attempting any levels because obviously you still do not understand javascript language.
And read a few articles here on this forum
to find the password is straight forward.
step 1= the level tells you that you are working with javascript.
step 2= go back to Main level 3, do the level over again and this time try to become familiar with jscript especially in the section where you got the user and pass.
step4= look at the format of the jscript that contains the user and pass in Main level 3
step5= view source code of javascript level 1 and try to find the similiar jscript format as in Main level 3
step6= look at the value assigned to value.
step7= this is not the password its a container
step8= search for whats in the container
i hope this doesnt give out to much detail, moderators feel free to let me know please.
hope this helps
- daMage
@g3rmaslihan - correct is not the password but the password = correct.
now the question what is correct = too?
(and no the answer is not “too”)
basically read every line of the page source and you will find the correct answer! hint: READ the source code, and if you don’t know how to view page source just ask :)
the password was just in front of your eyes.. look closely.. its simple logic.. i have solved it even i don’t know much about java..
..>beLzebuB<..
1011 1010 1101 1111 1010 1100 1110
so what we smoke weed and hack
“I dislike people who quote themselves” - TaaRt
11 years ago
0
Basically open the source code and check all the codes mentioned between these tags
just as something to say for those who know not much about javascript.
many ways can be used to run/include javascript in a webpage
the 2 main methods are:
1- inside a script tag where you have the script it self in the source code.
2- as a source in the script tag where you find the script in a file idecated by the the src attribute.
if im not wrong, if you look in the right place for those 2 you can solve all javascriot missions.
I Hate Signatures.
11 years ago
0
Or you can solve all the levels using shift+F4 on Firefox. But what is the more efficient way?
@freewind1012: It opens up Scratch Pad so you can write JavaScript in it and then execute it. So you don’t have to fiddle around editing the source.
fkupzat , its not only about completing the levels , its about learning from it , but sure scratchpad makes work easier .
JAYSSJ11- “I’d rather be hated for who I am, than loved for who I am not.”
11 years ago
0
freewind1012-> Like Nighttshad3 said you can view the value of all javascript variables on a website with the scratchpad.
jayssj11-> Yes learning is the goal of each level and I didn’t know ADIGA’s methods so I will try soon :)
@fkpuzat: Yeah @ADIGA’s method is pretty much the same as using scratchpad just it’s inserting the script into the source.
@fkpuzat, @Nighttshad3: Ah, got it. Never use scratchpad because I don’t know what I should do with it. Now it seems to be a powerful tool.