I was just wondering, If you veiw the html of a passworded web page can you change the html to bypass a password promt.

For example the original code would be this:

<form action="" method="POST"><input type="password" name="passwd"><input type="submit" name="Submit" value="Go"></form>

could you change this to this:

<input type="password" name="text1"> <font size="1"><input type="button" value="Go" name="Submit" onclick=javascript:validate(text2.value,"newbie",text1.value,"h4ck3r") >

This is an example from www.hdcwargame.com that I came up with. I already passed these levels so I am not asking for help with the wargame I just wonderd if you could do this and if it would work. Of couse you would have to save the changed html and open it in your browser but if you did this would the page validate "newbie" and "h4ck3r" instead of comparing it to a pwd file or pwl file on the server?????

by the way, I did try this and it didn't work but........ that dosen't mean that it dosen't work in theory. This is why I ask