pwn 0.5.779 → 0.5.781
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.
- checksums.yaml +4 -4
- data/Gemfile +3 -3
- data/documentation/AI-Integration.md +4 -4
- data/documentation/AWS.md +10 -9
- data/documentation/Agent-Tool-Registry.md +20 -17
- data/documentation/Blockchain.md +3 -2
- data/documentation/Bounty.md +8 -6
- data/documentation/BurpSuite.md +6 -10
- data/documentation/CLI-Drivers.md +7 -4
- data/documentation/Capability-Broker-Sandbox.md +1 -1
- data/documentation/Configuration.md +23 -15
- data/documentation/Contributing.md +3 -3
- data/documentation/Cron.md +3 -2
- data/documentation/Diagrams.md +9 -3
- data/documentation/Drivers.md +12 -6
- data/documentation/Extrospection.md +25 -5
- data/documentation/FFI.md +15 -25
- data/documentation/Fuzzing.md +13 -13
- data/documentation/General-PWN-Usage.md +7 -4
- data/documentation/Harness-Evaluation.md +90 -3
- data/documentation/Home.md +6 -5
- data/documentation/How-PWN-Works.md +9 -10
- data/documentation/Installation.md +12 -11
- data/documentation/Metasploit.md +13 -19
- data/documentation/Mistakes.md +2 -2
- data/documentation/NmapIt.md +6 -3
- data/documentation/Operability.md +99 -0
- data/documentation/Persistence.md +3 -2
- data/documentation/Plugin-Degradation.md +4 -2
- data/documentation/Plugins.md +4 -11
- data/documentation/Policy-Benchmark.md +4 -0
- data/documentation/Reinforcement-Learning.md +19 -3
- data/documentation/Reporting.md +6 -5
- data/documentation/SAST.md +15 -10
- data/documentation/SDR-Decoder-Coverage.md +10 -4
- data/documentation/SDR.md +28 -40
- data/documentation/Session-Workflow.md +25 -12
- data/documentation/Sessions.md +7 -0
- data/documentation/Skills-Memory-Learning.md +11 -4
- data/documentation/Swarm.md +6 -0
- data/documentation/Transparent-Browser.md +1 -1
- data/documentation/Troubleshooting.md +6 -3
- data/documentation/What-is-PWN.md +4 -4
- data/documentation/Why-PWN.md +1 -1
- data/documentation/diagrams/agent-tool-registry.svg +219 -180
- data/documentation/diagrams/ai-integration-tool-calling.svg +35 -34
- data/documentation/diagrams/code-scanning-sast.svg +78 -78
- data/documentation/diagrams/cron-scheduling.svg +165 -145
- data/documentation/diagrams/dot/_THEME.md +6 -4
- data/documentation/diagrams/dot/agent-tool-registry.dot +6 -2
- data/documentation/diagrams/dot/ai-integration-tool-calling.dot +1 -1
- data/documentation/diagrams/dot/code-scanning-sast.dot +8 -8
- data/documentation/diagrams/dot/cron-scheduling.dot +2 -0
- data/documentation/diagrams/dot/driver-framework.dot +1 -1
- data/documentation/diagrams/dot/extrospection-world-awareness.dot +2 -2
- data/documentation/diagrams/dot/fuzzing-workflow.dot +3 -3
- data/documentation/diagrams/dot/history-to-drivers.dot +1 -1
- data/documentation/diagrams/dot/memory-skills-detailed.dot +3 -3
- data/documentation/diagrams/dot/mistakes-negative-feedback.dot +2 -2
- data/documentation/diagrams/dot/overall-pwn-architecture.dot +33 -121
- data/documentation/diagrams/dot/persistence-filesystem.dot +2 -2
- data/documentation/diagrams/dot/plugin-ecosystem.dot +2 -2
- data/documentation/diagrams/dot/pwn-ai-feedback-learning-loop.dot +31 -167
- data/documentation/diagrams/dot/pwn-repl-prototyping.dot +1 -1
- data/documentation/diagrams/dot/reinforcement-learning.dot +15 -7
- data/documentation/diagrams/dot/reporting-pipeline.dot +5 -3
- data/documentation/diagrams/dot/reverse-engineering-flow.dot +3 -3
- data/documentation/diagrams/dot/sdr-radio-flow.dot +5 -5
- data/documentation/diagrams/dot/sessions-cron-automation.dot +1 -1
- data/documentation/diagrams/dot/swarm-multi-agent.dot +3 -3
- data/documentation/diagrams/dot/task-summarizer.dot +2 -2
- data/documentation/diagrams/dot/web-application-testing.dot +4 -3
- data/documentation/diagrams/dot/zero-day-research-flow.dot +4 -3
- data/documentation/diagrams/driver-framework.svg +1 -1
- data/documentation/diagrams/extrospection-world-awareness.svg +178 -178
- data/documentation/diagrams/fuzzing-workflow.svg +58 -58
- data/documentation/diagrams/history-to-drivers.svg +42 -42
- data/documentation/diagrams/memory-skills-detailed.svg +210 -210
- data/documentation/diagrams/mistakes-negative-feedback.svg +116 -116
- data/documentation/diagrams/overall-pwn-architecture.svg +248 -404
- data/documentation/diagrams/persistence-filesystem.svg +143 -143
- data/documentation/diagrams/plugin-ecosystem.svg +100 -100
- data/documentation/diagrams/pwn-ai-feedback-learning-loop.svg +233 -752
- data/documentation/diagrams/pwn-repl-prototyping.svg +27 -27
- data/documentation/diagrams/reinforcement-learning.svg +295 -221
- data/documentation/diagrams/reporting-pipeline.svg +94 -80
- data/documentation/diagrams/reverse-engineering-flow.svg +31 -31
- data/documentation/diagrams/sdr-radio-flow.svg +157 -155
- data/documentation/diagrams/sessions-cron-automation.svg +13 -13
- data/documentation/diagrams/swarm-multi-agent.svg +86 -86
- data/documentation/diagrams/task-summarizer.svg +57 -57
- data/documentation/diagrams/web-application-testing.svg +81 -75
- data/documentation/diagrams/zero-day-research-flow.svg +101 -92
- data/documentation/pwn-REPL.md +5 -3
- data/documentation/pwn-ai-Agent.md +18 -14
- data/documentation/pwn_silent_help_learn_demo.gif +0 -0
- data/etc/default_skills/pwn/ai/agent/learning/SKILL.md +1 -0
- data/lib/pwn/ai/agent/learning.rb +46 -1
- data/lib/pwn/ai/agent/loop.rb +6 -3
- data/lib/pwn/ai/agent/policy_evaluation.rb +5 -1
- data/lib/pwn/ai/agent/reward.rb +9 -0
- data/lib/pwn/version.rb +1 -1
- data/spec/fixtures/harness/completion_regressions.json +10 -0
- data/spec/fixtures/harness/completion_regressions.json.sha256 +1 -0
- data/spec/integration/harness_evaluation_spec.rb +13 -0
- data/spec/lib/pwn/ai/agent/learning_spec.rb +22 -0
- data/spec/lib/pwn/ai/agent/loop_spec.rb +39 -0
- data/spec/lib/pwn/ai/agent/policy_evaluation_spec.rb +6 -1
- data/spec/lib/pwn/ai/agent/reward_spec.rb +21 -0
- data/spec/support/harness/evaluate.rb +1 -1
- data/third_party/pwn_rdoc.jsonl +2 -1
- metadata +10 -7
|
@@ -13,8 +13,8 @@
|
|
|
13
13
|
<text xml:space="preserve" text-anchor="start" x="266.81" y="-409.3" font-family="sans-Serif" font-size="11.00" fill="#94a3b8">Pry + full PWN:: preload + custom commands</text>
|
|
14
14
|
<g id="clust1" class="cluster">
|
|
15
15
|
<title>cluster_repl</title>
|
|
16
|
-
<path fill="#2e1065" stroke="#6d28d9" stroke-width="2" d="
|
|
17
|
-
<text xml:space="preserve" text-anchor="middle" x="
|
|
16
|
+
<path fill="#2e1065" stroke="#6d28d9" stroke-width="2" d="M136,-242.5C136,-242.5 532,-242.5 532,-242.5 538,-242.5 544,-248.5 544,-254.5 544,-254.5 544,-313.75 544,-313.75 544,-319.75 538,-325.75 532,-325.75 532,-325.75 136,-325.75 136,-325.75 130,-325.75 124,-319.75 124,-313.75 124,-313.75 124,-254.5 124,-254.5 124,-248.5 130,-242.5 136,-242.5"/>
|
|
17
|
+
<text xml:space="preserve" text-anchor="middle" x="334" y="-302.75" font-family="sans-Serif" font-size="20.00" fill="#ddd6fe">Plugins::REPL  (Pry)</text>
|
|
18
18
|
</g>
|
|
19
19
|
<g id="clust3" class="cluster">
|
|
20
20
|
<title>cluster_cmds</title>
|
|
@@ -29,35 +29,35 @@
|
|
|
29
29
|
<!-- User -->
|
|
30
30
|
<g id="node1" class="node">
|
|
31
31
|
<title>User</title>
|
|
32
|
-
<path fill="#7dd3fc" stroke="#334155" stroke-width="1.3" d="
|
|
33
|
-
<text xml:space="preserve" text-anchor="middle" x="
|
|
32
|
+
<path fill="#7dd3fc" stroke="#334155" stroke-width="1.3" d="M354.5,-403.75C354.5,-403.75 317.5,-403.75 317.5,-403.75 311.5,-403.75 305.5,-397.75 305.5,-391.75 305.5,-391.75 305.5,-379.75 305.5,-379.75 305.5,-373.75 311.5,-367.75 317.5,-367.75 317.5,-367.75 354.5,-367.75 354.5,-367.75 360.5,-367.75 366.5,-373.75 366.5,-379.75 366.5,-379.75 366.5,-391.75 366.5,-391.75 366.5,-397.75 360.5,-403.75 354.5,-403.75"/>
|
|
33
|
+
<text xml:space="preserve" text-anchor="middle" x="336" y="-382.62" font-family="sans-Serif" font-size="10.00" fill="#0f172a">👤  $ pwn</text>
|
|
34
34
|
</g>
|
|
35
35
|
<!-- Prompt -->
|
|
36
36
|
<g id="node2" class="node">
|
|
37
37
|
<title>Prompt</title>
|
|
38
|
-
<path fill="#c4b5fd" stroke="#334155" stroke-width="1.3" d="
|
|
39
|
-
<text xml:space="preserve" text-anchor="middle" x="
|
|
38
|
+
<path fill="#c4b5fd" stroke="#334155" stroke-width="1.3" d="M226.38,-286.5C226.38,-286.5 143.62,-286.5 143.62,-286.5 137.62,-286.5 131.62,-280.5 131.62,-274.5 131.62,-274.5 131.62,-262.5 131.62,-262.5 131.62,-256.5 137.62,-250.5 143.62,-250.5 143.62,-250.5 226.38,-250.5 226.38,-250.5 232.38,-250.5 238.38,-256.5 238.38,-262.5 238.38,-262.5 238.38,-274.5 238.38,-274.5 238.38,-280.5 232.38,-286.5 226.38,-286.5"/>
|
|
39
|
+
<text xml:space="preserve" text-anchor="middle" x="185" y="-265" font-family="sans-Serif" font-size="10.00" fill="#0f172a">pwn[v0.5.x]:001 >>></text>
|
|
40
40
|
</g>
|
|
41
41
|
<!-- User->Prompt -->
|
|
42
42
|
<g id="edge1" class="edge">
|
|
43
43
|
<title>User->Prompt</title>
|
|
44
|
-
<path fill="none" stroke="#38bdf8" stroke-width="2" d="
|
|
45
|
-
<polygon fill="#38bdf8" stroke="#38bdf8" stroke-width="2" points="
|
|
44
|
+
<path fill="none" stroke="#38bdf8" stroke-width="2" d="M312.75,-367.25C297.22,-355.54 276.35,-339.76 258,-325.75 244.26,-315.26 229.11,-303.6 216.19,-293.63"/>
|
|
45
|
+
<polygon fill="#38bdf8" stroke="#38bdf8" stroke-width="2" points="218.09,-291.56 210.04,-288.89 214.66,-295.99 218.09,-291.56"/>
|
|
46
46
|
</g>
|
|
47
47
|
<!-- Preload -->
|
|
48
48
|
<g id="node3" class="node">
|
|
49
49
|
<title>Preload</title>
|
|
50
|
-
<path fill="#c4b5fd" stroke="#334155" stroke-width="1.3" d="
|
|
51
|
-
<text xml:space="preserve" text-anchor="middle" x="
|
|
52
|
-
<text xml:space="preserve" text-anchor="middle" x="
|
|
50
|
+
<path fill="#c4b5fd" stroke="#334155" stroke-width="1.3" d="M381.88,-286.5C381.88,-286.5 290.12,-286.5 290.12,-286.5 284.12,-286.5 278.12,-280.5 278.12,-274.5 278.12,-274.5 278.12,-262.5 278.12,-262.5 278.12,-256.5 284.12,-250.5 290.12,-250.5 290.12,-250.5 381.88,-250.5 381.88,-250.5 387.88,-250.5 393.88,-256.5 393.88,-262.5 393.88,-262.5 393.88,-274.5 393.88,-274.5 393.88,-280.5 387.88,-286.5 381.88,-286.5"/>
|
|
51
|
+
<text xml:space="preserve" text-anchor="middle" x="336" y="-271" font-family="sans-Serif" font-size="10.00" fill="#0f172a">autoload PWN::*</text>
|
|
52
|
+
<text xml:space="preserve" text-anchor="middle" x="336" y="-259" font-family="sans-Serif" font-size="10.00" fill="#0f172a">Banner · MonkeyPatch</text>
|
|
53
53
|
</g>
|
|
54
54
|
<!-- User->Preload -->
|
|
55
55
|
<!-- Hist -->
|
|
56
56
|
<g id="node4" class="node">
|
|
57
57
|
<title>Hist</title>
|
|
58
|
-
<path fill="#c4b5fd" stroke="#334155" stroke-width="1.3" d="
|
|
59
|
-
<text xml:space="preserve" text-anchor="middle" x="
|
|
60
|
-
<text xml:space="preserve" text-anchor="middle" x="
|
|
58
|
+
<path fill="#c4b5fd" stroke="#334155" stroke-width="1.3" d="M523.75,-286.5C523.75,-286.5 446.25,-286.5 446.25,-286.5 440.25,-286.5 434.25,-280.5 434.25,-274.5 434.25,-274.5 434.25,-262.5 434.25,-262.5 434.25,-256.5 440.25,-250.5 446.25,-250.5 446.25,-250.5 523.75,-250.5 523.75,-250.5 529.75,-250.5 535.75,-256.5 535.75,-262.5 535.75,-262.5 535.75,-274.5 535.75,-274.5 535.75,-280.5 529.75,-286.5 523.75,-286.5"/>
|
|
59
|
+
<text xml:space="preserve" text-anchor="middle" x="485" y="-271" font-family="sans-Serif" font-size="10.00" fill="#0f172a">~/.pwn/pwn_history</text>
|
|
60
|
+
<text xml:space="preserve" text-anchor="middle" x="485" y="-259" font-family="sans-Serif" font-size="10.00" fill="#0f172a">replay · edit</text>
|
|
61
61
|
</g>
|
|
62
62
|
<!-- User->Hist -->
|
|
63
63
|
<!-- CAI -->
|
|
@@ -69,8 +69,8 @@
|
|
|
69
69
|
<!-- Prompt->CAI -->
|
|
70
70
|
<g id="edge4" class="edge">
|
|
71
71
|
<title>Prompt->CAI</title>
|
|
72
|
-
<path fill="none" stroke="#34d399" stroke-width="1.3" d="
|
|
73
|
-
<polygon fill="#34d399" stroke="#34d399" stroke-width="1.3" points="98.
|
|
72
|
+
<path fill="none" stroke="#34d399" stroke-width="1.3" d="M165.46,-249.97C152.97,-238.51 136.62,-223.03 123,-208.5 113.73,-198.61 104.04,-187.21 95.88,-177.27"/>
|
|
73
|
+
<polygon fill="#34d399" stroke="#34d399" stroke-width="1.3" points="98.16,-175.64 90.94,-171.2 93.81,-179.17 98.16,-175.64"/>
|
|
74
74
|
</g>
|
|
75
75
|
<!-- CASM -->
|
|
76
76
|
<g id="node6" class="node">
|
|
@@ -81,8 +81,8 @@
|
|
|
81
81
|
<!-- Prompt->CASM -->
|
|
82
82
|
<g id="edge5" class="edge">
|
|
83
83
|
<title>Prompt->CASM</title>
|
|
84
|
-
<path fill="none" stroke="#34d399" stroke-width="1.3" d="
|
|
85
|
-
<polygon fill="#34d399" stroke="#34d399" stroke-width="1.3" points="177.
|
|
84
|
+
<path fill="none" stroke="#34d399" stroke-width="1.3" d="M182.87,-250C180.59,-231.19 176.93,-201.06 174.28,-179.22"/>
|
|
85
|
+
<polygon fill="#34d399" stroke="#34d399" stroke-width="1.3" points="177.08,-179.1 173.34,-171.49 171.52,-179.77 177.08,-179.1"/>
|
|
86
86
|
</g>
|
|
87
87
|
<!-- NS -->
|
|
88
88
|
<g id="node11" class="node">
|
|
@@ -94,7 +94,7 @@
|
|
|
94
94
|
<!-- Prompt->NS -->
|
|
95
95
|
<g id="edge13" class="edge">
|
|
96
96
|
<title>Prompt->NS</title>
|
|
97
|
-
<path fill="none" stroke="#f59e0b" stroke-width="2" d="
|
|
97
|
+
<path fill="none" stroke="#f59e0b" stroke-width="2" d="M230.46,-249.96C239.47,-247.05 248.95,-244.37 258,-242.5 305.8,-232.62 662.85,-244.33 696,-208.5 721.13,-181.34 719.84,-153.54 696,-125.25 650.59,-71.37 473.25,-49.66 337.11,-40.91"/>
|
|
98
98
|
<polygon fill="#f59e0b" stroke="#f59e0b" stroke-width="2" points="337.32,-38.12 329.16,-40.41 336.97,-43.7 337.32,-38.12"/>
|
|
99
99
|
<text xml:space="preserve" text-anchor="middle" x="733.87" y="-147.95" font-family="sans-Serif" font-size="9.00" fill="#cbd5e1">direct call</text>
|
|
100
100
|
</g>
|
|
@@ -107,8 +107,8 @@
|
|
|
107
107
|
<!-- Preload->CMEM -->
|
|
108
108
|
<g id="edge6" class="edge">
|
|
109
109
|
<title>Preload->CMEM</title>
|
|
110
|
-
<path fill="none" stroke="#34d399" stroke-width="1.3" d="
|
|
111
|
-
<polygon fill="#34d399" stroke="#34d399" stroke-width="1.3" points="295.
|
|
110
|
+
<path fill="none" stroke="#34d399" stroke-width="1.3" d="M327.49,-250C318.23,-230.93 303.32,-200.24 292.67,-178.33"/>
|
|
111
|
+
<polygon fill="#34d399" stroke="#34d399" stroke-width="1.3" points="295.28,-177.28 289.26,-171.31 290.24,-179.73 295.28,-177.28"/>
|
|
112
112
|
</g>
|
|
113
113
|
<!-- CSESS -->
|
|
114
114
|
<g id="node8" class="node">
|
|
@@ -119,8 +119,8 @@
|
|
|
119
119
|
<!-- Preload->CSESS -->
|
|
120
120
|
<g id="edge7" class="edge">
|
|
121
121
|
<title>Preload->CSESS</title>
|
|
122
|
-
<path fill="none" stroke="#34d399" stroke-width="1.3" d="
|
|
123
|
-
<polygon fill="#34d399" stroke="#34d399" stroke-width="1.3" points="
|
|
122
|
+
<path fill="none" stroke="#34d399" stroke-width="1.3" d="M346.48,-250C357.94,-230.85 376.43,-199.96 389.56,-178.04"/>
|
|
123
|
+
<polygon fill="#34d399" stroke="#34d399" stroke-width="1.3" points="391.93,-179.53 393.64,-171.23 387.13,-176.65 391.93,-179.53"/>
|
|
124
124
|
</g>
|
|
125
125
|
<!-- CCRON -->
|
|
126
126
|
<g id="node9" class="node">
|
|
@@ -131,8 +131,8 @@
|
|
|
131
131
|
<!-- Hist->CCRON -->
|
|
132
132
|
<g id="edge8" class="edge">
|
|
133
133
|
<title>Hist->CCRON</title>
|
|
134
|
-
<path fill="none" stroke="#34d399" stroke-width="1.3" d="
|
|
135
|
-
<polygon fill="#34d399" stroke="#34d399" stroke-width="1.3" points="
|
|
134
|
+
<path fill="none" stroke="#34d399" stroke-width="1.3" d="M490.47,-250C496.37,-231.1 505.84,-200.78 512.67,-178.92"/>
|
|
135
|
+
<polygon fill="#34d399" stroke="#34d399" stroke-width="1.3" points="515.3,-179.89 515.01,-171.42 509.95,-178.22 515.3,-179.89"/>
|
|
136
136
|
</g>
|
|
137
137
|
<!-- CDEL -->
|
|
138
138
|
<g id="node10" class="node">
|
|
@@ -143,8 +143,8 @@
|
|
|
143
143
|
<!-- Hist->CDEL -->
|
|
144
144
|
<g id="edge9" class="edge">
|
|
145
145
|
<title>Hist->CDEL</title>
|
|
146
|
-
<path fill="none" stroke="#34d399" stroke-width="1.3" d="
|
|
147
|
-
<polygon fill="#34d399" stroke="#34d399" stroke-width="1.3" points="
|
|
146
|
+
<path fill="none" stroke="#34d399" stroke-width="1.3" d="M513.82,-249.96C531.63,-238.74 554.69,-223.52 574,-208.5 586.68,-198.64 599.96,-186.81 610.97,-176.55"/>
|
|
147
|
+
<polygon fill="#34d399" stroke="#34d399" stroke-width="1.3" points="612.86,-178.62 616.76,-171.09 609.01,-174.54 612.86,-178.62"/>
|
|
148
148
|
</g>
|
|
149
149
|
<!-- CAI->NS -->
|
|
150
150
|
<g id="edge10" class="edge">
|