|
@@ -2,28 +2,28 @@
|
|
devices:[
|
|
devices:[
|
|
{
|
|
{
|
|
id:"Alice",
|
|
id:"Alice",
|
|
- type:"NullComputer",
|
|
|
|
|
|
+ image: "iphone-1",
|
|
ports:1,
|
|
ports:1,
|
|
x:0.5,
|
|
x:0.5,
|
|
- y:0.25,
|
|
|
|
|
|
+ y:0.2,
|
|
player:true
|
|
player:true
|
|
},
|
|
},
|
|
{
|
|
{
|
|
id:"Bob",
|
|
id:"Bob",
|
|
- type:"NullComputer",
|
|
|
|
ports:1,
|
|
ports:1,
|
|
x:0.25,
|
|
x:0.25,
|
|
y:0.75
|
|
y:0.75
|
|
},
|
|
},
|
|
{
|
|
{
|
|
id:"Carol",
|
|
id:"Carol",
|
|
- type:"NullComputer",
|
|
|
|
|
|
+ image: "macbook",
|
|
ports:1,
|
|
ports:1,
|
|
x:0.75,
|
|
x:0.75,
|
|
y:0.75
|
|
y:0.75
|
|
},
|
|
},
|
|
{
|
|
{
|
|
id:"Router 1",
|
|
id:"Router 1",
|
|
|
|
+ image: "router",
|
|
ports:3,
|
|
ports:3,
|
|
x:0.5,
|
|
x:0.5,
|
|
y:0.4,
|
|
y:0.4,
|
|
@@ -36,9 +36,10 @@
|
|
},
|
|
},
|
|
{
|
|
{
|
|
id:"Router 2",
|
|
id:"Router 2",
|
|
|
|
+ image: "router",
|
|
ports:3,
|
|
ports:3,
|
|
x:0.35,
|
|
x:0.35,
|
|
- y:0.6,
|
|
|
|
|
|
+ y:0.5,
|
|
script:deviceScripts.manualRouter,
|
|
script:deviceScripts.manualRouter,
|
|
rules:[
|
|
rules:[
|
|
{dstip:"Bob", portNum:0},
|
|
{dstip:"Bob", portNum:0},
|
|
@@ -48,9 +49,10 @@
|
|
},
|
|
},
|
|
{
|
|
{
|
|
id:"Router 3",
|
|
id:"Router 3",
|
|
|
|
+ image: "router",
|
|
ports:3,
|
|
ports:3,
|
|
x:0.65,
|
|
x:0.65,
|
|
- y:0.6,
|
|
|
|
|
|
+ y:0.5,
|
|
script: deviceScripts.manualRouter,
|
|
script: deviceScripts.manualRouter,
|
|
rules:[
|
|
rules:[
|
|
{dstip:"Carol", portNum:0},
|
|
{dstip:"Carol", portNum:0},
|
|
@@ -135,5 +137,5 @@
|
|
}
|
|
}
|
|
}
|
|
}
|
|
],
|
|
],
|
|
- nextLevel:"02 Spoofs/spoofs02.json"
|
|
|
|
|
|
+ nextLevel:7
|
|
}
|
|
}
|