Help me find da password please!

General technological topics without their own forum go here

Help me find da password please!

Post by Nativejim on Wed Aug 06, 2008 1:29 am
([msg=8929]see Help me find da password please![/msg])

last leve! level 8
one simple question...
what is the value of jumping off a building in this code


var uea = 8 / 5 * 3;
var dur = 5 + uea * 4;
var ene = 3 * dur
var dar = 17 * ene
function check(jumping_off_a_building)

if (jumping_off_a_building = dar) {
{
alert("win!");
window.location += "?lvl_password="+x;
} else {
alert("fail D:");
}
}

Help me please.. I don't know what to use and put into my url bar.. Like is it javascript: blah blah blah or funtion: blah blah blah or what?
Nativejim
New User
New User
 
Posts: 3
Joined: Sun Aug 03, 2008 8:02 pm
Blog: View Blog (0)


Re: Help me find da password please!

Post by leonidas_heaven on Wed Aug 06, 2008 3:11 am
([msg=8931]see Re: Help me find da password please![/msg])

so you need to find the passwords from a javascript code...its pretty easy and you can easily get what you are searching ...
i think u can use javascript "fail" remark to show you the value of dar....try it and you will get it.... ;)

there is also one simple method if u can calculate and get the value of dar...and that length string can be used. :shock:
bye

have fun :twisted:
Challenges are not meant to be taken easily,rather they are meant to be taken Seriously
leonidas_heaven
Experienced User
Experienced User
 
Posts: 66
Joined: Sun Jun 01, 2008 5:20 am
Location: Uttarakhand,India
Blog: View Blog (0)


Re: Help me find da password please!

Post by liuyuan on Sat Aug 16, 2008 1:50 pm
([msg=9858]see Re: Help me find da password please![/msg])

why does that look awfully familiar?

regards,

faith
ImageImageImage
liuyuan
Experienced User
Experienced User
 
Posts: 64
Joined: Mon Apr 14, 2008 10:17 pm
Blog: View Blog (0)


Re: Help me find da password please!

Post by leonidas_heaven on Tue Aug 19, 2008 6:55 am
([msg=10045]see Re: Help me find da password please![/msg])

Liuyuan to whom u are addressing as "Awfully Similar"? Did u get that level JIM ???
Challenges are not meant to be taken easily,rather they are meant to be taken Seriously
leonidas_heaven
Experienced User
Experienced User
 
Posts: 66
Joined: Sun Jun 01, 2008 5:20 am
Location: Uttarakhand,India
Blog: View Blog (0)


Re: Help me find da password please!

Post by liuyuan on Wed Aug 20, 2008 9:29 am
([msg=10121]see Re: Help me find da password please![/msg])

http://www.hackthissite.org/missions/javascript/3/
Code: Select all

var foo = 5 + 6 * 7
var bar = foo % 8
var moo = bar * 2
var rar = moo / 3
function check(x)
{
        if (x.length == moo)
        {
                        alert("win!");
                        window.location += "?lvl_password="+x;
        } else {
                        alert("fail D:");
    }
}
ImageImageImage
liuyuan
Experienced User
Experienced User
 
Posts: 64
Joined: Mon Apr 14, 2008 10:17 pm
Blog: View Blog (0)


Re: Help me find da password please!

Post by vladiftodi on Fri Aug 29, 2008 1:42 pm
([msg=10627]see Re: Help me find da password please![/msg])

Just do the math :)
% means get the remainder
5 % 8 would be 3 :) sicne 8=5*1+3
or 5 % 16 is 1 since 16=5*3+1
or whatever
vladiftodi
New User
New User
 
Posts: 44
Joined: Thu May 22, 2008 12:29 pm
Blog: View Blog (0)



Return to General

Who is online

Users browsing this forum: No registered users and 0 guests

cron