red-dumb-ass.jpg

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.

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.