Welcome to HBH! If you have tried to register and didn't get a verification email, please using the following link to resend the verification email.

Javascript - 1 to 14!


Javascript - 1 to 14!

By ghostghost | 10611 Reads |
0     0

OK, so bare with me, this is my first tutorial.

===== Java Script 1

This is a very easy one. If you can't do it, you'll never get into hacking at all. To begin, right click on the page & select view source.

===== Java Script 2

First of all, to view the source, after you press OK (after the alert box), press Escape and it will stop on the page. I'm going to tell you that you can, on a website, rather than typing javascript straight on a page, you can link to a .js file that has the script inside it. It would look like this <script language="JavaScript" src="the_script.js">.

===== Java Script 3

If you look at the script you will find an encoded script, in "Hex", which you will need to decode. Google for a hex decoder and you should find one.

===== Java Script 4

This url should help you finish this challenge: (http://www.securiteam.com/securitynews/5CP052A8AU.html)

===== Java Script 5

First, do what I told you in JS 2. Now, what it is telling you is to get the current year and add 12 to it. But that doesn't work?! Never mind, Google for what getYear() actually does.

===== Java Script 6

This is very easy. Lets me give you a hint. 4 = 'st' + 'or' + 'm'. In this case, 4 would equal storm. So, just take that example and use it.

===== Java Script 7

First do what you did in JS2, and look at the source. Now, it says that if your input doesn't equal 'v3' and it doesn't equal 'v4', it will alert a wrong box. Carry on from there…

===== Java Script 8

Now, view the source and you will find a cookie in hex. Decode it and put it in the box. Now, you may think nothing has happened, but look back again, and you will find something NEW. No need to decode this one this time, just type it in.

===== Java Script 9

So, this is an easy one. Looking at the source you will find that the variable that controls the time, is c. Find a way to change it to a small number (like 10), get the password, and voila.

===== Java Script 10

Now, this is some really hard code, but never mind, since the password we need is stored in a variable called asdf, and javascript variables are never safe, right?

===== Java Script 11

Same as JS10, even has the same variable name. :P

===== Java Script 12

You could whip out your calculator (or paper, if you are a maths guy), but that isn't hacking. Find the variable like in JS11 & JS10.

===== Java Script 13

View your cookies, and change one that needs to be changed, you should know the opposite of false, right?

===== Java Script 14

Oh, this is so easy, you know what the screen width is and you know how to change it.

Rate and comment as you wish. I am watching you.

Comments
ghost's avatar
ghost 18 years ago

again and again and again and again yet again and again and here it goes again.

ghost's avatar
ghost 18 years ago

There is an even easier way to do 14. Look at the source, and look for an if/else statement. Specifically, look what happens if a = 800.

ghost's avatar
ghost 18 years ago

Who's reviewing articles, all javascript challenge have been cover more than 2 times. Seriously when is this repetition of article is going to stop. I mean it might be a little different but it's still the same thing.

ghost's avatar
ghost 18 years ago

pwnt

bl4ckc4t's avatar
bl4ckc4t 18 years ago

@ spyware, Yes, I thought they deleted the multiples. WTF?

@ Storm, Damn, more spoilers in this than there is moldy oranges in my fridge.

ghost's avatar
ghost 18 years ago

I wish I could say the same thing. Unfortunately, the fridge doesn't get cleaned very often… shudders

korg's avatar
korg 18 years ago

I fear cycle redundancy has arrived, Is everyone just rewording old articlee that have already been done???? STOP PLEASE!

ghost's avatar
ghost 16 years ago

What website should i use to decode the string at level 8?