Site icon Liquidmatrix Security Digest

Amusing Moments On The Tubes

Stumbled across this code on a “hack the password” website. Thanks to mubix for showing another gem of a site that led me here.

var password;

var pass1=”magic”;

password=prompt(‘Enter Password ‘,”);

if (password==pass1)
alert(‘Access Granted’);
else
{
alert(‘Access Denied’);
window.location=”http://www.google.com”;
}

WTF?

This character is probably in charge of security for some unsuspecting company.

The password is “magic”. OK Merlin, make with my prize.

Exit mobile version