Ik probeer dus met username George W. Bush te doen, en dan als password asshole, maar dat werkt niet, doetie niks
Code:
<html>
<head>
<title>Maarten's CIA Hacker</title>
<script language="javascript">
function hack() {
if(document.blaat.username.value == "George W. Bush" && document.blaat.password.value == "Asshole")
{
alert("Welcome in the secret CIA Computer")
document.write("What folder do you want to view?")
document.write("<br><br>")
document.write("<a href=javascript:porn()>Bush's P0rn Documents (11441 Gb)</a><br>")
document.write("<a href=javascript:porn()>Powell's P0rn Documents (12221 Gb)</a><br>")
document.write("<a href=javascript:army()>Army Documents</a><br>")
document.write("<a href=javascript:laden()>Bin Laden Info</a><br>")
}
}
function porn() {
document.write("Somebody has formatted this harddrive :(")
}
function army() {
document.write("Destroy the Middle-East and Afghanistan")
}
function laden() {
document.write("You stupid g#atf#cker")
}
</script>
<h1>CIA Secret Documents</h1>
<form name="blaat">
Username: <input type="text" name="username"><br>
Password: <input type="password" name="password"><br><br>
<input type="button" value="Login" onClick="hack()">
</form>