Welcome to HBH! If you had an account on hellboundhacker.org you will need to reset your password using the Lost Password system before you will be able to login.

Sooo close no. 15 (maybe spoilers)


Mb0742's Avatar
Ultimate Headshot
0 0
	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?

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?

ghost's Avatar
0 0

You are going in the wrong direction. Read the code. You are making an elementary mistake.


ghost's Avatar
0 0

Yes, look at code

SPOILER Maybe something isn't a string… /SPOILER


Mb0742's Avatar
Ultimate Headshot
0 0

Ah I gotcha riddle= query test mess

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

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?

ghost's Avatar
0 0

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


ghost's Avatar
0 0

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):

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