javascript mission 3

Learn the basics of how to exploit JavaScript.

Re: javascript mission 3

Post by c41n on Sun Aug 31, 2008 5:28 pm
([msg=10727]see Re: javascript mission 3[/msg])

Ok ok I got the best hint go look at extbasic 1 and think of how that is solved... which should be easy this took a sec I kept over thinking... so think of it this way I have a javascript that will help you understand what .length is .
So just put this in fire fox address bar "just this "
javascript: var str="I like pie";alert(str.length);
Which would make it come to 10 so now we know what length is... then x.length == moo so I bet you think its *anwser* but the length can be characters it doesn't even have to be numerable .
c41n
New User
New User
 
Posts: 8
Joined: Tue Aug 26, 2008 11:36 pm
Blog: View Blog (0)


Re: javascript mission 3

Post by ellip0t on Fri Sep 12, 2008 12:29 pm
([msg=11496]see Re: javascript mission 3[/msg])

ummm shouldnt it be telling me "fail D:" when i get the wrong answer? its giving me a message box saying "incorrect password. try again."
ellip0t
New User
New User
 
Posts: 1
Joined: Fri Sep 12, 2008 11:22 am
Blog: View Blog (0)


Re: javascript mission 3

Post by compy06 on Fri Sep 12, 2008 1:05 pm
([msg=11499]see Re: javascript mission 3[/msg])

You can never forget to not over think the problem, on any mission. I find that is the best hint.
Even here i spent forever thinking about what to do after i did the math, when all you have to do is read
what is given!
compy06
New User
New User
 
Posts: 1
Joined: Fri Sep 12, 2008 12:45 pm
Blog: View Blog (0)


Re: javascript mission 3

Post by pompalomp2 on Fri Sep 12, 2008 3:01 pm
([msg=11503]see Re: javascript mission 3[/msg])

If you know what

.length

means then you are already half way there

once you know just think about what it means and apply it to the value you get for moo.

So, .length = moo

This means that the password is "moo" ".length"

Hope this helps, i didn't want to give you the answer because the feeling you get when you work it out is brilliant

Regards,

Pompalomp
Pompalomp
pompalomp2
New User
New User
 
Posts: 14
Joined: Fri Sep 12, 2008 7:32 am
Blog: View Blog (0)


Re: javascript mission 3

Post by clindsey2 on Sun Sep 28, 2008 1:32 am
([msg=12684]see Re: javascript mission 3[/msg])

omg I had it the whole time I just thought way too hard about it and skipped over the math really fast once I got the math right I had it
clindsey2
New User
New User
 
Posts: 1
Joined: Sun Sep 28, 2008 1:31 am
Blog: View Blog (0)


Re: javascript mission 3

Post by mchack28 on Sun Oct 26, 2008 11:35 pm
([msg=14133]see Re: javascript mission 3[/msg])

I think i have the answer but im not sure if it is right can somone help me out ive read all the comments on here

thanks
mchack28
New User
New User
 
Posts: 1
Joined: Sat Oct 11, 2008 10:48 pm
Blog: View Blog (0)


Re: javascript mission 3

Post by T3K9 on Mon Oct 27, 2008 3:56 pm
([msg=14160]see Re: javascript mission 3[/msg])

i typed the java script into my url and got 14 and the password doesnt work.
T3K9
New User
New User
 
Posts: 1
Joined: Mon Oct 27, 2008 3:54 pm
Blog: View Blog (0)


Re: javascript mission 3

Post by foolishhim on Sat Nov 08, 2008 10:20 pm
([msg=14684]see Re: javascript mission 3[/msg])

this one made me want to jump out my window wen i got it.

hers some help

var foo = 5 + 6 * 7 = work this out using correct maths remember that a+b*c is worked out b*c+a
var bar = foo % 8 = read up on modulus or just put that in google or scientific calc.exe mod function, so bar = foo mod 8
var moo = bar * 2 = bar*2 ( obvious)
var rar = moo / 3

if (x.length == moo)

.legnth = moo do we need to work out var rar = moo /3 ???

no

so basically the password is the length of whatever moo is. u get a 2digit number for moo correct? if no then redo your maths =p

if yes then the level password is not checking the value its self but the length of the password
eg a = 1+2
b = a*2
c = b -1
obviously the answer is 5 the length of 5 is not five or 4( which is how many characters five is)
so the password can be any 5 digit combination

* PLS EDIT AS U WISH IF IM GIVING TO MUCH AWAY*
foolishhim
New User
New User
 
Posts: 1
Joined: Sat Nov 08, 2008 10:06 pm
Blog: View Blog (0)


Re: javascript mission 3

Post by princessmarisa on Mon Feb 02, 2009 10:33 pm
([msg=17300]see Re: javascript mission 3[/msg])

this got me for ages on the most stupid part!

I was doing 5 + 6 * 7 in the wrong order..
so I kept on getting the wrong answer for moo and input the wrong "type" of password if you get ma drift ;)
damnit some brackets woulda helped my maths here
*doh*
princessmarisa
New User
New User
 
Posts: 1
Joined: Mon Feb 02, 2009 10:30 pm
Blog: View Blog (0)


Re: javascript mission 3

Post by Defience on Thu Feb 05, 2009 2:46 pm
([msg=17421]see Re: javascript mission 3[/msg])

princessmarisa wrote:this got me for ages on the most stupid part!

I was doing 5 + 6 * 7 in the wrong order..
so I kept on getting the wrong answer for moo and input the wrong "type" of password if you get ma drift ;)
damnit some brackets woulda helped my maths here
*doh*


Yeah as far as the math part, it was mentioned in the post right above yours.
User avatar
Defience
Addict
Addict
 
Posts: 1277
Joined: Thu Jun 12, 2008 3:16 pm
Blog: View Blog (0)


PreviousNext

Return to Javascript

Who is online

Users browsing this forum: No registered users and 0 guests