| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798 |
- {
- devices:[
- {
- id:"Example Alice",
- ports:1,
- x:0.25,
- y:0.35,
- script: deviceScripts.encryption
- },
- {
- id:"Example Bob",
- image: "iphone-1",
- ports:1,
- x:0.75,
- y:0.35,
- script: deviceScripts.encryption
- },
- {
- id:"Alice",
- ports:1,
- x:0.25,
- y:0.6,
- script: deviceScripts.encryption
- },
- {
- id:"Eve",
- image: "macbook",
- ports:2,
- x:0.5,
- y:0.6,
- player:true
- },
- {
- id:"Bob",
- image: "iphone-1",
- ports:1,
- x:0.75,
- y:0.6,
- script: deviceScripts.encryption
- }
- ],
- links:[
- {
- src:"Alice", srcport:0,
- dst:"Eve", dstport:0
- },
- {
- src:"Eve", srcport:1,
- dst:"Bob", dstport:0
- },
- {
- src:"Example Alice", srcport:0,
- dst:"Example Bob", dstport:0
- }
- ],
- timeline:[
- {
- type:"packet",
- at:500,
- from:"Alice",
- payload:{
- network:{srcip:"Alice",dstip:"Bob"},
- transport:{proto:"encryption"},
- application:{type:"keyrequest"}
- }
- },
- {
- type:"packet",
- at:500,
- from:"Example Alice",
- payload:{
- network:{srcip:"Example Alice",dstip:"Example Bob"},
- transport:{proto:"encryption"},
- application:{type:"keyrequest"}
- }
- }
- ],
- triggers:[
- {
- type:"packet",
- device:"Eve",
- payload:{
- network:{srcip:"Alice",dstip:"Bob"},
- transport:{proto:"encryption"},
- application:{type:"message",key:"31337"}
- }
- },
- {
- type:"packet",
- device:"Bob",
- payload:{
- network:{srcip:"Alice", dstip: "Bob"},
- transport:{proto:"encryption"},
- application:{type:"message",key:"123456"}
- }
- }
- ]
- }
|