Javascript Level 6

Potentially ‘Evil’ Scripting

<script language='JavaScript' type='text/javascript'>
        var p4ss= 'notsoevil';
        p4ssword=prompt('Please enter the Password!','');
        if (p4ssword==p4ss) {
        var pass= '666'; // This script is evil. >:D
        password=prompt('Please enter the Password!','');
        if (password==pass) {

But you need to view source code of page careful to see full version of code.
When you can see full javascript code, easy to pass this challenge by enter 'notsoevil' and '666' to authenticate.


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s