Weird alert popup

wifiguy
11 years ago

0

Hi guys, I believe I’m very close to solving this level but when I try to get the search bar to alert the password, something unexpected comes up. I tell it to alert the d variable with this statement: >> javascript:alert(d); I thought that this would show me the password, but instead gives me the current date, time and time zone I am in! So it seems that some other d variable is overriding the one defined in the page’s javascript file - my guess is that it’s alerting the contents of javascript’s built-in “Date” object. Any ideas about what’s happening…or what i did wrong?

12replies
8voices
271views
Cyan Wind [freewind1012]
11 years ago | edited 11 years ago

0

JavaScript Level 5 is the level with a prompt box, right? I have just done something to display value of the variable d. Everything still works fine. I have also figured out why the alert box gave you the current time. Yeah, you did something wrong. Try again.


0

change your browser !!
Then give a try !!!

wifiguy
11 years ago

0

I tried changing the browser several times and made sure I typed in the correct statement but it still keeps alerting the date

Cyan Wind [freewind1012]
11 years ago | edited 11 years ago

0

Changing your browser won’t help you to complete this level. You have to

alert the variable in a right page

syamsnazar
10 years ago

0

I think there is indeed a problem in javascript 5, I experienced it. When I give the command to the console: javascript: alert (d); This is always issuing data time from the first person who complete this level.

Cyan Wind [freewind1012]
10 years ago | edited 10 years ago

0

[quote=syamsnazar]I think there is indeed a problem in javascript 5[/quote]
That’s your point of view but yours is wrong.

Reply has been removed
kamzhik
10 years ago

0

Is it just me who passed the level without alerting anything?

CINDY
10 years ago | edited 10 years ago

0

I get these:

a=www.hackthis.co.uk
b=18
c=104
d=Sat Feb 22 2014 15:12:34 GMT+0000(GMT Standard Time)

weird or what?

Cyan Wind [freewind1012]
10 years ago | edited 10 years ago

0

@CINDY: Please put your post in spoiler tag like this:
[ spoiler]Content goes here[ /spoiler] (remove spaces)
It’s weird because you did something wrong.

CINDY
10 years ago | edited 10 years ago

1

Sorry didn’t know! Is that okay freewind?


0

[quote=kamzhik]Is it just me who passed the level without alerting anything?[/quote]

No, you’re not the only one ;-)

Mr R00ster [R00sterKing]
10 years ago | edited 10 years ago

0

I passed this level using a firefox extension:

JavaScript Deobfuscator

I suggest you to try it…

You must be logged in to reply to this discussion. Login
1 of 13

This site only uses cookies that are essential for the functionality of this website. Cookies are not used for tracking or marketing purposes.

By using our site, you acknowledge that you have read and understand our Privacy Policy, and Terms of Service.

Dismiss