<script language="JavaScript" type="text/javascript"> <!-- var username= "Marin" var password= "MySecretPassword"; password=prompt("Please enter the login password",""); if (password=="MySecretPassword") { window.location.href="http://www.disneylandparis.com"; } else if (password=="xxxxxxxxxxxxx") { window.location.href="xxxxxxxxxxxxx"; } else { window.location.href="http://www.disneylandparis.com"; } //--> </script>
<script language="JavaScript" type="text/javascript"> <!-- var multiply = 1; var divide = 3; var plus = 84; var nr = 2; var i = 0; number=prompt("Please enter the correct number",""); multiply = multiply + multiply * multiply; divide = divide * 4 * divide; plus = plus * plus - plus + 3; i = number + multiply + plus * divide + nr; if (i == 162758) { window.location.href="xxxxxxxxxxxxx.aspx"; } else { window.location.href="http://www.disneylandparis.com"; } //--> </script>
<script language="JavaScript" type="text/javascript"> <!-- var oxo0x00xox0xoo0xox00xo0x00xox0xoo0xox0 = "83345"; var oxo0x00xox0x0o0x0x0xo0x00xox0xoo0xox0 = "extrastrongpassword"; password=prompt("Please enter the login password",""); newPassword = oxo0x00xox0xoo0xox00xo0x00xox0xoo0xox0.substr(1,1) + oxo0x00xox0xoo0xox00xo0x00xox0xoo0xox0.substr(3,1) + oxo0x00xox0xoo0xox00xo0x00xox0xoo0xox0.substring(0,1) + password.substring(1); alert(newPassword); if (newPassword=="348873") { window.location.href=password.substring(2,1) + password.substring(1,1) + password.substring(3,1) + "." + oxo0x00xox0x0o0x0x0xo0x00xox0xoo0xox0.substring(4,5) + oxo0x00xox0x0o0x0x0xo0x00xox0xoo0xox0.substring(5,6) + oxo0x00xox0x0o0x0x0xo0x00xox0xoo0xox0.substring(11,12) + oxo0x00xox0x0o0x0x0xo0x00xox0xoo0xox0.substring(1,2); } else { alert("Go search for the solution"); window.location.href="http://www.google.com"; } //--> </script>
<script type="text/javascript" src="md5.js"></script><script type="text/javascript" src="script.js"></script>script.jse=prompt("Please enter username","");f=prompt("Please enter password","");d=hex_md5(f);if(e=='jack'&&d=='7b6835b9cd3667f365d2c25bf5261012'){window.location.href=e+f.substr(0,1)+".aspx";}else{alert("Wrong password or username");}
private static void Main() { Console.WriteLine("Please enter your username"); string text = Console.ReadLine(); Console.WriteLine("Please enter your password"); string text2 = Console.ReadLine(); if ((text == "bauer") && (text2 == "xxxxxxxxxxx")) { Uri requestUri = new Uri("http://ac61fd17-d9e3-427d-a3df-6ad2b882282d.hacktests.com/xxxxxxx.aspx"); StreamReader reader = new StreamReader(WebRequest.CreateDefault(requestUri).GetResponse().GetResponseStream()); Console.WriteLine("The level password is: " + new Guid(reader.ReadLine())); Console.ReadLine(); } else { Console.WriteLine("Wrong username or password"); Console.ReadLine(); } }
private static void Main() { Console.WriteLine("Enter username: "); string text = Console.ReadLine(); Console.WriteLine("Enter password: "); string text2 = Console.ReadLine(); string text3 = new StreamReader("users.txt").ReadLine(); string text4 = text3.Split(new char[] { ':' })[0]; string text5 = Encryption.Decrypt(text3.Split(new char[] { ':' })[1]); if ((text4 == text) && (text2 == text5)) { Console.WriteLine("Your user is in the user database. please wait while you are being authenticated"); string text6 = "?username=" + text4 + "&password=" + text5; Uri requestUri = new Uri("http://1260108b-6d0f-4c21-8ccc-1b6cda73065c.hacktests.com/Members/Answer.aspx" + text6); try { Console.WriteLine(new StreamReader(WebRequest.CreateDefault(requestUri).GetResponse().GetResponseStream()).ReadToEnd()); Console.ReadLine(); } catch (Exception exception) { Console.WriteLine("An error occurred: " + exception.Message); Console.ReadLine(); } } else { Console.WriteLine("Your username and password did not match the one in the database"); Console.ReadLine(); } }