Processed Tower Defense (HTML5)
-migrated-
Processed Tower Defense (HTML5) Posted on: 04/09/2010 5:23pm
Quote Post
Decided to look into hacking HTML5 games, in the possible eventuality that it replaces Flash. Processed tower defense (Link) is a pretty simple tower defence game.

Values are *2 + 1, so if you have 200 gold you search for 401. Applies to all the values I tried. AoBs in the same sense as Flash are presumably not possible, but the game can be edited using auto assembler (and AoBs in that sense are possible).
Re: Processed Tower Defense (HTML5) Posted on: 04/09/2010 7:17pm
Quote Post
(broken image removed)
Re: Processed Tower Defense (HTML5) Posted on: 04/09/2010 7:39pm
Quote Post
Quote from: "KongregateHack"
(broken image removed)


So you can just modify everything you want with just Firebug?
Re: Processed Tower Defense (HTML5) Posted on: 04/09/2010 7:41pm
Quote Post
Dear god I hope so.  that would be hilarious.  (broken image removed)
Re: Processed Tower Defense (HTML5) Posted on: 04/09/2010 7:52pm
Quote Post
Or just go to address bar and type

Code: [Select]
javascript: SET.nukes=99999;
javascript: SET.gold=99999;

or simply this one line will do both at once. paste it into address bar and press enter

Code: [Select]
javascript: SET.nukes=99999; SET.gold=99999;

(broken image removed)
Re: Processed Tower Defense (HTML5) Posted on: 04/09/2010 8:14pm
Quote Post
Quote from: "pkedpker"
Or just go to address bar and type

Code: [Select]
javascript: SET.nukes=99999;
javascript: SET.gold=99999;

or simply this one line will do both at once. paste it into address bar and press enter

Code: [Select]
javascript: SET.nukes=99999; SET.gold=99999;

(broken image removed)
I guess that only works in Chrome? Whenever I type that and hit enter it will change for a split second, but then go to a blank page with 99999 on the screen. (For Firefox)
Re: Processed Tower Defense (HTML5) Posted on: 04/09/2010 8:30pm
Quote Post
yeah, i get the blank screen too. but firebug does work. How would they protect these games from hackers if it can be so easily hacked? If html5 does replace flash, I hope the developers find a method to make our lives a little more challenging.
Re: Processed Tower Defense (HTML5) Posted on: 04/09/2010 8:31pm
Quote Post
Strange it should work for all browsers that support javascript or else the game won't even run..

try doing one at a time and don't forget the javascript: tag in front..

tested IE7 and chrome works perfectly.
Don't have firefox installed.
Firefox has greasemonkey which works of this trick lol it should work.

in firefox it's probably more controlled you would have to probably do this below!

Code: [Select]
javascript:window.SET.gold = 9999;
Re: Processed Tower Defense (HTML5) Posted on: 04/09/2010 8:43pm
Quote Post
Quote from: "pkedpker"
Strange it should work for all browsers that support javascript or else the game won't even run..

try doing one at a time and don't forget the javascript: tag in front..

tested IE7 and chrome works perfectly.
Don't have firefox installed.
Firefox has greasemonkey which works of this trick lol it should work.

in firefox it's probably more controlled you would have to probably do this below!

Code: [Select]
javascript:window.SET.gold = 9999;
nope, still giving the same screen. shouldn't all browsers handle java the same way?
Re: Processed Tower Defense (HTML5) Posted on: 04/09/2010 8:47pm
Quote Post
they should and they do.. just some have different ways they handle the same commands in terms of speed.

have no idea why you get white screen. look at firebug log and tell me what it says anything about being undefined?


Oo forgot about document try

Code: [Select]
javascript:document.SET.gold = 999999;

maybe in your case you need to add buttons
viewtopic.php?f=11&t=289&start=30#p3809

look at what deity wrote
Re: Processed Tower Defense (HTML5) Posted on: 04/09/2010 8:57pm
Quote Post
Quote from: "pkedpker"
they should and they do.. just some have different ways they handle the same commands in terms of speed.

have no idea why you get white screen. look at firebug log and tell me what it says anything about being undefined?


Oo forgot about document try

Code: [Select]
javascript:document.SET.gold = 999999;

maybe in your case you need to add buttons
viewtopic.php?f=11&t=289&start=30#p3809

look at what deity wrote
document doesn't give the white screen, but it doesn't do anything either. I'll take a look at the buttons when I have the time.
Re: Processed Tower Defense (HTML5) Posted on: 04/09/2010 9:13pm
Quote Post
Try this:
Code: [Select]
javascript:function setVariables(){ SET.nukes = 99999; SET.gold = 99999; }; setVariables();
Re: Processed Tower Defense (HTML5) Posted on: 04/10/2010 12:18am
Quote Post
TIM the Enchanter
Level: 1
ADR Info
Firefox has tight controls on executing javascript.  I have been working on some XSS stuff for quite a while and have been slamming into issues with Firefox's security.  (broken image removed)




Everything's coming up KongHack!

"When you know nothing matters, the universe is yours" ~Rick Sanchez

Re: Processed Tower Defense (HTML5) Posted on: 04/10/2010 1:41am
Quote Post
Quote from: "KongregateHack"
Try this:
Code: [Select]
javascript:function setVariables(){ SET.nukes = 99999; SET.gold = 99999; }; setVariables();
thx KH. that line of code seems to work.
Re: Processed Tower Defense (HTML5) Posted on: 04/10/2010 2:24am
Quote Post
I've learned something new  (broken image removed)  have to create functions cool