pwn 0.5.615 → 0.5.617

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (102) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +24 -10
  3. data/bin/pwn +47 -2
  4. data/bin/pwn_gqrx_scanner +75 -18
  5. data/documentation/Diagrams.md +123 -40
  6. data/documentation/General-PWN-Usage.md +50 -30
  7. data/documentation/Home.md +78 -51
  8. data/documentation/How-PWN-Works.md +59 -57
  9. data/documentation/Installation.md +53 -28
  10. data/documentation/What-is-PWN.md +51 -32
  11. data/documentation/Why-PWN.md +41 -11
  12. data/documentation/diagrams/ai-integration-tool-calling.svg +141 -103
  13. data/documentation/diagrams/build.sh +20 -0
  14. data/documentation/diagrams/burp-vs-zap-preference.svg +47 -62
  15. data/documentation/diagrams/code-scanning-sast.svg +139 -79
  16. data/documentation/diagrams/dot/_THEME.md +27 -0
  17. data/documentation/diagrams/dot/agent-tool-registry.dot +59 -0
  18. data/documentation/diagrams/dot/ai-integration-tool-calling.dot +47 -20
  19. data/documentation/diagrams/dot/aws-cloud-security.dot +48 -0
  20. data/documentation/diagrams/dot/burp-vs-zap-preference.dot +23 -12
  21. data/documentation/diagrams/dot/code-scanning-sast.dot +46 -18
  22. data/documentation/diagrams/dot/cron-scheduling.dot +40 -0
  23. data/documentation/diagrams/dot/driver-framework.dot +36 -14
  24. data/documentation/diagrams/dot/extrospection-world-awareness.dot +55 -0
  25. data/documentation/diagrams/dot/fuzzing-workflow.dot +44 -24
  26. data/documentation/diagrams/dot/history-to-drivers.dot +31 -17
  27. data/documentation/diagrams/dot/memory-skills-detailed.dot +57 -25
  28. data/documentation/diagrams/dot/network-infra-testing.dot +51 -19
  29. data/documentation/diagrams/dot/overall-pwn-architecture.dot +110 -44
  30. data/documentation/diagrams/dot/penetration-testing-workflow.dot +56 -25
  31. data/documentation/diagrams/dot/plugin-ecosystem.dot +41 -27
  32. data/documentation/diagrams/dot/pwn-ai-feedback-learning-loop.dot +87 -46
  33. data/documentation/diagrams/dot/pwn-repl-prototyping.dot +49 -30
  34. data/documentation/diagrams/dot/reporting-pipeline.dot +43 -14
  35. data/documentation/diagrams/dot/reverse-engineering-flow.dot +40 -18
  36. data/documentation/diagrams/dot/sdr-radio-flow.dot +45 -0
  37. data/documentation/diagrams/dot/sessions-cron-automation.dot +41 -14
  38. data/documentation/diagrams/dot/swarm-multi-agent.dot +70 -0
  39. data/documentation/diagrams/dot/web-application-testing.dot +45 -23
  40. data/documentation/diagrams/dot/zero-day-research-flow.dot +46 -24
  41. data/documentation/diagrams/driver-framework.svg +87 -66
  42. data/documentation/diagrams/fuzzing-workflow.svg +128 -115
  43. data/documentation/diagrams/history-to-drivers.svg +84 -82
  44. data/documentation/diagrams/memory-skills-detailed.svg +167 -119
  45. data/documentation/diagrams/network-infra-testing.svg +146 -84
  46. data/documentation/diagrams/overall-pwn-architecture.svg +356 -185
  47. data/documentation/diagrams/penetration-testing-workflow.svg +161 -108
  48. data/documentation/diagrams/plugin-ecosystem.svg +225 -121
  49. data/documentation/diagrams/pwn-ai-feedback-learning-loop.svg +257 -185
  50. data/documentation/diagrams/pwn-repl-prototyping.svg +126 -137
  51. data/documentation/diagrams/reporting-pipeline.svg +128 -68
  52. data/documentation/diagrams/reverse-engineering-flow.svg +100 -80
  53. data/documentation/diagrams/sessions-cron-automation.svg +112 -68
  54. data/documentation/diagrams/web-application-testing.svg +136 -100
  55. data/documentation/diagrams/zero-day-research-flow.svg +116 -112
  56. data/git_commit.sh +1 -1
  57. data/lib/pwn/ai/agent/assembly.rb +1 -1
  58. data/lib/pwn/ai/agent/btc.rb +1 -1
  59. data/lib/pwn/ai/agent/burp_suite.rb +1 -1
  60. data/lib/pwn/ai/agent/extrospection.rb +618 -0
  61. data/lib/pwn/ai/agent/gqrx.rb +2 -2
  62. data/lib/pwn/ai/agent/hacker_one.rb +1 -1
  63. data/lib/pwn/ai/agent/introspection.rb +91 -0
  64. data/lib/pwn/ai/agent/learning.rb +6 -4
  65. data/lib/pwn/ai/agent/loop.rb +15 -0
  66. data/lib/pwn/ai/agent/prompt_builder.rb +10 -1
  67. data/lib/pwn/ai/agent/sast.rb +1 -1
  68. data/lib/pwn/ai/agent/swarm.rb +437 -0
  69. data/lib/pwn/ai/agent/tools/cron.rb +163 -0
  70. data/lib/pwn/ai/agent/tools/extrospection.rb +280 -0
  71. data/lib/pwn/ai/agent/tools/learning.rb +108 -0
  72. data/lib/pwn/ai/agent/tools/memory.rb +27 -0
  73. data/lib/pwn/ai/agent/tools/metrics.rb +61 -0
  74. data/lib/pwn/ai/agent/tools/sessions.rb +139 -0
  75. data/lib/pwn/ai/agent/tools/skills.rb +30 -0
  76. data/lib/pwn/ai/agent/tools/swarm.rb +229 -0
  77. data/lib/pwn/ai/agent/transparent_browser.rb +1 -1
  78. data/lib/pwn/ai/agent/vuln_gen.rb +2 -2
  79. data/lib/pwn/ai/agent.rb +3 -0
  80. data/lib/pwn/ai/anthropic.rb +19 -4
  81. data/lib/pwn/ai.rb +0 -1
  82. data/lib/pwn/config.rb +10 -23
  83. data/lib/pwn/cron.rb +16 -7
  84. data/lib/pwn/plugins/repl.rb +90 -281
  85. data/lib/pwn/sdr/decoder/base.rb +251 -0
  86. data/lib/pwn/sdr/decoder/gsm.rb +84 -185
  87. data/lib/pwn/sdr/decoder/pocsag.rb +62 -217
  88. data/lib/pwn/sdr/decoder.rb +1 -0
  89. data/lib/pwn/sdr/gqrx.rb +446 -65
  90. data/lib/pwn/version.rb +1 -1
  91. data/spec/lib/pwn/ai/agent/extrospection_spec.rb +15 -0
  92. data/spec/lib/pwn/ai/agent/introspection_spec.rb +15 -0
  93. data/spec/lib/pwn/ai/agent/swarm_spec.rb +34 -0
  94. data/spec/lib/pwn/ai/agent/tools/cron_spec.rb +40 -0
  95. data/spec/lib/pwn/ai/agent/tools/extrospection_spec.rb +40 -0
  96. data/spec/lib/pwn/ai/agent/tools/metrics_spec.rb +20 -0
  97. data/spec/lib/pwn/ai/agent/tools/sessions_spec.rb +35 -0
  98. data/spec/lib/pwn/ai/agent/tools/swarm_spec.rb +17 -0
  99. data/spec/lib/pwn/{ai/introspection_spec.rb → sdr/decoder/base_spec.rb} +3 -3
  100. data/third_party/pwn_rdoc.jsonl +178 -33
  101. metadata +27 -3
  102. data/lib/pwn/ai/introspection.rb +0 -76
@@ -3,132 +3,170 @@
3
3
  "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
4
4
  <!-- Generated by graphviz version 14.1.2 (0)
5
5
  -->
6
- <!-- Title: PWN AI Integration &amp; Tool Calling Pages: 1 -->
7
- <svg width="878pt" height="235pt"
8
- viewBox="0.00 0.00 878.00 235.00" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
9
- <g id="graph0" class="graph" transform="scale(1 1) rotate(0) translate(4 230.55)">
10
- <title>PWN AI Integration &amp; Tool Calling</title>
11
- <polygon fill="white" stroke="none" points="-4,4 -4,-230.55 874.47,-230.55 874.47,4 -4,4"/>
12
- <!-- User -->
6
+ <!-- Title: PWN_AI_Integration Pages: 1 -->
7
+ <svg width="680pt" height="496pt"
8
+ viewBox="0.00 0.00 680.00 496.00" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
9
+ <g id="graph0" class="graph" transform="scale(1 1) rotate(0) translate(43.2 453.2)">
10
+ <title>PWN_AI_Integration</title>
11
+ <polygon fill="#0f172a" stroke="none" points="-43.2,43.2 -43.2,-453.2 636.7,-453.2 636.7,43.2 -43.2,43.2"/>
12
+ <text xml:space="preserve" text-anchor="start" x="98.75" y="-388" font-family="sans-Serif" font-weight="bold" font-size="20.00" fill="#e2e8f0">PWN::AI — Multi&#45;Provider LLM Integration</text>
13
+ <text xml:space="preserve" text-anchor="start" x="186.12" y="-376.55" font-family="sans-Serif" font-size="11.00" fill="#94a3b8">one Agent Loop · five interchangeable engines</text>
14
+ <g id="clust1" class="cluster">
15
+ <title>cluster_c</title>
16
+ <path fill="#2e1065" stroke="#6d28d9" d="M213.25,-8C213.25,-8 365,-8 365,-8 371,-8 377,-14 377,-20 377,-20 377,-351 377,-351 377,-357 371,-363 365,-363 365,-363 213.25,-363 213.25,-363 207.25,-363 201.25,-357 201.25,-351 201.25,-351 201.25,-20 201.25,-20 201.25,-14 207.25,-8 213.25,-8"/>
17
+ <text xml:space="preserve" text-anchor="middle" x="289.12" y="-340" font-family="sans-Serif" font-size="20.00" fill="#ddd6fe">PWN::AI::* Clients</text>
18
+ </g>
19
+ <g id="clust3" class="cluster">
20
+ <title>cluster_api</title>
21
+ <path fill="#450a0a" stroke="#b91c1c" stroke-dasharray="5,2" d="M468,-8C468,-8 581.5,-8 581.5,-8 587.5,-8 593.5,-14 593.5,-20 593.5,-20 593.5,-351 593.5,-351 593.5,-357 587.5,-363 581.5,-363 581.5,-363 468,-363 468,-363 462,-363 456,-357 456,-351 456,-351 456,-20 456,-20 456,-14 462,-8 468,-8"/>
22
+ <text xml:space="preserve" text-anchor="middle" x="524.75" y="-340" font-family="sans-Serif" font-size="20.00" fill="#fecaca">Provider APIs</text>
23
+ </g>
24
+ <!-- Loop -->
13
25
  <g id="node1" class="node">
14
- <title>User</title>
15
- <path fill="none" stroke="black" d="M55,-143.82C55,-143.82 12,-143.82 12,-143.82 6,-143.82 0,-137.82 0,-131.82 0,-131.82 0,-119.82 0,-119.82 0,-113.82 6,-107.82 12,-107.82 12,-107.82 55,-107.82 55,-107.82 61,-107.82 67,-113.82 67,-119.82 67,-119.82 67,-131.82 67,-131.82 67,-137.82 61,-143.82 55,-143.82"/>
16
- <text xml:space="preserve" text-anchor="middle" x="33.5" y="-122.52" font-family="Arial" font-size="9.00">User Prompt</text>
26
+ <title>Loop</title>
27
+ <path fill="#7dd3fc" stroke="#334155" stroke-width="2" d="M102.25,-188C102.25,-188 12,-188 12,-188 6,-188 0,-182 0,-176 0,-176 0,-164 0,-164 0,-158 6,-152 12,-152 12,-152 102.25,-152 102.25,-152 108.25,-152 114.25,-158 114.25,-164 114.25,-164 114.25,-176 114.25,-176 114.25,-182 108.25,-188 102.25,-188"/>
28
+ <text xml:space="preserve" text-anchor="middle" x="57.12" y="-172.5" font-family="sans-Serif" font-size="10.00" fill="#0f172a">PWN::AI::Agent::Loop</text>
29
+ <text xml:space="preserve" text-anchor="middle" x="57.12" y="-160.5" font-family="sans-Serif" font-size="10.00" fill="#0f172a">tool&#45;calling harness</text>
17
30
  </g>
18
- <!-- Agent -->
31
+ <!-- OpenAI -->
19
32
  <g id="node2" class="node">
20
- <title>Agent</title>
21
- <ellipse fill="none" stroke="black" cx="274.61" cy="-125.82" rx="45.61" ry="18"/>
22
- <text xml:space="preserve" text-anchor="middle" x="274.61" y="-122.52" font-family="Arial" font-size="9.00">PWN::AI::Agent</text>
33
+ <title>OpenAI</title>
34
+ <path fill="#c4b5fd" stroke="#334155" stroke-width="1.3" d="M303.62,-324C303.62,-324 273.62,-324 273.62,-324 267.62,-324 261.62,-318 261.62,-312 261.62,-312 261.62,-300 261.62,-300 261.62,-294 267.62,-288 273.62,-288 273.62,-288 303.62,-288 303.62,-288 309.62,-288 315.62,-294 315.62,-300 315.62,-300 315.62,-312 315.62,-312 315.62,-318 309.62,-324 303.62,-324"/>
35
+ <text xml:space="preserve" text-anchor="middle" x="288.62" y="-302.5" font-family="sans-Serif" font-size="10.00" fill="#0f172a">OpenAI</text>
23
36
  </g>
24
- <!-- User&#45;&gt;Agent -->
37
+ <!-- Loop&#45;&gt;OpenAI -->
25
38
  <g id="edge1" class="edge">
26
- <title>User&#45;&gt;Agent</title>
27
- <path fill="none" stroke="black" d="M67.36,-127.31C73.24,-127.52 79.3,-127.71 85,-127.82 140.99,-128.93 155.01,-128.72 211,-127.82 213.07,-127.79 215.18,-127.75 217.31,-127.7"/>
28
- <polygon fill="black" stroke="black" points="217.39,-131.2 227.3,-127.46 217.22,-124.21 217.39,-131.2"/>
39
+ <title>Loop&#45;&gt;OpenAI</title>
40
+ <path fill="none" stroke="#a78bfa" stroke-width="1.3" d="M80.78,-188.81C108.07,-210.83 155.92,-247.41 201.25,-272 217.35,-280.74 236.19,-288.42 252.15,-294.26"/>
41
+ <polygon fill="#a78bfa" stroke="#a78bfa" stroke-width="1.3" points="250.85,-296.77 259.33,-296.82 252.73,-291.49 250.85,-296.77"/>
29
42
  </g>
30
- <!-- Agent&#45;&gt;User -->
31
- <g id="edge11" class="edge">
32
- <title>Agent&#45;&gt;User</title>
33
- <path fill="none" stroke="black" d="M239.56,-113.84C230.4,-111.14 220.42,-108.68 211,-107.32 155.58,-99.3 140.14,-97.54 85,-107.32 82.83,-107.71 80.63,-108.18 78.42,-108.72"/>
34
- <polygon fill="black" stroke="black" points="77.55,-105.33 68.91,-111.46 79.49,-112.05 77.55,-105.33"/>
35
- <text xml:space="preserve" text-anchor="middle" x="148" y="-110.52" font-family="Times,serif" font-size="14.00">final answer + artifacts</text>
36
- </g>
37
- <!-- LLM -->
43
+ <!-- Anthropic -->
38
44
  <g id="node3" class="node">
39
- <title>LLM</title>
40
- <path fill="none" stroke="black" d="M553.72,-183.82C553.72,-183.82 488.97,-183.82 488.97,-183.82 482.97,-183.82 476.97,-177.82 476.97,-171.82 476.97,-171.82 476.97,-159.82 476.97,-159.82 476.97,-153.82 482.97,-147.82 488.97,-147.82 488.97,-147.82 553.72,-147.82 553.72,-147.82 559.72,-147.82 565.72,-153.82 565.72,-159.82 565.72,-159.82 565.72,-171.82 565.72,-171.82 565.72,-177.82 559.72,-183.82 553.72,-183.82"/>
41
- <text xml:space="preserve" text-anchor="middle" x="521.34" y="-167.77" font-family="Arial" font-size="9.00">LLM (Grok OAuth,</text>
42
- <text xml:space="preserve" text-anchor="middle" x="521.34" y="-157.27" font-family="Arial" font-size="9.00">OpenAI, etc.)</text>
45
+ <title>Anthropic</title>
46
+ <path fill="#c4b5fd" stroke="#334155" stroke-width="1.3" d="M305.25,-256C305.25,-256 272,-256 272,-256 266,-256 260,-250 260,-244 260,-244 260,-232 260,-232 260,-226 266,-220 272,-220 272,-220 305.25,-220 305.25,-220 311.25,-220 317.25,-226 317.25,-232 317.25,-232 317.25,-244 317.25,-244 317.25,-250 311.25,-256 305.25,-256"/>
47
+ <text xml:space="preserve" text-anchor="middle" x="288.62" y="-234.5" font-family="sans-Serif" font-size="10.00" fill="#0f172a">Anthropic</text>
43
48
  </g>
44
- <!-- Agent&#45;&gt;LLM -->
49
+ <!-- Loop&#45;&gt;Anthropic -->
45
50
  <g id="edge2" class="edge">
46
- <title>Agent&#45;&gt;LLM</title>
47
- <path fill="none" stroke="black" d="M288.28,-143.25C299.59,-157.19 317.52,-175.71 338.22,-183.82 378.83,-199.74 428.27,-193.41 465.38,-184.11"/>
48
- <polygon fill="black" stroke="black" points="466.25,-187.5 475.01,-181.54 464.45,-180.74 466.25,-187.5"/>
49
- <text xml:space="preserve" text-anchor="middle" x="397.84" y="-213.25" font-family="Times,serif" font-size="14.00">build prompt +</text>
50
- <text xml:space="preserve" text-anchor="middle" x="397.84" y="-196.75" font-family="Times,serif" font-size="14.00">tools schema</text>
51
+ <title>Loop&#45;&gt;Anthropic</title>
52
+ <path fill="none" stroke="#a78bfa" stroke-width="1.3" d="M115.15,-186.9C157.31,-199.39 213.54,-216.05 250.15,-226.9"/>
53
+ <polygon fill="#a78bfa" stroke="#a78bfa" stroke-width="1.3" points="249.12,-229.51 257.59,-229.1 250.71,-224.14 249.12,-229.51"/>
51
54
  </g>
52
- <!-- Agent&#45;&gt;LLM -->
53
- <g id="edge10" class="edge">
54
- <title>Agent&#45;&gt;LLM</title>
55
- <path fill="none" stroke="black" d="M311.12,-137.1C319.91,-139.59 329.35,-142.02 338.22,-143.82 380.46,-152.39 428.95,-158.05 465.27,-161.48"/>
56
- <polygon fill="black" stroke="black" points="464.82,-164.95 475.1,-162.38 465.46,-157.98 464.82,-164.95"/>
57
- <text xml:space="preserve" text-anchor="middle" x="397.84" y="-163.67" font-family="Times,serif" font-size="14.00">continue conversation</text>
58
- </g>
59
- <!-- Tools -->
55
+ <!-- Grok -->
60
56
  <g id="node4" class="node">
61
- <title>Tools</title>
62
- <path fill="none" stroke="black" d="M555.22,-90.82C555.22,-90.82 487.47,-90.82 487.47,-90.82 481.47,-90.82 475.47,-84.82 475.47,-78.82 475.47,-78.82 475.47,-52.82 475.47,-52.82 475.47,-46.82 481.47,-40.82 487.47,-40.82 487.47,-40.82 555.22,-40.82 555.22,-40.82 561.22,-40.82 567.22,-46.82 567.22,-52.82 567.22,-52.82 567.22,-78.82 567.22,-78.82 567.22,-84.82 561.22,-90.82 555.22,-90.82"/>
63
- <text xml:space="preserve" text-anchor="middle" x="521.34" y="-78.27" font-family="Arial" font-size="9.00">Tool Registry</text>
64
- <text xml:space="preserve" text-anchor="middle" x="521.34" y="-67.77" font-family="Arial" font-size="9.00">(pwn_eval, shell,</text>
65
- <text xml:space="preserve" text-anchor="middle" x="521.34" y="-57.27" font-family="Arial" font-size="9.00">memory_*, skill_*, </text>
66
- <text xml:space="preserve" text-anchor="middle" x="521.34" y="-46.77" font-family="Arial" font-size="9.00">learning_*)</text>
67
- </g>
68
- <!-- Agent&#45;&gt;Tools -->
69
- <g id="edge4" class="edge">
70
- <title>Agent&#45;&gt;Tools</title>
71
- <path fill="none" stroke="black" d="M302.38,-111.22C313.24,-105.83 326.06,-100.12 338.22,-96.32 379.22,-83.5 427.19,-75.74 463.61,-71.26"/>
72
- <polygon fill="black" stroke="black" points="463.98,-74.74 473.5,-70.1 463.16,-67.79 463.98,-74.74"/>
73
- <text xml:space="preserve" text-anchor="middle" x="397.84" y="-99.52" font-family="Times,serif" font-size="14.00">dispatch</text>
57
+ <title>Grok</title>
58
+ <path fill="#c4b5fd" stroke="#334155" stroke-width="1.3" d="M324.75,-188C324.75,-188 252.5,-188 252.5,-188 246.5,-188 240.5,-182 240.5,-176 240.5,-176 240.5,-164 240.5,-164 240.5,-158 246.5,-152 252.5,-152 252.5,-152 324.75,-152 324.75,-152 330.75,-152 336.75,-158 336.75,-164 336.75,-164 336.75,-176 336.75,-176 336.75,-182 330.75,-188 324.75,-188"/>
59
+ <text xml:space="preserve" text-anchor="middle" x="288.62" y="-172.5" font-family="sans-Serif" font-size="10.00" fill="#0f172a">Grok</text>
60
+ <text xml:space="preserve" text-anchor="middle" x="288.62" y="-160.5" font-family="sans-Serif" font-size="10.00" fill="#0f172a">OAuth device flow</text>
74
61
  </g>
75
- <!-- LLM&#45;&gt;Agent -->
62
+ <!-- Loop&#45;&gt;Grok -->
76
63
  <g id="edge3" class="edge">
77
- <title>LLM&#45;&gt;Agent</title>
78
- <path fill="none" stroke="black" d="M497.01,-147.34C485.74,-139.55 471.62,-131.37 457.47,-127.32 415.52,-115.31 365.86,-115.83 329.04,-118.85"/>
79
- <polygon fill="black" stroke="black" points="329.2,-115.32 319.56,-119.72 329.83,-122.29 329.2,-115.32"/>
80
- <text xml:space="preserve" text-anchor="middle" x="397.84" y="-130.52" font-family="Times,serif" font-size="14.00">tool_calls[]</text>
64
+ <title>Loop&#45;&gt;Grok</title>
65
+ <path fill="none" stroke="#a78bfa" stroke-width="1.3" d="M115.15,-170C150.34,-170 195.32,-170 230.53,-170"/>
66
+ <polygon fill="#a78bfa" stroke="#a78bfa" stroke-width="1.3" points="230.21,-172.8 238.21,-170 230.21,-167.2 230.21,-172.8"/>
81
67
  </g>
82
- <!-- Tools&#45;&gt;Agent -->
83
- <g id="edge9" class="edge">
84
- <title>Tools&#45;&gt;Agent</title>
85
- <path fill="none" stroke="black" d="M475.11,-50.64C436.87,-40.5 381.54,-32.32 338.22,-52.32 317.61,-61.84 301.28,-81.85 290.48,-98.6"/>
86
- <polygon fill="black" stroke="black" points="287.77,-96.32 285.55,-106.68 293.74,-99.97 287.77,-96.32"/>
87
- <text xml:space="preserve" text-anchor="middle" x="397.84" y="-55.52" font-family="Times,serif" font-size="14.00">results</text>
88
- </g>
89
- <!-- PWNNS -->
68
+ <!-- Gemini -->
90
69
  <g id="node5" class="node">
91
- <title>PWNNS</title>
92
- <path fill="none" stroke="black" d="M849.47,-119.57C849.47,-119.57 784.72,-119.57 784.72,-119.57 778.72,-119.57 772.72,-113.57 772.72,-107.57 772.72,-107.57 772.72,-92.07 772.72,-92.07 772.72,-86.07 778.72,-80.07 784.72,-80.07 784.72,-80.07 849.47,-80.07 849.47,-80.07 855.47,-80.07 861.47,-86.07 861.47,-92.07 861.47,-92.07 861.47,-107.57 861.47,-107.57 861.47,-113.57 855.47,-119.57 849.47,-119.57"/>
93
- <text xml:space="preserve" text-anchor="middle" x="817.09" y="-107.02" font-family="Arial" font-size="9.00">PWN Namespace</text>
94
- <text xml:space="preserve" text-anchor="middle" x="817.09" y="-96.52" font-family="Arial" font-size="9.00">(Plugins, SAST,</text>
95
- <text xml:space="preserve" text-anchor="middle" x="817.09" y="-86.02" font-family="Arial" font-size="9.00">Reports, etc.)</text>
70
+ <title>Gemini</title>
71
+ <path fill="#c4b5fd" stroke="#334155" stroke-width="1.3" d="M303.62,-120C303.62,-120 273.62,-120 273.62,-120 267.62,-120 261.62,-114 261.62,-108 261.62,-108 261.62,-96 261.62,-96 261.62,-90 267.62,-84 273.62,-84 273.62,-84 303.62,-84 303.62,-84 309.62,-84 315.62,-90 315.62,-96 315.62,-96 315.62,-108 315.62,-108 315.62,-114 309.62,-120 303.62,-120"/>
72
+ <text xml:space="preserve" text-anchor="middle" x="288.62" y="-98.5" font-family="sans-Serif" font-size="10.00" fill="#0f172a">Gemini</text>
96
73
  </g>
97
- <!-- Tools&#45;&gt;PWNNS -->
98
- <g id="edge5" class="edge">
99
- <title>Tools&#45;&gt;PWNNS</title>
100
- <path fill="none" stroke="black" d="M543.86,-91.12C554.94,-102.19 569.43,-113.97 585.22,-119.82 642.67,-141.11 713.47,-129.99 761.41,-117.49"/>
101
- <polygon fill="black" stroke="black" points="762.29,-120.88 771.02,-114.87 760.45,-114.12 762.29,-120.88"/>
102
- <text xml:space="preserve" text-anchor="middle" x="665.47" y="-135" font-family="Times,serif" font-size="14.00">PWN::Plugins::XXX.method</text>
74
+ <!-- Loop&#45;&gt;Gemini -->
75
+ <g id="edge4" class="edge">
76
+ <title>Loop&#45;&gt;Gemini</title>
77
+ <path fill="none" stroke="#a78bfa" stroke-width="1.3" d="M115.15,-153.1C157.92,-140.43 215.17,-123.47 251.73,-112.64"/>
78
+ <polygon fill="#a78bfa" stroke="#a78bfa" stroke-width="1.3" points="252.25,-115.4 259.12,-110.44 250.66,-110.03 252.25,-115.4"/>
103
79
  </g>
104
- <!-- External -->
80
+ <!-- Ollama -->
105
81
  <g id="node6" class="node">
106
- <title>External</title>
107
- <path fill="none" stroke="black" d="M858.47,-49.82C858.47,-49.82 775.72,-49.82 775.72,-49.82 769.72,-49.82 763.72,-43.82 763.72,-37.82 763.72,-37.82 763.72,-25.82 763.72,-25.82 763.72,-19.82 769.72,-13.82 775.72,-13.82 775.72,-13.82 858.47,-13.82 858.47,-13.82 864.47,-13.82 870.47,-19.82 870.47,-25.82 870.47,-25.82 870.47,-37.82 870.47,-37.82 870.47,-43.82 864.47,-49.82 858.47,-49.82"/>
108
- <text xml:space="preserve" text-anchor="middle" x="817.09" y="-33.77" font-family="Arial" font-size="9.00">External Tools</text>
109
- <text xml:space="preserve" text-anchor="middle" x="817.09" y="-23.27" font-family="Arial" font-size="9.00">(curl, nmap, msf, burp)</text>
82
+ <title>Ollama</title>
83
+ <path fill="#c4b5fd" stroke="#334155" stroke-width="1.3" d="M303.62,-52C303.62,-52 273.62,-52 273.62,-52 267.62,-52 261.62,-46 261.62,-40 261.62,-40 261.62,-28 261.62,-28 261.62,-22 267.62,-16 273.62,-16 273.62,-16 303.62,-16 303.62,-16 309.62,-16 315.62,-22 315.62,-28 315.62,-28 315.62,-40 315.62,-40 315.62,-46 309.62,-52 303.62,-52"/>
84
+ <text xml:space="preserve" text-anchor="middle" x="288.62" y="-36.5" font-family="sans-Serif" font-size="10.00" fill="#0f172a">Ollama</text>
85
+ <text xml:space="preserve" text-anchor="middle" x="288.62" y="-24.5" font-family="sans-Serif" font-size="10.00" fill="#0f172a">(local)</text>
110
86
  </g>
111
- <!-- Tools&#45;&gt;External -->
87
+ <!-- Loop&#45;&gt;Ollama -->
88
+ <g id="edge5" class="edge">
89
+ <title>Loop&#45;&gt;Ollama</title>
90
+ <path fill="none" stroke="#a78bfa" stroke-width="1.3" d="M80.78,-151.19C108.07,-129.17 155.92,-92.59 201.25,-68 217.35,-59.26 236.19,-51.58 252.15,-45.74"/>
91
+ <polygon fill="#a78bfa" stroke="#a78bfa" stroke-width="1.3" points="252.73,-48.51 259.33,-43.18 250.85,-43.23 252.73,-48.51"/>
92
+ </g>
93
+ <!-- A1 -->
94
+ <g id="node7" class="node">
95
+ <title>A1</title>
96
+ <path fill="#fda4af" stroke="#334155" stroke-width="1.3" d="M553.25,-324C553.25,-324 495.25,-324 495.25,-324 489.25,-324 483.25,-318 483.25,-312 483.25,-312 483.25,-300 483.25,-300 483.25,-294 489.25,-288 495.25,-288 495.25,-288 553.25,-288 553.25,-288 559.25,-288 565.25,-294 565.25,-300 565.25,-300 565.25,-312 565.25,-312 565.25,-318 559.25,-324 553.25,-324"/>
97
+ <text xml:space="preserve" text-anchor="middle" x="524.25" y="-302.5" font-family="sans-Serif" font-size="10.00" fill="#0f172a">api.openai.com</text>
98
+ </g>
99
+ <!-- OpenAI&#45;&gt;A1 -->
112
100
  <g id="edge6" class="edge">
113
- <title>Tools&#45;&gt;External</title>
114
- <path fill="none" stroke="black" d="M567.39,-51.28C573.34,-49.74 579.39,-48.36 585.22,-47.32 641,-37.37 705.4,-33.68 751.98,-32.37"/>
115
- <polygon fill="black" stroke="black" points="752,-35.87 761.91,-32.12 751.83,-28.87 752,-35.87"/>
116
- <text xml:space="preserve" text-anchor="middle" x="665.47" y="-50.52" font-family="Times,serif" font-size="14.00">shell commands</text>
101
+ <title>OpenAI&#45;&gt;A1</title>
102
+ <path fill="none" stroke="#fb7185" stroke-width="1.3" d="M315.97,-306C353.96,-306 424.85,-306 473.03,-306"/>
103
+ <polygon fill="#fb7185" stroke="#fb7185" stroke-width="1.3" points="472.98,-308.8 480.98,-306 472.98,-303.2 472.98,-308.8"/>
117
104
  </g>
118
- <!-- PWNNS&#45;&gt;Tools -->
119
- <g id="edge7" class="edge">
120
- <title>PWNNS&#45;&gt;Tools</title>
121
- <path fill="none" stroke="black" d="M772.39,-88.11C763.61,-86.08 754.41,-84.19 745.72,-82.82 689.35,-73.93 624.21,-69.64 578.88,-67.61"/>
122
- <polygon fill="black" stroke="black" points="579.16,-64.12 569.02,-67.19 578.87,-71.11 579.16,-64.12"/>
123
- <text xml:space="preserve" text-anchor="middle" x="665.47" y="-102.52" font-family="Times,serif" font-size="14.00">return value</text>
124
- <text xml:space="preserve" text-anchor="middle" x="665.47" y="-86.02" font-family="Times,serif" font-size="14.00">or exception</text>
105
+ <!-- A2 -->
106
+ <g id="node8" class="node">
107
+ <title>A2</title>
108
+ <path fill="#fda4af" stroke="#334155" stroke-width="1.3" d="M558.88,-256C558.88,-256 489.62,-256 489.62,-256 483.62,-256 477.62,-250 477.62,-244 477.62,-244 477.62,-232 477.62,-232 477.62,-226 483.62,-220 489.62,-220 489.62,-220 558.88,-220 558.88,-220 564.88,-220 570.88,-226 570.88,-232 570.88,-232 570.88,-244 570.88,-244 570.88,-250 564.88,-256 558.88,-256"/>
109
+ <text xml:space="preserve" text-anchor="middle" x="524.25" y="-234.5" font-family="sans-Serif" font-size="10.00" fill="#0f172a">api.anthropic.com</text>
125
110
  </g>
126
- <!-- External&#45;&gt;Tools -->
111
+ <!-- Anthropic&#45;&gt;A2 -->
112
+ <g id="edge7" class="edge">
113
+ <title>Anthropic&#45;&gt;A2</title>
114
+ <path fill="none" stroke="#fb7185" stroke-width="1.3" d="M317.81,-238C354.74,-238 420.36,-238 467.51,-238"/>
115
+ <polygon fill="#fb7185" stroke="#fb7185" stroke-width="1.3" points="467.31,-240.8 475.31,-238 467.31,-235.2 467.31,-240.8"/>
116
+ </g>
117
+ <!-- A3 -->
118
+ <g id="node9" class="node">
119
+ <title>A3</title>
120
+ <path fill="#fda4af" stroke="#334155" stroke-width="1.3" d="M539.25,-188C539.25,-188 509.25,-188 509.25,-188 503.25,-188 497.25,-182 497.25,-176 497.25,-176 497.25,-164 497.25,-164 497.25,-158 503.25,-152 509.25,-152 509.25,-152 539.25,-152 539.25,-152 545.25,-152 551.25,-158 551.25,-164 551.25,-164 551.25,-176 551.25,-176 551.25,-182 545.25,-188 539.25,-188"/>
121
+ <text xml:space="preserve" text-anchor="middle" x="524.25" y="-172.5" font-family="sans-Serif" font-size="10.00" fill="#0f172a">api.x.ai</text>
122
+ <text xml:space="preserve" text-anchor="middle" x="524.25" y="-160.5" font-family="sans-Serif" font-size="10.00" fill="#0f172a">auth.x.ai</text>
123
+ </g>
124
+ <!-- Grok&#45;&gt;A3 -->
127
125
  <g id="edge8" class="edge">
128
- <title>External&#45;&gt;Tools</title>
129
- <path fill="none" stroke="black" d="M763.5,-14.94C715.56,-2.41 643.54,9.14 585.22,-12.32 573.27,-16.72 562.04,-24.5 552.48,-32.79"/>
130
- <polygon fill="black" stroke="black" points="550.26,-30.08 545.3,-39.44 555.01,-35.22 550.26,-30.08"/>
131
- <text xml:space="preserve" text-anchor="middle" x="665.47" y="-15.52" font-family="Times,serif" font-size="14.00">stdout/stderr</text>
126
+ <title>Grok&#45;&gt;A3</title>
127
+ <path fill="none" stroke="#fb7185" stroke-width="1.3" d="M337.18,-170C381.49,-170 446.6,-170 486.89,-170"/>
128
+ <polygon fill="#fb7185" stroke="#fb7185" stroke-width="1.3" points="486.84,-172.8 494.84,-170 486.84,-167.2 486.84,-172.8"/>
129
+ </g>
130
+ <!-- A4 -->
131
+ <g id="node10" class="node">
132
+ <title>A4</title>
133
+ <path fill="#fda4af" stroke="#334155" stroke-width="1.3" d="M562.25,-120C562.25,-120 486.25,-120 486.25,-120 480.25,-120 474.25,-114 474.25,-108 474.25,-108 474.25,-96 474.25,-96 474.25,-90 480.25,-84 486.25,-84 486.25,-84 562.25,-84 562.25,-84 568.25,-84 574.25,-90 574.25,-96 574.25,-96 574.25,-108 574.25,-108 574.25,-114 568.25,-120 562.25,-120"/>
134
+ <text xml:space="preserve" text-anchor="middle" x="524.25" y="-104.5" font-family="sans-Serif" font-size="10.00" fill="#0f172a">generativelanguage</text>
135
+ <text xml:space="preserve" text-anchor="middle" x="524.25" y="-92.5" font-family="sans-Serif" font-size="10.00" fill="#0f172a">.googleapis.com</text>
136
+ </g>
137
+ <!-- Gemini&#45;&gt;A4 -->
138
+ <g id="edge9" class="edge">
139
+ <title>Gemini&#45;&gt;A4</title>
140
+ <path fill="none" stroke="#fb7185" stroke-width="1.3" d="M315.97,-102C351.62,-102 416.24,-102 463.88,-102"/>
141
+ <polygon fill="#fb7185" stroke="#fb7185" stroke-width="1.3" points="463.81,-104.8 471.81,-102 463.81,-99.2 463.81,-104.8"/>
142
+ </g>
143
+ <!-- A5 -->
144
+ <g id="node11" class="node">
145
+ <title>A5</title>
146
+ <path fill="#fda4af" stroke="#334155" stroke-width="1.3" d="M554.38,-52C554.38,-52 494.12,-52 494.12,-52 488.12,-52 482.12,-46 482.12,-40 482.12,-40 482.12,-28 482.12,-28 482.12,-22 488.12,-16 494.12,-16 494.12,-16 554.38,-16 554.38,-16 560.38,-16 566.38,-22 566.38,-28 566.38,-28 566.38,-40 566.38,-40 566.38,-46 560.38,-52 554.38,-52"/>
147
+ <text xml:space="preserve" text-anchor="middle" x="524.25" y="-30.5" font-family="sans-Serif" font-size="10.00" fill="#0f172a">localhost:11434</text>
148
+ </g>
149
+ <!-- Ollama&#45;&gt;A5 -->
150
+ <g id="edge10" class="edge">
151
+ <title>Ollama&#45;&gt;A5</title>
152
+ <path fill="none" stroke="#fb7185" stroke-width="1.3" d="M315.97,-34C353.63,-34 423.6,-34 471.75,-34"/>
153
+ <polygon fill="#fb7185" stroke="#fb7185" stroke-width="1.3" points="471.71,-36.8 479.71,-34 471.71,-31.2 471.71,-36.8"/>
154
+ </g>
155
+ <!-- Cfg -->
156
+ <g id="node12" class="node">
157
+ <title>Cfg</title>
158
+ <path fill="#fcd34d" stroke="#334155" stroke-width="1.3" d="M108.25,-82.75C108.25,-85.78 85.33,-88.25 57.12,-88.25 28.92,-88.25 6,-85.78 6,-82.75 6,-82.75 6,-33.25 6,-33.25 6,-30.22 28.92,-27.75 57.12,-27.75 85.33,-27.75 108.25,-30.22 108.25,-33.25 108.25,-33.25 108.25,-82.75 108.25,-82.75"/>
159
+ <path fill="none" stroke="#334155" stroke-width="1.3" d="M108.25,-82.75C108.25,-79.72 85.33,-77.25 57.12,-77.25 28.92,-77.25 6,-79.72 6,-82.75"/>
160
+ <text xml:space="preserve" text-anchor="middle" x="57.12" y="-66.5" font-family="sans-Serif" font-size="10.00" fill="#0f172a">PWN::Config</text>
161
+ <text xml:space="preserve" text-anchor="middle" x="57.12" y="-54.5" font-family="sans-Serif" font-size="10.00" fill="#0f172a">~/.pwn/config.yml</text>
162
+ <text xml:space="preserve" text-anchor="middle" x="57.12" y="-42.5" font-family="sans-Serif" font-size="10.00" fill="#0f172a">engine · key · oauth</text>
163
+ </g>
164
+ <!-- Cfg&#45;&gt;Loop -->
165
+ <g id="edge11" class="edge">
166
+ <title>Cfg&#45;&gt;Loop</title>
167
+ <path fill="none" stroke="#fbbf24" stroke-width="1.3" stroke-dasharray="5,2" d="M57.12,-88.6C57.12,-104.97 57.12,-125 57.12,-141.1"/>
168
+ <polygon fill="#fbbf24" stroke="#fbbf24" stroke-width="1.3" points="54.33,-141.06 57.13,-149.06 59.93,-141.06 54.33,-141.06"/>
169
+ <text xml:space="preserve" text-anchor="middle" x="48.88" y="-116.83" font-family="sans-Serif" font-size="9.00" fill="#cbd5e1">active engine</text>
132
170
  </g>
133
171
  </g>
134
172
  </svg>
@@ -0,0 +1,20 @@
1
+ #!/usr/bin/env bash
2
+ # Regenerate every PWN data-flow diagram SVG from its .dot source.
3
+ # Usage: ./build.sh # build all
4
+ # ./build.sh foo.dot # build one
5
+ set -euo pipefail
6
+ cd "$(dirname "$0")"
7
+ DOT_BIN="${DOT_BIN:-dot}"
8
+ SRC_DIR="dot"
9
+ build_one() {
10
+ local src="$1"
11
+ local base="$(basename "$src" .dot)"
12
+ echo " [dot] ${base}.svg"
13
+ "$DOT_BIN" -Tsvg "-Gfontnames=svg" "$src" -o "${base}.svg"
14
+ }
15
+ if [[ $# -gt 0 ]]; then
16
+ for f in "$@"; do build_one "$f"; done
17
+ else
18
+ for f in "$SRC_DIR"/*.dot; do build_one "$f"; done
19
+ fi
20
+ echo "[done] $(ls -1 *.svg | wc -l) SVG diagram(s) in $(pwd)"
@@ -3,82 +3,67 @@
3
3
  "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
4
4
  <!-- Generated by graphviz version 14.1.2 (0)
5
5
  -->
6
- <!-- Title: PWN BurpSuite vs Zaproxy Preference Pages: 1 -->
7
- <svg width="745pt" height="136pt"
8
- viewBox="0.00 0.00 745.00 136.00" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
9
- <g id="graph0" class="graph" transform="scale(1 1) rotate(0) translate(4 132.25)">
10
- <title>PWN BurpSuite vs Zaproxy Preference</title>
11
- <polygon fill="white" stroke="none" points="-4,4 -4,-132.25 740.75,-132.25 740.75,4 -4,4"/>
12
- <!-- Decision -->
6
+ <!-- Title: PWN_BurpVsZap Pages: 1 -->
7
+ <svg width="639pt" height="421pt"
8
+ viewBox="0.00 0.00 639.00 421.00" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
9
+ <g id="graph0" class="graph" transform="scale(1 1) rotate(0) translate(43.2 377.9)">
10
+ <title>PWN_BurpVsZap</title>
11
+ <polygon fill="#0f172a" stroke="none" points="-43.2,43.2 -43.2,-377.9 595.45,-377.9 595.45,43.2 -43.2,43.2"/>
12
+ <text xml:space="preserve" text-anchor="start" x="8" y="-312.7" font-family="sans-Serif" font-weight="bold" font-size="20.00" fill="#e2e8f0">Web Proxy Selection — BurpSuite ⭐ preferred over ZAP</text>
13
+ <!-- Need -->
13
14
  <g id="node1" class="node">
14
- <title>Decision</title>
15
- <path fill="none" stroke="black" d="M210.56,-86.38C210.56,-86.38 141.69,-64.62 141.69,-64.62 135.97,-62.81 135.97,-59.19 141.69,-57.38 141.69,-57.38 210.56,-35.62 210.56,-35.62 216.28,-33.81 227.72,-33.81 233.44,-35.62 233.44,-35.62 302.31,-57.38 302.31,-57.38 308.03,-59.19 308.03,-62.81 302.31,-64.62 302.31,-64.62 233.44,-86.38 233.44,-86.38 227.72,-88.19 216.28,-88.19 210.56,-86.38"/>
16
- <text xml:space="preserve" text-anchor="middle" x="222" y="-62.95" font-family="Arial" font-size="9.00">Web Proxy Choice</text>
17
- <text xml:space="preserve" text-anchor="middle" x="222" y="-52.45" font-family="Arial" font-size="9.00">in PWN</text>
15
+ <title>Need</title>
16
+ <polygon fill="#7dd3fc" stroke="#334155" stroke-width="1.3" points="286.12,-302.7 214.04,-263.1 286.12,-223.5 358.21,-263.1 286.12,-302.7"/>
17
+ <text xml:space="preserve" text-anchor="middle" x="286.12" y="-265.6" font-family="sans-Serif" font-size="10.00" fill="#0f172a">Need web proxy /</text>
18
+ <text xml:space="preserve" text-anchor="middle" x="286.12" y="-253.6" font-family="sans-Serif" font-size="10.00" fill="#0f172a">active scanner?</text>
18
19
  </g>
19
20
  <!-- Burp -->
20
21
  <g id="node2" class="node">
21
22
  <title>Burp</title>
22
- <path fill="none" stroke="black" d="M586.25,-128.25C586.25,-128.25 484,-128.25 484,-128.25 478,-128.25 472,-122.25 472,-116.25 472,-116.25 472,-79.75 472,-79.75 472,-73.75 478,-67.75 484,-67.75 484,-67.75 586.25,-67.75 586.25,-67.75 592.25,-67.75 598.25,-73.75 598.25,-79.75 598.25,-79.75 598.25,-116.25 598.25,-116.25 598.25,-122.25 592.25,-128.25 586.25,-128.25"/>
23
- <text xml:space="preserve" text-anchor="middle" x="535.12" y="-115.7" font-family="Arial" font-size="9.00">PWN::Plugins::BurpSuite</text>
24
- <text xml:space="preserve" text-anchor="middle" x="535.12" y="-105.2" font-family="Arial" font-size="9.00">(preferred for most cases)</text>
25
- <text xml:space="preserve" text-anchor="middle" x="535.12" y="-94.7" font-family="Arial" font-size="9.00">&#45; Comprehensive scanning</text>
26
- <text xml:space="preserve" text-anchor="middle" x="535.12" y="-84.2" font-family="Arial" font-size="9.00">&#45; Rich ecosystem</text>
27
- <text xml:space="preserve" text-anchor="middle" x="535.12" y="-73.7" font-family="Arial" font-size="9.00">&#45; Active scan + extensions</text>
23
+ <path fill="#6ee7b7" stroke="#334155" stroke-width="2" d="M259.88,-147C259.88,-147 122.38,-147 122.38,-147 116.38,-147 110.38,-141 110.38,-135 110.38,-135 110.38,-115 110.38,-115 110.38,-109 116.38,-103 122.38,-103 122.38,-103 259.88,-103 259.88,-103 265.88,-103 271.88,-109 271.88,-115 271.88,-115 271.88,-135 271.88,-135 271.88,-141 265.88,-147 259.88,-147"/>
24
+ <text xml:space="preserve" text-anchor="middle" x="191.12" y="-133.5" font-family="sans-Serif" font-size="10.00" fill="#0f172a">PWN::Plugins::BurpSuite</text>
25
+ <text xml:space="preserve" text-anchor="middle" x="191.12" y="-121.5" font-family="sans-Serif" font-size="10.00" fill="#0f172a">headless · REST · richer scanner</text>
26
+ <text xml:space="preserve" text-anchor="middle" x="191.12" y="-109.5" font-family="sans-Serif" font-size="10.00" fill="#0f172a">BApp ecosystem</text>
28
27
  </g>
29
- <!-- Decision&#45;&gt;Burp -->
30
- <g id="edge2" class="edge">
31
- <title>Decision&#45;&gt;Burp</title>
32
- <path fill="none" stroke="black" d="M290.13,-68.98C340.2,-74.94 408.58,-83.07 460.21,-89.21"/>
33
- <polygon fill="black" stroke="black" points="459.77,-92.68 470.12,-90.39 460.6,-85.73 459.77,-92.68"/>
34
- <text xml:space="preserve" text-anchor="middle" x="392.88" y="-91.28" font-family="Times,serif" font-size="14.00">default / most features</text>
28
+ <!-- Need&#45;&gt;Burp -->
29
+ <g id="edge1" class="edge">
30
+ <title>Need&#45;&gt;Burp</title>
31
+ <path fill="none" stroke="#34d399" stroke-width="2" d="M263.68,-235.55C252.87,-222.34 239.99,-205.92 229.38,-190.5 222.14,-179.99 214.84,-168.07 208.59,-157.37"/>
32
+ <polygon fill="#34d399" stroke="#34d399" stroke-width="2" points="211.09,-156.11 204.68,-150.58 206.24,-158.91 211.09,-156.11"/>
33
+ <text xml:space="preserve" text-anchor="middle" x="267.25" y="-181.95" font-family="sans-Serif" font-size="9.00" fill="#cbd5e1">Burp Pro available</text>
35
34
  </g>
36
35
  <!-- Zap -->
37
36
  <g id="node3" class="node">
38
37
  <title>Zap</title>
39
- <path fill="none" stroke="black" d="M578,-50C578,-50 492.25,-50 492.25,-50 486.25,-50 480.25,-44 480.25,-38 480.25,-38 480.25,-12 480.25,-12 480.25,-6 486.25,0 492.25,0 492.25,0 578,0 578,0 584,0 590,-6 590,-12 590,-12 590,-38 590,-38 590,-44 584,-50 578,-50"/>
40
- <text xml:space="preserve" text-anchor="middle" x="535.12" y="-37.45" font-family="Arial" font-size="9.00">PWN::Plugins::Zaproxy</text>
41
- <text xml:space="preserve" text-anchor="middle" x="535.12" y="-26.95" font-family="Arial" font-size="9.00">(fallback)</text>
42
- <text xml:space="preserve" text-anchor="middle" x="535.12" y="-16.45" font-family="Arial" font-size="9.00">&#45; Open source</text>
43
- <text xml:space="preserve" text-anchor="middle" x="535.12" y="-5.95" font-family="Arial" font-size="9.00">&#45; REST API scans</text>
44
- </g>
45
- <!-- Decision&#45;&gt;Zap -->
46
- <g id="edge3" class="edge">
47
- <title>Decision&#45;&gt;Zap</title>
48
- <path fill="none" stroke="black" d="M275.28,-48.35C293.1,-44.46 313.2,-40.54 331.75,-38 377.15,-31.77 428.69,-28.52 468.4,-26.82"/>
49
- <polygon fill="black" stroke="black" points="468.43,-30.32 478.29,-26.43 468.15,-23.33 468.43,-30.32"/>
50
- <text xml:space="preserve" text-anchor="middle" x="392.88" y="-57.7" font-family="Times,serif" font-size="14.00">if Burp unavailable</text>
51
- <text xml:space="preserve" text-anchor="middle" x="392.88" y="-41.2" font-family="Times,serif" font-size="14.00">or specific REST need</text>
52
- </g>
53
- <!-- Scan / Proxy / Exploit -->
54
- <g id="node5" class="node">
55
- <title>Scan / Proxy / Exploit</title>
56
- <path fill="none" stroke="black" d="M724.75,-79C724.75,-79 647.25,-79 647.25,-79 641.25,-79 635.25,-73 635.25,-67 635.25,-67 635.25,-55 635.25,-55 635.25,-49 641.25,-43 647.25,-43 647.25,-43 724.75,-43 724.75,-43 730.75,-43 736.75,-49 736.75,-55 736.75,-55 736.75,-67 736.75,-67 736.75,-73 730.75,-79 724.75,-79"/>
57
- <text xml:space="preserve" text-anchor="middle" x="686" y="-57.7" font-family="Arial" font-size="9.00">Scan / Proxy / Exploit</text>
58
- </g>
59
- <!-- Burp&#45;&gt;Scan / Proxy / Exploit -->
60
- <g id="edge4" class="edge">
61
- <title>Burp&#45;&gt;Scan / Proxy / Exploit</title>
62
- <path fill="none" stroke="black" d="M598.4,-82.52C606.93,-80.4 615.68,-78.23 624.19,-76.11"/>
63
- <polygon fill="black" stroke="black" points="624.86,-79.55 633.72,-73.75 623.17,-72.76 624.86,-79.55"/>
38
+ <path fill="#fcd34d" stroke="#334155" stroke-width="1.3" d="M429.88,-143C429.88,-143 334.38,-143 334.38,-143 328.38,-143 322.38,-137 322.38,-131 322.38,-131 322.38,-119 322.38,-119 322.38,-113 328.38,-107 334.38,-107 334.38,-107 429.88,-107 429.88,-107 435.88,-107 441.88,-113 441.88,-119 441.88,-119 441.88,-131 441.88,-131 441.88,-137 435.88,-143 429.88,-143"/>
39
+ <text xml:space="preserve" text-anchor="middle" x="382.12" y="-127.5" font-family="sans-Serif" font-size="10.00" fill="#0f172a">PWN::Plugins::Zaproxy</text>
40
+ <text xml:space="preserve" text-anchor="middle" x="382.12" y="-115.5" font-family="sans-Serif" font-size="10.00" fill="#0f172a">OSS fallback</text>
64
41
  </g>
65
- <!-- Zap&#45;&gt;Scan / Proxy / Exploit -->
66
- <g id="edge5" class="edge">
67
- <title>Zap&#45;&gt;Scan / Proxy / Exploit</title>
68
- <path fill="none" stroke="black" d="M590.29,-38.1C601.27,-40.75 612.88,-43.56 624.07,-46.27"/>
69
- <polygon fill="black" stroke="black" points="623.06,-49.62 633.61,-48.57 624.71,-42.82 623.06,-49.62"/>
42
+ <!-- Need&#45;&gt;Zap -->
43
+ <g id="edge2" class="edge">
44
+ <title>Need&#45;&gt;Zap</title>
45
+ <path fill="none" stroke="#f59e0b" stroke-width="1.3" d="M306.02,-233.9C323.14,-209.63 347.62,-174.92 364.16,-151.47"/>
46
+ <polygon fill="#f59e0b" stroke="#f59e0b" stroke-width="1.3" points="366.4,-153.15 368.73,-144.99 361.83,-149.92 366.4,-153.15"/>
47
+ <text xml:space="preserve" text-anchor="middle" x="358.47" y="-181.95" font-family="sans-Serif" font-size="9.00" fill="#cbd5e1">fallback</text>
70
48
  </g>
71
- <!-- UserTask -->
49
+ <!-- Both -->
72
50
  <g id="node4" class="node">
73
- <title>UserTask</title>
74
- <path fill="none" stroke="black" d="M81.25,-79C81.25,-79 12,-79 12,-79 6,-79 0,-73 0,-67 0,-67 0,-55 0,-55 0,-49 6,-43 12,-43 12,-43 81.25,-43 81.25,-43 87.25,-43 93.25,-49 93.25,-55 93.25,-55 93.25,-67 93.25,-67 93.25,-73 87.25,-79 81.25,-79"/>
75
- <text xml:space="preserve" text-anchor="middle" x="46.62" y="-57.7" font-family="Arial" font-size="9.00">Web App Test Task</text>
51
+ <title>Both</title>
52
+ <path fill="#c4b5fd" stroke="#334155" stroke-width="1.3" d="M390.5,-36C390.5,-36 181.75,-36 181.75,-36 175.75,-36 169.75,-30 169.75,-24 169.75,-24 169.75,-12 169.75,-12 169.75,-6 175.75,0 181.75,0 181.75,0 390.5,0 390.5,0 396.5,0 402.5,-6 402.5,-12 402.5,-12 402.5,-24 402.5,-24 402.5,-30 396.5,-36 390.5,-36"/>
53
+ <text xml:space="preserve" text-anchor="middle" x="286.12" y="-20.5" font-family="sans-Serif" font-size="10.00" fill="#0f172a">Same downstream:</text>
54
+ <text xml:space="preserve" text-anchor="middle" x="286.12" y="-8.5" font-family="sans-Serif" font-size="10.00" fill="#0f172a">TransparentBrowser proxy · Reports · DefectDojo</text>
76
55
  </g>
77
- <!-- UserTask&#45;&gt;Decision -->
78
- <g id="edge1" class="edge">
79
- <title>UserTask&#45;&gt;Decision</title>
80
- <path fill="none" stroke="black" d="M93.63,-61C101.15,-61 109.19,-61 117.45,-61"/>
81
- <polygon fill="black" stroke="black" points="117.3,-64.5 127.3,-61 117.3,-57.5 117.3,-64.5"/>
56
+ <!-- Burp&#45;&gt;Both -->
57
+ <g id="edge3" class="edge">
58
+ <title>Burp&#45;&gt;Both</title>
59
+ <path fill="none" stroke="#a78bfa" stroke-width="1.3" d="M210.81,-102.24C226.22,-85.21 247.65,-61.52 263.72,-43.77"/>
60
+ <polygon fill="#a78bfa" stroke="#a78bfa" stroke-width="1.3" points="265.63,-45.83 268.92,-38.02 261.48,-42.07 265.63,-45.83"/>
61
+ </g>
62
+ <!-- Zap&#45;&gt;Both -->
63
+ <g id="edge4" class="edge">
64
+ <title>Zap&#45;&gt;Both</title>
65
+ <path fill="none" stroke="#a78bfa" stroke-width="1.3" d="M366.27,-106.66C350.57,-89.49 326.37,-63.02 308.67,-43.66"/>
66
+ <polygon fill="#a78bfa" stroke="#a78bfa" stroke-width="1.3" points="310.79,-41.83 303.33,-37.82 306.66,-45.61 310.79,-41.83"/>
82
67
  </g>
83
68
  </g>
84
69
  </svg>