Sha256: 6fa828f7e15a2536efd3458c764826cc00d2777b3bf7db273084f7143db26d9f

Contents?: true

Size: 918 Bytes

Versions: 10

Compression:

Stored size: 918 Bytes

Contents

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
	<title>Attacker Frame Test</title>
	<script type="text/javascript">
	var switchedLocation;
	var intervalId = setInterval(function(){
		try{
			if(!switchedLocation){
				parent.frames[1].name='malicious data';
				alert("changing to "+ (parent.frames[1][0][0].location = "http://127.0.0.1/dojox/io/tests/"));
				switchedLocation = true;
			}
			alert("snooping for "+ parent.frames[1].name);
			clearInterval(intervalId);
		}
		catch(e){}
	},10);
	function check(){
		if(switchedLocation){
			alert("other " + parent.frames[1][0][0].name);
		}
		alert("trying to delete"+parent['protectedFrame']);
		(parent.frames[1].location = "http://127.0.0.1/dojox/io/tests/");
		switchedLocation = true;
		alert("changed ");
		
	}
	</script>
</head>
<body class="tundra">
<div onclick="check()">fire</div>
</body>
</html>

Version data entries

10 entries across 10 versions & 2 rubygems

Version Path
dojo_src-1.5.0 dojo/dojox/io/tests/attackerFrame.html
dojo_src-1.4.3 dojo/dojox/io/tests/attackerFrame.html
dojo_src-1.4.102 dojo/dojox/io/tests/attackerFrame.html
dojo-pkg-1.132.0 data/dojo-release-1.3.2-src/dojox/io/tests/attackerFrame.html
dojo-pkg-1.120.0 data/dojo-release-1.2.0-src/dojox/io/tests/attackerFrame.html
dojo-pkg-1.121.0 data/dojo-release-1.2.1-src/dojox/io/tests/attackerFrame.html
dojo-pkg-1.122.0 data/dojo-release-1.2.2-src/dojox/io/tests/attackerFrame.html
dojo-pkg-1.123.0 data/dojo-release-1.2.3-src/dojox/io/tests/attackerFrame.html
dojo-pkg-1.130.0 data/dojo-release-1.3.0-src/dojox/io/tests/attackerFrame.html
dojo-pkg-1.131.0 data/dojo-release-1.3.1-src/dojox/io/tests/attackerFrame.html