Follow us on Twitter!
It is the path of least resistance that makes rivers and men crooked. - Bj Palmer
Saturday, April 19, 2014
Navigation
Home
HellBoundHackers Main:
HellBoundHackers Find:
HellBoundHackers Information:
Learn
Communicate
Submit
Shop
Challenges
HellBoundHackers Exploit:
HellBoundHackers Programming:
HellBoundHackers Think:
HellBoundHackers Track:
HellBoundHackers Patch:
HellBoundHackers Other:
HellBoundHackers Need Help?
Other
Members Online
Total Online: 25
Guests Online: 25
Members Online: 0

Registered Members: 82839
Newest Member: fezphantom
Latest Articles
View Thread

HellBound Hackers | Challenges | Javascript

Author

Sooo close no. 15 (maybe spoilers)

Mb0742
Member



Posts: 198
Location:
Joined: 26.11.07
Rank:
Apprentice
Posted on 28-12-07 10:58
Code
var password = "query test mess";
   var a = password.charAt(9)
   var c = password.charAt(4)
   var b = password.charAt(10)
   var d = password.charAt(7)
   var f = password.charAt(6)
   var e = password.charAt(1)
   var g = password.charAt(3)
   var i = password.charAt(0)
   var h = password.charAt(8)
   var j = password.charAt(13)
   var l = password.charAt(5)
   var k = password.charAt(6)
   var m = password.charAt(11)
   var o = password.charAt(12)
   var n = password.charAt(2)
   var riddle = "query test mess";





It's all right there and what I need to do by what I think is have it so it reads the word riddle right?

Code
r = 9
i = 4
d = 10
d= 7
l = 6
e =1

+e++i+ld+r+d+++




Ok here is where I am stuck. The script wants chars up to a 15 letter word while 'riddle' is only '6' So how do I 'void' all the other letters? Am I going the right away about this?


Mb

Edited by rex_mundi on 26-03-13 13:49
javascript:alert("hi")
Author

RE: Sooo close no. 15? (maybe spoilers)


Member

Your avatar

Posts:
Location:
Joined: 01.01.70
Rank:
Guest
Posted on 28-12-07 11:57
You are going in the wrong direction.
Read the code.
You are making an elementary mistake.


Author

RE: Sooo close no. 15? (maybe spoilers)


Member

Your avatar

Posts:
Location:
Joined: 01.01.70
Rank:
Guest
Posted on 28-12-07 12:02
Yes, look at code


***SPOILER***
Maybe something isn't a string...
***/SPOILER***


Author

RE: Sooo close no. 15? (maybe spoilers)

Mb0742
Member



Posts: 198
Location:
Joined: 26.11.07
Rank:
Apprentice
Posted on 28-12-07 22:43
Ah I gotcha riddle= query test mess

so if I use the chars to get the letters I get
Code

q=9
u=4
e=10
r=7
y=6
 =1
t=3
e=0
s=8
t=13
 =5
m=6
e=11
s=12
s=2

e stu mrsqeest




But it doesn't work any ideas why?

EDIT: Oh there are two sixes how is this meant to work?


Mb

Edited by Mb0742 on 28-12-07 22:53
javascript:alert("hi")
Author

RE: Sooo close no. 15? (maybe spoilers)


Member

Your avatar

Posts:
Location:
Joined: 01.01.70
Rank:
Guest
Posted on 29-12-07 05:50
something is wrong in your logic before

variables a + b + c + d + e +f + g + h + i + j + k +l + m + n + o == "query test mess"

hint:
we start indexing the characters in typed password string at 0

in code
variable a = password.charAt(9) or the tenth character in password string is stored in a

you need to find out what character from the riddle string this should be
hint: a is supposed to equal the first character in riddle string or q, etc ...

repeat for all other variables b to o.

should now have all the characters and their positions in the typed password string




Author

RE: Sooo close no. 15? (maybe spoilers)


Member

Your avatar

Posts:
Location:
Joined: 01.01.70
Rank:
Guest
Posted on 29-12-07 11:10
Mb0742 wrote:


EDIT: Oh there are two sixes how is this meant to work?


You are having the same problem i had when i took this challenge, it is so obvious that you don't pay enough attention. Look carefully at the source code, line by line and letter by letter(you'll notice before the forth line):

Code

password = document.password.password.value;
   var a = password.charAt(9)
   var c = password.charAt(4)
   var b = password.charAt(10)
   var d = password.charAt(7)
   var f = password.charAt(6)
   var e = password.charAt(1)
   var g = password.charAt(3)
   var i = password.charAt(0)
   var h = password.charAt(8)
   var j = password.charAt(13)
   var l = password.charAt(5)
   var k = password.charAt(6)
   var m = password.charAt(11)
   var o = password.charAt(12)
   var n = password.charAt(2)
   var riddle = "query test mess";





If number 6 is repeated maybe it's because it's the same character and doesn't need to be used twice in the plaintext...

I don't want too give any more away, just think, you'll get surprised when you notice how easy it was.

SiPoX