dos02.json 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116
  1. {
  2. devices:[
  3. {
  4. id:"Alice",
  5. type:"NullComputer",
  6. ports:1,
  7. x:0.25,
  8. y:0.2,
  9. player:true
  10. },
  11. {
  12. id:"Zombie 1",
  13. type:"NullComputer",
  14. ports:1,
  15. x:0.25,
  16. y:0.4,
  17. player:true
  18. },
  19. {
  20. id:"Zombie 2",
  21. type:"NullComputer",
  22. ports:1,
  23. x:0.25,
  24. y:0.6,
  25. player:true
  26. },
  27. {
  28. id:"Zombie 3",
  29. type:"NullComputer",
  30. ports:1,
  31. x:0.25,
  32. y:0.8,
  33. player:true
  34. },
  35. {
  36. id:"Google",
  37. type:"NullComputer",
  38. ports:1,
  39. x:0.9,
  40. y:0.5,
  41. bufferWait:305
  42. },
  43. {
  44. id:"Google's Firewall",
  45. type:"Firewall",
  46. ports:5,
  47. x:0.7,
  48. y:0.5,
  49. rules:[
  50. {srcip:"Alice"}
  51. ]
  52. }
  53. ],
  54. links:[
  55. {
  56. src:"Alice", srcport:0,
  57. dst:"Google's Firewall", dstport:4
  58. },
  59. {
  60. src:"Zombie 1", srcport:0,
  61. dst:"Google's Firewall", dstport:1
  62. },
  63. {
  64. src:"Zombie 2", srcport:0,
  65. dst:"Google's Firewall", dstport:2
  66. },
  67. {
  68. src:"Zombie 3", srcport:0,
  69. dst:"Google's Firewall", dstport:3
  70. },
  71. {
  72. src:"Google", srcport:0,
  73. dst:"Google's Firewall", dstport:0
  74. }
  75. ],
  76. timeline:[
  77. {
  78. type:"packet",
  79. at:50,
  80. from:"Alice",
  81. times:20,
  82. payload:{
  83. network:{srcip:"Alice",dstip:"Google"}
  84. }
  85. }
  86. ],
  87. triggers:{
  88. t0:{
  89. type:"packet",
  90. device:"Google",
  91. payload:{
  92. network:{srcip:"Zombie 1", dstip:"Google"}
  93. }
  94. },
  95. t1:{
  96. type:"packet",
  97. device:"Google",
  98. payload:{
  99. network:{srcip:"Zombie 2", dstip:"Google"}
  100. }
  101. },
  102. t2:{
  103. type:"packet",
  104. device:"Google",
  105. payload:{
  106. network:{srcip:"Zombie 3", dstip:"Google"}
  107. }
  108. },
  109. t3:{
  110. type:"packet",
  111. device:"Google",
  112. times:60
  113. }
  114. },
  115. nextLevel:"03 DoS/dos03.json"
  116. }