HowTo Hack Javascript Guessing Games
Intro: HowTo Hack Javascript Guessing Games
How to hack HTML/JS games where you must guess numbers or passwords
STEP 1: Get a Game
STEP 2: Open Source of the Game!
right-click and select "View Page Source".
then search for the variable which you think is the number/etc you have to enter.
then search for the variable which you think is the number/etc you have to enter.
STEP 3: Found It
we found a nice variable...
if we look at it, its a number between 0 and 1000, looks familiar... :-P
now enter javascript:alert(vaiable-name); into the address bar.
because our variable is called random_number, we enter javascript:alert(random_number);
if we look at it, its a number between 0 and 1000, looks familiar... :-P
now enter javascript:alert(vaiable-name); into the address bar.
because our variable is called random_number, we enter javascript:alert(random_number);
STEP 4: Running Our Little Script
ok now press RETURN, and we get a new window.
it should tell us the variable's value.
enter the value into the input-box.
if it was the right variable, we should have won.
it should tell us the variable's value.
enter the value into the input-box.
if it was the right variable, we should have won.
7 Comments
agent 14 years ago
zimmemic25 14 years ago
Nevermind 15 years ago
zimmemic25 15 years ago
Nevermind 15 years ago
n8man 15 years ago
zimmemic25 15 years ago