What is the password ?

Intro 10


0

javascript:alert(length); = 0

35replies
26voices
796views
daMage
11 years ago

0

no, I don’t think length is important here…

jaesploit
11 years ago

0

In the source we can see the following:
if (document.getElementById("pass").value == thecode) { document.location = "j3.php?pass=" + thecode; } else { alert("Incorrect Password"); }

Work from there and look through the source to help you.


0

you should alert something else . from the source code we want to find the value right ? so the value is ? then alert that

xtreck
11 years ago | edited 11 years ago

-8


it is very easy!!!!

Edit: Added spoiler tags!

daMage
11 years ago

1

Sure it’s easy, once you know how to do it.

#RS69 [Rs69]
11 years ago

0

you can get anything you want. if you feel easy and otimist *I CAN DO * hehe :-)

heavenlyMe
11 years ago

0

to complete this level, you just need to find what you really need

Malsec
11 years ago

0

How to alert it ?

J [ColdIV]
11 years ago

0

What do you want to alert? You can alert a variable using
javascript:alert(variable_name);
(you should write this in your URL bar)

But you don’t have to alert anything here I think..

Abhishek [abhirishi7]
11 years ago

0

don’t be so fancy.just look for the javascript function and try to find all the unknown values.relate the two as per the function.the biggest hint is the source code itself.

Wibben
11 years ago

0

use Ctrl-F in the source code, or look through it REALLY carefully

eggyolk
11 years ago

0

it’s almost the same as >> the first java script level

Wibben
11 years ago

0

yup, think about what it ways in the form. There’s some variable somewhere else in the form that corresponds with one of the variables used in the form.

? [djsimon21]
11 years ago

0

Code:
if (document.getElementById(“pass”).value == thecode) {
document.location = “j3.php?pass=” + thecode;
} else {
alert(“Incorrect Password”);
}

very important line = document.location = “j3.php?pass=” + thecode;

  • thecode (simple look in the script for the code)
franckdu59
11 years ago

0

c on the response code
you have to find the code in the source code
if you could not have found the send me a message I would give you a clue (I do not give the answer)

Mitch [bmxtricky5]
11 years ago

0

using javascript:alert(variable_name) you can get the answer very easy

[deleted user]
11 years ago

0

Hi All,

You need to find thecode. Once you get thecode you will get the password.

*********** [ADIGA]
11 years ago

0

i do not know about you guys, but its obvious the one who is asking questions like those has no idea what javascript is, i would advise him to read about javascript and give much less direct hints.

Mitch [bmxtricky5]
11 years ago

0

haha fair enough but i just started working with javascript today and well this whole hacking thing :)

jayssj11
11 years ago | edited 11 years ago

0

try and try again
javascript levels are mainly based on source code

LaNguAx
11 years ago | edited 11 years ago

0

``````if (document.getElementById(“pass”).value == thecode) {
document.location = “j3.php?pass=” + thecode;
} else {
alert(“Incorrect Password”);
}

After you’ve found this in the source code its starting to get easy you just need to do some basic Javascript command in the URL and after that it should be all clear. (If this post is an answer to the JS3 please delete it)

tichou
10 years ago

0

I don' want an answer but an idea to begin

[IAmDevil]
10 years ago

0

So, @tichou why don’t you take a look over other threads relating this level, might just help you!!

Mystery [kapuccino]
10 years ago

0

I think the thread had enough hints to solve this level.

tichou
10 years ago

0

Certainly not, this is the only level I can’t solve in javascript level’s
maybe because I walked alone?

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

0

@tichou: So you couldn’t solve JavaScript Level 3 because the thread didn’t give you enough hints. What kind of logic is that?

@ColdIV ’s method is actually good.

tichou
10 years ago | edited 10 years ago

0

No its not that freewind1012
Because the level JS3 was updated, and – javascript:alert(var_name) – doesn’t work

and the function in javascript was too updated. the pass in the code source is visible but doesn’t solve the level

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

0

@ColdIV ’s method is about alerting the variable name. You have to find a way to alert it. That’s all! What’s the point of reading all the posts and doing something like a zombie?

KUP1D
10 years ago

0

for me it didn’t work to user alert in the URL bar. When I used the javascript console it worked :)


0

The password is…

Please don’t just ask for answers in the forums but for help and use the spoiler tag

GoLdMaN
10 years ago

-2

HaCkinG FaCebook Accounts


1

@MaxLockhart: LOL, that video clip cracks me up everytime.

Max Lockhart [MaxLockhart]
10 years ago | edited 10 years ago

0

I love that movie so much, I can watch it everytime and laugh my ass off. I don’t think that is the password though…. Idk, he can try it though. Prolly won’t work… nah more than likely not. Just making a good point that’s all.

I mean, it’s called hacking for a reason. I asked a girl for her facebook password once. It didn’t work… A for effort right?

[deleted user]
10 years ago

0

Hey is that clip from some movie. I didn’t had sound when I watched so I don’t know what was said in the clip. But if it is a movie can someone please post the name of the movie.

Mystery [kapuccino]
10 years ago

0

@tlotr: It comes from Spaceballs.

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

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