Menu

[r11]: / trunk / SWFInvestigator / src / inspectors / swfIntruder.html  Maximize  Restore  History

Download this file

47 lines (43 with data), 1.8 kB

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
<html>
<!-- /****************************************************************************
* ADOBE SYSTEMS INCORPORATED
* Copyright 2012 Adobe Systems Incorporated and it’s licensors
* All Rights Reserved.
*
* NOTICE: Adobe permits you to use, modify, and distribute this file
* in accordance with the terms of the license agreement accompanying it.
* ****************************************************************************/ -->
<head>
<title>Fake SWFIntruder Loader</title>
<script type="text/javascript" src="AIRAliases.js"></script>
<script type="text/javascript">
var swfData = {};
var Exposed = {};
Exposed.displayTrace = function(str){air.trace(str);};
Exposed.addItem = function(command,args){swfData.initArray(command,args);};
function engageBridge() {
document.getElementById("mashupUI").contentWindow.parentSandboxBridge = Exposed;
}
function fetchVariable(str) {
return(document.getElementById("mashupUI").contentWindow.childSandboxBridge.getVariable(str));
}
function fetchAS3Variable(str,action,args) {
return(document.getElementById("mashupUI").contentWindow.childSandboxBridge.getVariable(str,action,args));
}
</script>
<style type="text/css">
div {width:400px;height:450px;}
</style>
</head>
<body>
<div id="mapper"></div>
<script type="text/javascript">
function writeLSOMap() {
var div = document.getElementById("mapper");
var frameString = '<iframe id="mashupUI" height="400" width="450" src="' + swfData.SWFLocation + '" documentRoot="' + swfData.documentRoot + '" sandboxRoot="'+ swfData.sandboxRoot + '"/>';
div.innerHTML = frameString;
}
window.setTimeout(engageBridge,2000);
</script>
</body>
</html>
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.