Showing posts with label AVM1. Show all posts
Showing posts with label AVM1. Show all posts
Monday, May 14, 2012
Sitelocked SWF Loader
I just finished my SWF sitelock tool for loading sitelocked swfs offline.
This project is the precursor to the packet editor I'm going to make (vast quantities of this projects code can be recycled into my packet editor).
This loader should be able to load ~95% of sitelocked games. it has one or two limitations though:
It's currently windows only (I might make a linux option in the future. wouldn't be too hard. mac would be possible too).
Generally speaking, it can only load games held in a single .swf file. and it tends to break multiplayer games. Both of those are fixable, but it's probably not worth the effort.
Anyways, here's how you use it:
if for example, you wanted to load a sitelocked swf offline from www.example.com/folder/test.swf you would set "Server" to "www.example.com" and "Path" to "/folder/test.swf"
after you've set that up, just drag-and-drop the swf onto the loader to load it.
Note: most games only need to be loaded from the correct server and you can usually leave Path blank.
Here's a picture of me loading an unmodified, sitelocked Stick RPG Complete while not connected to the internet:
Note that Path doesn't actually have to be set to anything, I just did that to show it worked.
Download my SWF Sitelock Tool here:
Download
Also, it's an AIR application, so you need AIR installed to run it.
Labels:
actionscript,
adobe,
AIR,
AS3,
AVM1,
AVM2,
flash,
loader,
lock,
mochicrypt,
offline,
programming,
site,
sitelock,
swf
Saturday, March 17, 2012
Universal Flash Variable Scanner
So, I had an idea for a universal swf variable scanner.
one that works on AVM1 (AS1/AS2) and AVM2 (AS3) swf's.
The main problem you face when attempting to create such a thing is that AVM1 swf's and AVM2 swf's have separate sandboxes.
AVM2 loaders CAN get and set variables in loaded AVM2 swf's.
AVM2 loaders CANNOT get and set variables in loaded AVM1 swf's.
However, there are ways to get around this.
You could theoretically make a universal scanner made up of an AVM2 loader and scanner and an AVM1 loader and scanner.
for scanning AVM2 swf's there is no problem:
AVM2 Master swf loads AVM2 movie and scans it.
But for AVM1 swf's, you have to get around sandbox issues.
My idea works like so:
AVM2 Master swf loads AVM1 Scanner.
AVM1 Scanner loads AVM1 movie.
AVM1 Scanner communicates with AVM2 Master swf using LocalConnection.
AVM1 Scanner scans AVM1 movie.
If you were smart, you could probably remove the need for communication between the AVM1 and AVM2 scanner parts and have them functioning pretty much completely independantly.
one that works on AVM1 (AS1/AS2) and AVM2 (AS3) swf's.
The main problem you face when attempting to create such a thing is that AVM1 swf's and AVM2 swf's have separate sandboxes.
AVM2 loaders CAN get and set variables in loaded AVM2 swf's.
AVM2 loaders CANNOT get and set variables in loaded AVM1 swf's.
However, there are ways to get around this.
You could theoretically make a universal scanner made up of an AVM2 loader and scanner and an AVM1 loader and scanner.
for scanning AVM2 swf's there is no problem:
AVM2 Master swf loads AVM2 movie and scans it.
But for AVM1 swf's, you have to get around sandbox issues.
My idea works like so:
AVM2 Master swf loads AVM1 Scanner.
AVM1 Scanner loads AVM1 movie.
AVM1 Scanner communicates with AVM2 Master swf using LocalConnection.
AVM1 Scanner scans AVM1 movie.
If you were smart, you could probably remove the need for communication between the AVM1 and AVM2 scanner parts and have them functioning pretty much completely independantly.
Labels:
actionscript,
AS3,
AVM1,
AVM2,
programming,
scanner,
variable
Subscribe to:
Posts (Atom)