Можно ли как то обойти защиту от PreloadSWF?
Цитата:
The Basics
The whole protection reside around one very simple flash behavior.
When a SWF gets loaded, FP give a (incremental) name to the root object.
The first one being loaded is called “root1″ and then “root2″ etc.
This also applies to the preloaded SWF which is loaded first, hence is being named “root1″
The one who identified this behavior was one of my new friend Josh
We also exchanged a lot recently on what could be done to prevent preloadSWF hacking. In fact, he challenged me!
Knowing the root1 trick help a lot because it is a native behavior on a read-only property.
So when you start an app you can always detect if there is some other app spying on it by adding this to your code:
1
 Код AS3:
if (root.name != "root1") { while(true) { /* do nothing*/ } }
and it will freeze the whole app indefinitely.
No more app hijacking using PreloadSWF!
|