pwn 0.5.615 → 0.5.618
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/README.md +109 -85
- data/README.md.bak +200 -0
- data/bin/pwn +47 -2
- data/bin/pwn_gqrx_scanner +75 -18
- data/documentation/AI-Integration.md +42 -26
- data/documentation/AWS.md +57 -0
- data/documentation/Agent-Tool-Registry.md +56 -0
- data/documentation/Banner.md +17 -0
- data/documentation/Blockchain.md +18 -0
- data/documentation/Bounty.md +21 -0
- data/documentation/BurpSuite.md +41 -16
- data/documentation/CLI-Drivers.md +58 -0
- data/documentation/Configuration.md +66 -0
- data/documentation/Contributing.md +33 -19
- data/documentation/Cron.md +47 -0
- data/documentation/Diagrams.md +123 -40
- data/documentation/Drivers.md +43 -16
- data/documentation/Extrospection.md +54 -0
- data/documentation/FFI.md +14 -0
- data/documentation/Fuzzing.md +36 -0
- data/documentation/General-PWN-Usage.md +50 -30
- data/documentation/Hardware.md +40 -0
- data/documentation/Home.md +78 -51
- data/documentation/How-PWN-Works.md +59 -57
- data/documentation/Installation.md +53 -28
- data/documentation/Metasploit.md +34 -0
- data/documentation/NmapIt.md +18 -12
- data/documentation/PWN.png +0 -0
- data/documentation/PWN_Contributors_and_Users.png +0 -0
- data/documentation/Persistence.md +38 -0
- data/documentation/Plugins.md +97 -47
- data/documentation/Reporting.md +25 -18
- data/documentation/SAST.md +39 -22
- data/documentation/SDR.md +40 -0
- data/documentation/Sessions.md +39 -0
- data/documentation/Skills-Memory-Learning.md +49 -29
- data/documentation/Swarm.md +71 -0
- data/documentation/Transparent-Browser.md +26 -22
- data/documentation/Troubleshooting.md +44 -25
- data/documentation/WWW.md +32 -0
- data/documentation/What-is-PWN.md +51 -32
- data/documentation/Why-PWN.md +41 -11
- data/documentation/diagrams/agent-tool-registry.svg +284 -0
- data/documentation/diagrams/ai-integration-tool-calling.svg +141 -103
- data/documentation/diagrams/aws-cloud-security.svg +166 -0
- data/documentation/diagrams/build.sh +20 -0
- data/documentation/diagrams/burp-vs-zap-preference.svg +47 -62
- data/documentation/diagrams/code-scanning-sast.svg +139 -79
- data/documentation/diagrams/cron-scheduling.svg +148 -0
- data/documentation/diagrams/dot/_THEME.md +27 -0
- data/documentation/diagrams/dot/agent-tool-registry.dot +59 -0
- data/documentation/diagrams/dot/ai-integration-tool-calling.dot +47 -20
- data/documentation/diagrams/dot/aws-cloud-security.dot +48 -0
- data/documentation/diagrams/dot/burp-vs-zap-preference.dot +23 -12
- data/documentation/diagrams/dot/code-scanning-sast.dot +46 -18
- data/documentation/diagrams/dot/cron-scheduling.dot +40 -0
- data/documentation/diagrams/dot/driver-framework.dot +36 -14
- data/documentation/diagrams/dot/extrospection-world-awareness.dot +55 -0
- data/documentation/diagrams/dot/fuzzing-workflow.dot +44 -24
- data/documentation/diagrams/dot/hardware-hacking.dot +48 -0
- data/documentation/diagrams/dot/history-to-drivers.dot +31 -17
- data/documentation/diagrams/dot/memory-skills-detailed.dot +57 -25
- data/documentation/diagrams/dot/network-infra-testing.dot +51 -19
- data/documentation/diagrams/dot/overall-pwn-architecture.dot +110 -44
- data/documentation/diagrams/dot/penetration-testing-workflow.dot +56 -25
- data/documentation/diagrams/dot/persistence-filesystem.dot +29 -0
- data/documentation/diagrams/dot/plugin-ecosystem.dot +41 -27
- data/documentation/diagrams/dot/pwn-ai-feedback-learning-loop.dot +87 -46
- data/documentation/diagrams/dot/pwn-repl-prototyping.dot +49 -30
- data/documentation/diagrams/dot/reporting-pipeline.dot +43 -14
- data/documentation/diagrams/dot/reverse-engineering-flow.dot +40 -18
- data/documentation/diagrams/dot/sdr-radio-flow.dot +45 -0
- data/documentation/diagrams/dot/sessions-cron-automation.dot +41 -14
- data/documentation/diagrams/dot/swarm-multi-agent.dot +70 -0
- data/documentation/diagrams/dot/web-application-testing.dot +45 -23
- data/documentation/diagrams/dot/zero-day-research-flow.dot +46 -24
- data/documentation/diagrams/driver-framework.svg +87 -66
- data/documentation/diagrams/extrospection-world-awareness.svg +185 -0
- data/documentation/diagrams/fuzzing-workflow.svg +128 -115
- data/documentation/diagrams/hardware-hacking.svg +163 -0
- data/documentation/diagrams/history-to-drivers.svg +84 -82
- data/documentation/diagrams/memory-skills-detailed.svg +167 -119
- data/documentation/diagrams/network-infra-testing.svg +146 -84
- data/documentation/diagrams/overall-pwn-architecture.svg +356 -185
- data/documentation/diagrams/penetration-testing-workflow.svg +161 -108
- data/documentation/diagrams/persistence-filesystem.svg +174 -0
- data/documentation/diagrams/plugin-ecosystem.svg +225 -121
- data/documentation/diagrams/pwn-ai-feedback-learning-loop.svg +257 -185
- data/documentation/diagrams/pwn-repl-prototyping.svg +126 -137
- data/documentation/diagrams/reporting-pipeline.svg +128 -68
- data/documentation/diagrams/reverse-engineering-flow.svg +100 -80
- data/documentation/diagrams/sdr-radio-flow.svg +146 -0
- data/documentation/diagrams/sessions-cron-automation.svg +112 -68
- data/documentation/diagrams/swarm-multi-agent.svg +225 -0
- data/documentation/diagrams/web-application-testing.svg +136 -100
- data/documentation/diagrams/zero-day-research-flow.svg +116 -112
- data/documentation/fax-spectrogram.png +0 -0
- data/documentation/fax-waveform.png +0 -0
- data/documentation/pwn-REPL.md +40 -24
- data/documentation/pwn-ai-Agent.md +59 -30
- data/documentation/pwn_android_war_dialer_session.png +0 -0
- data/documentation/pwn_install.png +0 -0
- data/documentation/pwn_wallpaper.jpg +0 -0
- data/documentation/ringing-spectrogram.png +0 -0
- data/documentation/ringing-waveform.png +0 -0
- data/git_commit.sh +1 -1
- data/lib/pwn/ai/agent/assembly.rb +1 -1
- data/lib/pwn/ai/agent/btc.rb +1 -1
- data/lib/pwn/ai/agent/burp_suite.rb +1 -1
- data/lib/pwn/ai/agent/extrospection.rb +618 -0
- data/lib/pwn/ai/agent/gqrx.rb +2 -2
- data/lib/pwn/ai/agent/hacker_one.rb +1 -1
- data/lib/pwn/ai/agent/introspection.rb +91 -0
- data/lib/pwn/ai/agent/learning.rb +6 -4
- data/lib/pwn/ai/agent/loop.rb +15 -0
- data/lib/pwn/ai/agent/prompt_builder.rb +10 -1
- data/lib/pwn/ai/agent/sast.rb +1 -1
- data/lib/pwn/ai/agent/swarm.rb +437 -0
- data/lib/pwn/ai/agent/tools/cron.rb +163 -0
- data/lib/pwn/ai/agent/tools/extrospection.rb +280 -0
- data/lib/pwn/ai/agent/tools/learning.rb +108 -0
- data/lib/pwn/ai/agent/tools/memory.rb +27 -0
- data/lib/pwn/ai/agent/tools/metrics.rb +61 -0
- data/lib/pwn/ai/agent/tools/sessions.rb +139 -0
- data/lib/pwn/ai/agent/tools/skills.rb +30 -0
- data/lib/pwn/ai/agent/tools/swarm.rb +229 -0
- data/lib/pwn/ai/agent/transparent_browser.rb +1 -1
- data/lib/pwn/ai/agent/vuln_gen.rb +2 -2
- data/lib/pwn/ai/agent.rb +3 -0
- data/lib/pwn/ai/anthropic.rb +19 -4
- data/lib/pwn/ai.rb +0 -1
- data/lib/pwn/config.rb +10 -23
- data/lib/pwn/cron.rb +16 -7
- data/lib/pwn/plugins/repl.rb +90 -281
- data/lib/pwn/sdr/decoder/base.rb +251 -0
- data/lib/pwn/sdr/decoder/gsm.rb +84 -185
- data/lib/pwn/sdr/decoder/pocsag.rb +62 -217
- data/lib/pwn/sdr/decoder.rb +1 -0
- data/lib/pwn/sdr/gqrx.rb +446 -65
- data/lib/pwn/version.rb +1 -1
- data/spec/lib/pwn/ai/agent/extrospection_spec.rb +15 -0
- data/spec/lib/pwn/ai/agent/introspection_spec.rb +15 -0
- data/spec/lib/pwn/ai/agent/swarm_spec.rb +34 -0
- data/spec/lib/pwn/ai/agent/tools/cron_spec.rb +40 -0
- data/spec/lib/pwn/ai/agent/tools/extrospection_spec.rb +40 -0
- data/spec/lib/pwn/ai/agent/tools/metrics_spec.rb +20 -0
- data/spec/lib/pwn/ai/agent/tools/sessions_spec.rb +35 -0
- data/spec/lib/pwn/ai/agent/tools/swarm_spec.rb +17 -0
- data/spec/lib/pwn/{ai/introspection_spec.rb → sdr/decoder/base_spec.rb} +3 -3
- data/third_party/pwn_rdoc.jsonl +199 -37
- metadata +65 -3
- data/lib/pwn/ai/introspection.rb +0 -76
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 6d2c26dca00a6c45a763df37f813f0d789098ed87f8b7c5296dca5a7a72d4281
|
|
4
|
+
data.tar.gz: fc40bc082f3d549efd2cef1fbb11807a53b416caf2a8190769818f681cc600dd
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f0269c36ff988d1817214345cf77c347a8c1f22104ba822b6982aa4fe6318086e69793f42a5d563bb061ec543cf7a5bb99877649f7f1554c8d6a182ab281356a
|
|
7
|
+
data.tar.gz: 269676fd1f2dbd6f5f78c3e645d0d4675df08d681b7db21d49c7937fc121bd1b74dfbd4f82b1a049c9e6f4579ed7e2d697403f28c45312dffbc29b6557cbb16a
|
data/README.md
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* [What is PWN](#what-is-pwn)
|
|
7
7
|
* [Why PWN](#why-pwn)
|
|
8
8
|
* [How PWN Works](#how-pwn-works)
|
|
9
|
-
- [
|
|
9
|
+
- [Documentation](#documentation)
|
|
10
10
|
- [Installation](#installation)
|
|
11
11
|
- [General Usage](#general-usage)
|
|
12
12
|
- [Call to Arms](#call-to-arms)
|
|
@@ -14,79 +14,84 @@
|
|
|
14
14
|
- [Keep Us Caffeinated](#keep-us-caffeinated)
|
|
15
15
|
- [0x004D65726368](#0x004d65726368)
|
|
16
16
|
|
|
17
|
+
---
|
|
18
|
+
|
|
17
19
|
### **Intro** ###
|
|
18
20
|
|
|
19
21
|
#### **What is PWN** ####
|
|
20
22
|
|
|
21
|
-
PWN (
|
|
23
|
+
PWN (pronounced /pōn/ — *pone*) is an open-source **offensive-security
|
|
24
|
+
automation framework** and **continuous-security-integration** platform.
|
|
25
|
+
It gives security researchers, red teamers, penetration testers and
|
|
26
|
+
vulnerability researchers a single, scriptable Ruby surface over the entire
|
|
27
|
+
offensive toolchain — from OSINT and network discovery, through web / cloud /
|
|
28
|
+
hardware / radio exploitation, to reporting and disclosure — and puts a
|
|
29
|
+
**self-improving, tool-calling, multi-agent AI** on top of it.
|
|
22
30
|
|
|
23
|
-
|
|
31
|
+
**In numbers:** 66 `PWN::Plugins` · 48 `PWN::SAST` rules · 90 `PWN::AWS`
|
|
32
|
+
service wrappers · 21 `PWN::WWW` site drivers · 52 `bin/pwn_*` CLI drivers ·
|
|
33
|
+
5 LLM engines · 10 agent toolsets · 45+ LLM-callable tools.
|
|
24
34
|
|
|
25
|
-
|
|
35
|
+
Full page: [What is PWN](documentation/What-is-PWN.md)
|
|
26
36
|
|
|
27
37
|
#### **Why PWN** ####
|
|
28
38
|
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
39
|
+
Offensive security is a *toolchain problem*. PWN's bet is that the right
|
|
40
|
+
abstraction is **plain Ruby methods with a uniform `opts = {}` signature**,
|
|
41
|
+
exposed simultaneously to a human in a REPL, an LLM in a tool-calling loop, a
|
|
42
|
+
shell script in CI, and a cron job at 3 am — all open-source and auditable,
|
|
43
|
+
which matters when the caller is autonomous.
|
|
32
44
|
|
|
33
|
-
|
|
45
|
+
Full page: [Why PWN](documentation/Why-PWN.md)
|
|
34
46
|
|
|
35
47
|
#### **How PWN Works** ####
|
|
36
48
|
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
The core of pwn-ai is a closed feedback loop for autonomous improvement:
|
|
40
|
-
|
|
41
|
-

|
|
42
|
-
|
|
43
|
-
See full details in [Skills, Memory & Learning](documentation/Skills-Memory-Learning.md) and the [Diagrams](documentation/Diagrams.md) wiki page.
|
|
49
|
+
Five layers, edges only ever go down:
|
|
44
50
|
|
|
51
|
+

|
|
45
52
|
|
|
46
|
-
|
|
53
|
+
The AI layer closes a **self-improvement loop** on every turn — Metrics +
|
|
54
|
+
Learning (introspection) joined with Snapshot + Drift + Intel (extrospection)
|
|
55
|
+
via `extro_correlate`, so the agent knows whether a failure was *its* fault or
|
|
56
|
+
*the world* changed:
|
|
47
57
|
|
|
48
|
-
-
|
|
49
|
-
- `PWN::AI::*` — Multi-provider LLM clients (OpenAI, Anthropic, Gemini, [Grok OAuth device flow](documentation/AI-Integration.md), Ollama) and autonomous `PWN::AI::Agent` with tool-calling harness (`pwn_eval` for full PWN namespace, shell execution, skills, memory recall/remember, learning loops).
|
|
50
|
-
- `PWN::SAST` — Static application security testing and test case generation. See [SAST Wiki](documentation/SAST.md).
|
|
51
|
-
- `PWN::Reports` — Automated reporting from scans, agents, and findings. See [Reporting](documentation/Reporting.md).
|
|
52
|
-
- `PWN::Memory / Sessions / Cron / Skills / Config` — Persistent facts, conversation sessions, scheduled autonomous tasks, reusable markdown skills (distillable from successful workflows), and environment management. See [Skills, Memory & Learning](documentation/Skills-Memory-Learning.md).
|
|
53
|
-
- `PWN::Driver` — Framework for building custom security automation packages ("drivers"). See [Drivers](documentation/Drivers.md).
|
|
58
|
+

|
|
54
59
|
|
|
55
|
-
|
|
60
|
+
And **Swarm** runs multiple personas — each a full tool-calling agent,
|
|
61
|
+
optionally on a *different* LLM engine — over a shared append-only bus:
|
|
56
62
|
|
|
57
|
-
|
|
58
|
-
- Activates an autonomous AI agent TUI with multi-line input support (use SHIFT+ENTER to insert newlines; ENTER submits the full prompt).
|
|
59
|
-
- Full awareness of PWN plugins, skills (`~/.pwn/skills`), memory, sessions, and cron.
|
|
60
|
-
- Leverages LLM tool-calling to execute PWN methods (e.g., `PWN::Plugins::BurpSuite`, `PWN::Plugins::NmapIt`, `PWN::Plugins::TransparentBrowser`, `PWN::SAST`, `PWN::Reports`), shell commands, and orchestrate end-to-end tasks.
|
|
61
|
-
- Supports self-improvement via `PWN::AI::Agent::Learning` / Metrics (records per-tool success/duration, distills skills from outcomes).
|
|
62
|
-
- Example instruction: "Use NmapIt to scan target.example.com for open ports, then TransparentBrowser to spider the web app, run SAST analysis if source is available, proxy via BurpSuite, and generate a vulnerability report with PWN::Reports."
|
|
63
|
-
- Additional REPL commands: `pwn-asm` (assembly prototyping with multiline), `pwn-ai-memory`, `pwn-ai-sessions`, `pwn-ai-cron`, `pwn-ai-delegate`, `welcome-banner`, etc.
|
|
64
|
-
- Easily prototype and roll out custom "drivers" (see `/opt/pwn/bin/` examples).
|
|
63
|
+

|
|
65
64
|
|
|
66
|
-
|
|
65
|
+
Full pages: [How PWN Works](documentation/How-PWN-Works.md) ·
|
|
66
|
+
[All 26 Data-Flow Diagrams](documentation/Diagrams.md)
|
|
67
67
|
|
|
68
|
-
|
|
68
|
+
---
|
|
69
69
|
|
|
70
|
-
|
|
70
|
+
### **Documentation** ###
|
|
71
71
|
|
|
72
|
-
|
|
72
|
+
The complete wiki lives in this repo at **[`documentation/Home.md`](documentation/Home.md)**.
|
|
73
73
|
|
|
74
|
-
|
|
74
|
+
| Start Here | Entry Points | AI Subsystem | Capabilities |
|
|
75
|
+
|---|---|---|---|
|
|
76
|
+
| [What is PWN](documentation/What-is-PWN.md) | [`pwn` REPL](documentation/pwn-REPL.md) | [AI / LLM Integration](documentation/AI-Integration.md) | [Plugins (66)](documentation/Plugins.md) |
|
|
77
|
+
| [Why PWN](documentation/Why-PWN.md) | [`pwn-ai` Agent](documentation/pwn-ai-Agent.md) | [Agent Tool Registry](documentation/Agent-Tool-Registry.md) | [SAST (48)](documentation/SAST.md) |
|
|
78
|
+
| [How PWN Works](documentation/How-PWN-Works.md) | [CLI Drivers (52)](documentation/CLI-Drivers.md) | [Memory · Skills · Learning](documentation/Skills-Memory-Learning.md) | [AWS (90)](documentation/AWS.md) |
|
|
79
|
+
| [Installation](documentation/Installation.md) | [Build a Driver](documentation/Drivers.md) | [Extrospection](documentation/Extrospection.md) | [WWW (21)](documentation/WWW.md) |
|
|
80
|
+
| [General Usage](documentation/General-PWN-Usage.md) | | [Swarm (multi-agent)](documentation/Swarm.md) | [SDR / Radio](documentation/SDR.md) |
|
|
81
|
+
| [Configuration](documentation/Configuration.md) | | [Sessions](documentation/Sessions.md) · [Cron](documentation/Cron.md) | [Reports](documentation/Reporting.md) |
|
|
82
|
+
| [`~/.pwn/` Persistence](documentation/Persistence.md) | | | [BurpSuite](documentation/BurpSuite.md) · [NmapIt](documentation/NmapIt.md) |
|
|
83
|
+
| **[All Diagrams](documentation/Diagrams.md)** | | | [Metasploit](documentation/Metasploit.md) · [Fuzzing](documentation/Fuzzing.md) |
|
|
84
|
+
| [Troubleshooting](documentation/Troubleshooting.md) | | | [Hardware](documentation/Hardware.md) · [Blockchain](documentation/Blockchain.md) |
|
|
85
|
+
| [Contributing](documentation/Contributing.md) | | | [Bounty](documentation/Bounty.md) · [FFI](documentation/FFI.md) · [Banner](documentation/Banner.md) |
|
|
75
86
|
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
- [Installation](documentation/Installation.md)
|
|
79
|
-
- [pwn-ai Agent](documentation/pwn-ai-Agent.md)
|
|
80
|
-
- [Plugins](documentation/Plugins.md)
|
|
81
|
-
- [AI Integration](documentation/AI-Integration.md)
|
|
82
|
-
- [Troubleshooting](documentation/Troubleshooting.md)
|
|
83
|
-
- ...and many more
|
|
87
|
+
Rebuild every SVG from its Graphviz source:
|
|
88
|
+
`cd documentation/diagrams && ./build.sh`
|
|
84
89
|
|
|
85
|
-
|
|
90
|
+
---
|
|
86
91
|
|
|
87
92
|
### **Installation** ###
|
|
88
93
|
|
|
89
|
-
Tested on Debian-
|
|
94
|
+
Tested on Debian-based Linux & macOS, Ruby via RVM.
|
|
90
95
|
|
|
91
96
|
```
|
|
92
97
|
$ cd /opt
|
|
@@ -95,20 +100,23 @@ $ cd /opt/pwn
|
|
|
95
100
|
$ ./install.sh
|
|
96
101
|
$ ./install.sh ruby-gem
|
|
97
102
|
$ pwn
|
|
98
|
-
pwn[v0.5.
|
|
103
|
+
pwn[v0.5.616]:001 >>> PWN.help
|
|
99
104
|
```
|
|
100
105
|
|
|
101
106
|
[](https://youtu.be/G7iLUY4FzsI)
|
|
102
107
|
|
|
103
|
-
|
|
108
|
+
Full page: [Installation](documentation/Installation.md) ·
|
|
109
|
+
[Configuration](documentation/Configuration.md)
|
|
104
110
|
|
|
105
|
-
|
|
111
|
+
---
|
|
106
112
|
|
|
107
|
-
|
|
113
|
+
### **General Usage** ###
|
|
108
114
|
|
|
109
|
-
|
|
115
|
+
[General Usage Quick-Start](https://github.com/0dayinc/pwn/wiki/General-PWN-Usage) ·
|
|
116
|
+
local: [General PWN Usage](documentation/General-PWN-Usage.md)
|
|
110
117
|
|
|
111
|
-
|
|
118
|
+
Update PWN frequently — new plugins, agent tools, skills and zero-day tooling
|
|
119
|
+
land regularly:
|
|
112
120
|
|
|
113
121
|
```
|
|
114
122
|
$ rvm list gemsets
|
|
@@ -116,71 +124,87 @@ $ rvm use ruby-4.0.5@pwn
|
|
|
116
124
|
$ gem uninstall --all --executables pwn
|
|
117
125
|
$ gem install --verbose pwn
|
|
118
126
|
$ pwn
|
|
119
|
-
pwn[v0.5.
|
|
127
|
+
pwn[v0.5.616]:001 >>> PWN.help
|
|
120
128
|
```
|
|
121
129
|
|
|
122
|
-
If using a multi-user install
|
|
130
|
+
If using a multi-user RVM install:
|
|
123
131
|
|
|
124
132
|
```
|
|
125
|
-
$ rvm list gemsets
|
|
126
133
|
$ rvm use ruby-4.0.5@pwn
|
|
127
134
|
$ rvmsudo gem uninstall --all --executables pwn
|
|
128
135
|
$ rvmsudo gem install --verbose pwn
|
|
129
|
-
$ pwn
|
|
130
|
-
pwn[v0.5.615]:001 >>> PWN.help
|
|
131
136
|
```
|
|
132
137
|
|
|
133
|
-
**Inside the pwn REPL
|
|
134
|
-
- Full access to every PWN
|
|
135
|
-
- `
|
|
136
|
-
- `pwn-ai`
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
PWN periodically upgrades to the latest
|
|
138
|
+
**Inside the `pwn` REPL:**
|
|
139
|
+
- Full access to every `PWN::` module.
|
|
140
|
+
- `pwn-ai` — launch the autonomous agent TUI (SHIFT+ENTER newline, ENTER submit).
|
|
141
|
+
- `pwn-asm`, `pwn-ai-memory`, `pwn-ai-sessions`, `pwn-ai-cron`, `pwn-ai-delegate`.
|
|
142
|
+
|
|
143
|
+
**Headless / CI one-shot (`pwn --ai`):**
|
|
144
|
+
|
|
145
|
+
```
|
|
146
|
+
$ pwn --ai 'What ports are listening on this host?'
|
|
147
|
+
$ echo "$LONG_PROMPT" | pwn --ai -
|
|
148
|
+
$ pwn -Y ./ci/pwn.yaml --ai 'Run pwn_sast against ./src and summarise HIGH findings' > findings.txt
|
|
149
|
+
```
|
|
150
|
+
|
|
151
|
+
PWN periodically upgrades to the latest Ruby (`/opt/pwn/.ruby-version`).
|
|
152
|
+
Easiest upgrade of Ruby + pwn from a previous install:
|
|
147
153
|
|
|
148
154
|
```
|
|
149
155
|
$ /opt/pwn/vagrant/provisioners/pwn.sh
|
|
150
156
|
```
|
|
151
157
|
|
|
152
|
-
|
|
158
|
+
---
|
|
153
159
|
|
|
154
160
|
### **Call to Arms** ###
|
|
155
161
|
|
|
156
|
-
Contributions that expand PWN's offensive capabilities are welcome. If you can
|
|
162
|
+
Contributions that expand PWN's offensive capabilities are welcome. If you can
|
|
163
|
+
provide access to additional commercial LLMs, security scanners, or bounty
|
|
164
|
+
platforms — or wish to contribute plugins, AI skills, or exploit modules —
|
|
165
|
+
please [email us](mailto:support@0dayinc.com). See
|
|
166
|
+
[CONTRIBUTING.md](https://github.com/0dayInc/pwn/blob/master/CONTRIBUTING.md)
|
|
167
|
+
and the local [Contributing](documentation/Contributing.md) page.
|
|
157
168
|
|
|
158
|
-
|
|
169
|
+
---
|
|
159
170
|
|
|
160
171
|
### **Module Documentation** ###
|
|
161
172
|
|
|
162
|
-
**Primary
|
|
173
|
+
**Primary:** [`documentation/Home.md`](documentation/Home.md) — the full local
|
|
174
|
+
wiki with 30+ pages and 26 SVG data-flow diagrams.
|
|
163
175
|
|
|
164
|
-
|
|
176
|
+
**API reference:** [rubydoc.info/gems/pwn](https://www.rubydoc.info/gems/pwn),
|
|
177
|
+
or in-REPL: `PWN::Plugins::BurpSuite.help`, `show-source`, `ls`.
|
|
165
178
|
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
-
|
|
171
|
-
|
|
179
|
+
Highlights:
|
|
180
|
+
[Plugins](documentation/Plugins.md) ·
|
|
181
|
+
[BurpSuite](documentation/BurpSuite.md) ·
|
|
182
|
+
[Transparent-Browser](documentation/Transparent-Browser.md) ·
|
|
183
|
+
[pwn-ai Agent](documentation/pwn-ai-Agent.md) ·
|
|
184
|
+
[Swarm](documentation/Swarm.md) ·
|
|
185
|
+
[Extrospection](documentation/Extrospection.md) ·
|
|
186
|
+
[SAST](documentation/SAST.md) ·
|
|
187
|
+
[AI Integration](documentation/AI-Integration.md)
|
|
172
188
|
|
|
173
|
-
I hope you enjoy PWN and remember
|
|
189
|
+
I hope you enjoy PWN — and remember: **always have permission** before any
|
|
190
|
+
security testing. Now go pwn all the things (responsibly)!
|
|
174
191
|
|
|
175
|
-
|
|
192
|
+
---
|
|
176
193
|
|
|
194
|
+
### **Keep Us Caffeinated** ###
|
|
177
195
|
If you've found this project useful and you're interested in supporting our efforts, we invite you to take a brief moment to keep us caffeinated:
|
|
178
196
|
|
|
179
197
|
[](https://buymeacoff.ee/0dayinc)
|
|
180
198
|
|
|
199
|
+
|
|
181
200
|
### [**0x004D65726368**](https://0day.myspreadshop.com/) ###
|
|
182
201
|
|
|
183
202
|
[](https://0day.myspreadshop.com/stickers)
|
|
184
203
|
|
|
185
|
-
|
|
204
|
+
[](https://0day.myspreadshop.com/accessories+mugs+%26+drinkware)
|
|
205
|
+
|
|
206
|
+
[](https://0day.myspreadshop.com/accessories)
|
|
207
|
+
|
|
208
|
+
[](https://shop.spreadshirt.com/0day/0dayinc-A5c3e498cf937643162a01b5f?productType=951&appearance=70)
|
|
186
209
|
|
|
210
|
+
[](https://shop.spreadshirt.com/0day/blackfingerprint-A5c3e49db1cbf3a0b9596b4d0?productType=111&appearance=2)
|
data/README.md.bak
ADDED
|
@@ -0,0 +1,200 @@
|
|
|
1
|
+

|
|
2
|
+
|
|
3
|
+
### **Table of Contents** ###
|
|
4
|
+
|
|
5
|
+
- [Intro](#intro)
|
|
6
|
+
* [What is PWN](#what-is-pwn)
|
|
7
|
+
* [Why PWN](#why-pwn)
|
|
8
|
+
* [How PWN Works](#how-pwn-works)
|
|
9
|
+
- [[Local PWN Wiki](documentation/Home.md)
|
|
10
|
+
- [Installation](#installation)
|
|
11
|
+
- [General Usage](#general-usage)
|
|
12
|
+
- [Call to Arms](#call-to-arms)
|
|
13
|
+
- [Module Documentation](#module-documentation)
|
|
14
|
+
- [Keep Us Caffeinated](#keep-us-caffeinated)
|
|
15
|
+
- [0x004D65726368](#0x004d65726368)
|
|
16
|
+
|
|
17
|
+
### **Intro** ###
|
|
18
|
+
|
|
19
|
+
#### **What is PWN** ####
|
|
20
|
+
|
|
21
|
+
PWN (Pronounced /pōn/ or pone), is a powerful open-source offensive cybersecurity automation framework and continuous security integration platform. It enables security researchers, red teamers, penetration testers, and vulnerability researchers to rapidly discover zero-days, automate exploitation, perform advanced web application testing, conduct source code analysis (SAST), orchestrate infrastructure reconnaissance, and execute AI-augmented autonomous security operations.
|
|
22
|
+
|
|
23
|
+
PWN stands on the shoulders of security giants, providing over **66** production-grade plugins, full LLM integration with tool-calling agents, persistent memory, reusable skills, session/cron management, and a highly interactive REPL for prototyping and driving complex security workflows. All core automation primitives are open to promote trust, peer review, and collaborative innovation in adversarial security.
|
|
24
|
+
|
|
25
|
+
**See the full [PWN Wiki](documentation/Home.md) for detailed guides.**
|
|
26
|
+
|
|
27
|
+
#### **Why PWN** ####
|
|
28
|
+
|
|
29
|
+
In cybersecurity, where proprietary black-box tools dominate and threats evolve daily, an open framework for core security primitives, vulnerability research, exploitation techniques, and intelligent automation is essential. PWN ensures foundational modules remain transparent and auditable while providing seamless bridges to commercial and open security tools (e.g. Burp Suite Professional, Metasploit, Nmap, Nessus, and multiple LLMs).
|
|
30
|
+
|
|
31
|
+
Broad collaboration accelerates zero-day discovery, reliable exploit development, continuous vulnerability management in CI/CD pipelines, and the creation of reusable AI-driven security skills. PWN makes advanced red team and vuln research capabilities accessible and extensible to all.
|
|
32
|
+
|
|
33
|
+
See [Why PWN](documentation/Why-PWN.md) in the wiki.
|
|
34
|
+
|
|
35
|
+
#### **How PWN Works** ####
|
|
36
|
+
|
|
37
|
+
#### **PWN AI Feedback Learning Loop (Self-Improving Agent)**
|
|
38
|
+
|
|
39
|
+
The core of pwn-ai is a closed feedback loop for autonomous improvement:
|
|
40
|
+
|
|
41
|
+

|
|
42
|
+
|
|
43
|
+
See full details in [Skills, Memory & Learning](documentation/Skills-Memory-Learning.md) and the [Diagrams](documentation/Diagrams.md) wiki page.
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
PWN is structured as a Ruby gem with a rich namespace:
|
|
47
|
+
|
|
48
|
+
- `PWN::Plugins::*` — **66+** specialized modules ([BurpSuite](documentation/BurpSuite.md) [preferred for web proxying/scanning], [Zaproxy](documentation/Plugins.md) [fallback], [Metasploit](documentation/Plugins.md), [NmapIt](documentation/NmapIt.md), [TransparentBrowser](documentation/Transparent-Browser.md), Shodan, NessusCloud, NexposeVulnScan, Fuzz, SAST engines, Android analysis, SDR/GQRX, Blockchain, Bounty platforms like HackerOne, hardware interfaces, OCR, packet crafting, etc.).
|
|
49
|
+
- `PWN::AI::*` — Multi-provider LLM clients (OpenAI, Anthropic, Gemini, [Grok OAuth device flow](documentation/AI-Integration.md), Ollama) and autonomous `PWN::AI::Agent` with tool-calling harness (`pwn_eval` for full PWN namespace, shell execution, skills, memory recall/remember, learning loops).
|
|
50
|
+
- `PWN::SAST` — Static application security testing and test case generation. See [SAST Wiki](documentation/SAST.md).
|
|
51
|
+
- `PWN::Reports` — Automated reporting from scans, agents, and findings. See [Reporting](documentation/Reporting.md).
|
|
52
|
+
- `PWN::Memory / Sessions / Cron / Skills / Config` — Persistent facts, conversation sessions, scheduled autonomous tasks, reusable markdown skills (distillable from successful workflows), and environment management. See [Skills, Memory & Learning](documentation/Skills-Memory-Learning.md).
|
|
53
|
+
- `PWN::Driver` — Framework for building custom security automation packages ("drivers"). See [Drivers](documentation/Drivers.md).
|
|
54
|
+
|
|
55
|
+
The **pwn REPL** (launched via the `pwn` command) is the primary interface: a Pry-powered interactive shell with the entire `PWN` namespace pre-loaded. It supports rapid prototyping, direct execution of any plugin method, and custom commands.
|
|
56
|
+
|
|
57
|
+
**Particularly powerful is the `pwn-ai` command** inside the REPL:
|
|
58
|
+
- Activates an autonomous AI agent TUI with multi-line input support (use SHIFT+ENTER to insert newlines; ENTER submits the full prompt).
|
|
59
|
+
- Full awareness of PWN plugins, skills (`~/.pwn/skills`), memory, sessions, and cron.
|
|
60
|
+
- Leverages LLM tool-calling to execute PWN methods (e.g., `PWN::Plugins::BurpSuite`, `PWN::Plugins::NmapIt`, `PWN::Plugins::TransparentBrowser`, `PWN::SAST`, `PWN::Reports`), shell commands, and orchestrate end-to-end tasks.
|
|
61
|
+
- Supports self-improvement via `PWN::AI::Agent::Learning` / Metrics (records per-tool success/duration, distills skills from outcomes).
|
|
62
|
+
- Example instruction: "Use NmapIt to scan target.example.com for open ports, then TransparentBrowser to spider the web app, run SAST analysis if source is available, proxy via BurpSuite, and generate a vulnerability report with PWN::Reports."
|
|
63
|
+
- Additional REPL commands: `pwn-asm` (assembly prototyping with multiline), `pwn-ai-memory`, `pwn-ai-sessions`, `pwn-ai-cron`, `pwn-ai-delegate`, `welcome-banner`, etc.
|
|
64
|
+
- Easily prototype and roll out custom "drivers" (see `/opt/pwn/bin/` examples).
|
|
65
|
+
|
|
66
|
+
Mix and match plugins, invoke via the REPL or `pwn-ai` agent, record/replay sessions, schedule autonomous jobs, and generate reports. PWN is designed for both interactive red teaming and headless/CI automation.
|
|
67
|
+
|
|
68
|
+
Here are some [example drivers](https://github.com/0dayInc/pwn/tree/master/bin) distributed with PWN.
|
|
69
|
+
|
|
70
|
+
#### **Local PWN Wiki** ####
|
|
71
|
+
|
|
72
|
+
A full local wiki has been generated in this checkout:
|
|
73
|
+
|
|
74
|
+
**`/opt/pwn/documentation/Home.md`**
|
|
75
|
+
|
|
76
|
+
- [Home](documentation/Home.md)
|
|
77
|
+
- [What is PWN](documentation/What-is-PWN.md)
|
|
78
|
+
- [Installation](documentation/Installation.md)
|
|
79
|
+
- [pwn-ai Agent](documentation/pwn-ai-Agent.md)
|
|
80
|
+
- [Plugins](documentation/Plugins.md)
|
|
81
|
+
- [AI Integration](documentation/AI-Integration.md)
|
|
82
|
+
- [Troubleshooting](documentation/Troubleshooting.md)
|
|
83
|
+
- ...and many more
|
|
84
|
+
|
|
85
|
+
Run `cat /opt/pwn/documentation/Home.md` or open in your editor for the complete local documentation.
|
|
86
|
+
|
|
87
|
+
### **Installation** ###
|
|
88
|
+
|
|
89
|
+
Tested on Debian-Based Linux Distros & OSX leveraging Ruby via RVM.
|
|
90
|
+
|
|
91
|
+
```
|
|
92
|
+
$ cd /opt
|
|
93
|
+
$ sudo git clone https://github.com/0dayinc/pwn
|
|
94
|
+
$ cd /opt/pwn
|
|
95
|
+
$ ./install.sh
|
|
96
|
+
$ ./install.sh ruby-gem
|
|
97
|
+
$ pwn
|
|
98
|
+
pwn[v0.5.617]:001 >>> PWN.help
|
|
99
|
+
```
|
|
100
|
+
|
|
101
|
+
[](https://youtu.be/G7iLUY4FzsI)
|
|
102
|
+
|
|
103
|
+
See the dedicated [Installation Wiki](documentation/Installation.md) for more options.
|
|
104
|
+
|
|
105
|
+
### **General Usage** ###
|
|
106
|
+
|
|
107
|
+
[General Usage Quick-Start](https://github.com/0dayinc/pwn/wiki/General-PWN-Usage)
|
|
108
|
+
|
|
109
|
+
Detailed local guide: [General PWN Usage](documentation/General-PWN-Usage.md)
|
|
110
|
+
|
|
111
|
+
It is strongly recommended to update PWN frequently as new capabilities (plugins, AI agents, skills, zero-day tooling) are released regularly:
|
|
112
|
+
|
|
113
|
+
```
|
|
114
|
+
$ rvm list gemsets
|
|
115
|
+
$ rvm use ruby-4.0.5@pwn
|
|
116
|
+
$ gem uninstall --all --executables pwn
|
|
117
|
+
$ gem install --verbose pwn
|
|
118
|
+
$ pwn
|
|
119
|
+
pwn[v0.5.617]:001 >>> PWN.help
|
|
120
|
+
```
|
|
121
|
+
|
|
122
|
+
If using a multi-user install of RVM:
|
|
123
|
+
|
|
124
|
+
```
|
|
125
|
+
$ rvm list gemsets
|
|
126
|
+
$ rvm use ruby-4.0.5@pwn
|
|
127
|
+
$ rvmsudo gem uninstall --all --executables pwn
|
|
128
|
+
$ rvmsudo gem install --verbose pwn
|
|
129
|
+
$ pwn
|
|
130
|
+
pwn[v0.5.617]:001 >>> PWN.help
|
|
131
|
+
```
|
|
132
|
+
|
|
133
|
+
**Inside the pwn REPL (the heart of PWN):**
|
|
134
|
+
- Full access to every PWN class and plugin.
|
|
135
|
+
- `PWN.help` — list all top-level modules.
|
|
136
|
+
- `pwn-ai` — launch the autonomous AI agent (highly recommended for complex tasks). Once active you can issue natural language instructions that leverage PWN's full power.
|
|
137
|
+
- Example flow:
|
|
138
|
+
```
|
|
139
|
+
pwn[v0.5.617]:001 >>> pwn-ai
|
|
140
|
+
[*] pwn-ai agent TUI activated...
|
|
141
|
+
> Perform active scan of https://target.example.com using preferred tooling, then analyze findings with PWN modules and produce a report.
|
|
142
|
+
```
|
|
143
|
+
- Other REPL helpers: `pwn-asm`, memory/session/cron management commands, etc.
|
|
144
|
+
- Exit AI mode with `back`; use full Ruby/PWN expressions at any time.
|
|
145
|
+
|
|
146
|
+
**Headless / CI-CD one-shot (`pwn --ai`):**
|
|
147
|
+
Skip the TUI entirely and submit a single pwn-ai request from the shell — ideal for quick lookups, scripting, or CI/CD pipelines. The final answer is written to STDOUT (pipeable); live tool-call activity streams to STDERR.
|
|
148
|
+
```
|
|
149
|
+
$ pwn --ai 'What ports are listening on this host?'
|
|
150
|
+
$ echo "$LONG_PROMPT" | pwn --ai -
|
|
151
|
+
$ pwn -Y ./ci/pwn.yaml --ai 'Run pwn_sast against ./src and summarise HIGH findings' > findings.txt
|
|
152
|
+
```
|
|
153
|
+
|
|
154
|
+
PWN periodically upgrades to the latest version of Ruby (reflected in `/opt/pwn/.ruby-version`). The easiest way to upgrade Ruby + pwn from a previous installation:
|
|
155
|
+
|
|
156
|
+
```
|
|
157
|
+
$ /opt/pwn/vagrant/provisioners/pwn.sh
|
|
158
|
+
```
|
|
159
|
+
|
|
160
|
+
This updates Ruby, recreates the pwn gemset, etc. Note that older Ruby versions can only use pwn gems compatible with that Ruby.
|
|
161
|
+
|
|
162
|
+
### **Call to Arms** ###
|
|
163
|
+
|
|
164
|
+
Contributions that expand PWN's offensive capabilities are welcome. If you can provide access to additional commercial LLMs, security scanners, or bounty platforms (or wish to contribute plugins, AI skills, or exploit modules), please [email us](mailto:support@0dayinc.com). This accelerates interoperability and zero-day research tooling. See our [How to Contribute](https://github.com/0dayInc/pwn/blob/master/CONTRIBUTING.md) and the growing skills system for ways to extend the AI agent.
|
|
165
|
+
|
|
166
|
+
See also the wiki page on [Contributing](documentation/Contributing.md).
|
|
167
|
+
|
|
168
|
+
### **Module Documentation** ###
|
|
169
|
+
|
|
170
|
+
**Primary Documentation:** Browse the embedded local wiki — start at [/opt/pwn/documentation/Home.md](documentation/Home.md).
|
|
171
|
+
|
|
172
|
+
Additional documentation on using PWN can be found on [RubyGems.org](https://www.rubydoc.info/gems/pwn). Explore the source under `lib/pwn/plugins/`, `lib/pwn/ai/`, and `PWN::` constants directly in the REPL.
|
|
173
|
+
|
|
174
|
+
Key wiki pages:
|
|
175
|
+
- [Plugins](documentation/Plugins.md)
|
|
176
|
+
- [Burp Suite](documentation/BurpSuite.md)
|
|
177
|
+
- [pwn-ai Agent](documentation/pwn-ai-Agent.md)
|
|
178
|
+
- [SAST](documentation/SAST.md)
|
|
179
|
+
- [AI Integration](documentation/AI-Integration.md)
|
|
180
|
+
|
|
181
|
+
I hope you enjoy PWN and remember... ensure you always have permission prior to carrying out any sort of security testing or hacktivities. Now — go pwn all the things (responsibly)!
|
|
182
|
+
|
|
183
|
+
|
|
184
|
+
### **Keep Us Caffeinated** ###
|
|
185
|
+
If you've found this project useful and you're interested in supporting our efforts, we invite you to take a brief moment to keep us caffeinated:
|
|
186
|
+
|
|
187
|
+
[](https://buymeacoff.ee/0dayinc)
|
|
188
|
+
|
|
189
|
+
|
|
190
|
+
### [**0x004D65726368**](https://0day.myspreadshop.com/) ###
|
|
191
|
+
|
|
192
|
+
[](https://0day.myspreadshop.com/stickers)
|
|
193
|
+
|
|
194
|
+
[](https://0day.myspreadshop.com/accessories+mugs+%26+drinkware)
|
|
195
|
+
|
|
196
|
+
[](https://0day.myspreadshop.com/accessories)
|
|
197
|
+
|
|
198
|
+
[](https://shop.spreadshirt.com/0day/0dayinc-A5c3e498cf937643162a01b5f?productType=951&appearance=70)
|
|
199
|
+
|
|
200
|
+
[](https://shop.spreadshirt.com/0day/blackfingerprint-A5c3e49db1cbf3a0b9596b4d0?productType=111&appearance=2)
|
data/bin/pwn
CHANGED
|
@@ -3,13 +3,58 @@
|
|
|
3
3
|
|
|
4
4
|
require 'pwn'
|
|
5
5
|
|
|
6
|
-
|
|
6
|
+
opts = PWN::Env[:driver_opts]
|
|
7
|
+
pwn_driver = PWN::Driver::Parser.new do |options|
|
|
8
|
+
options.on(
|
|
9
|
+
'-APROMPT',
|
|
10
|
+
'--ai=PROMPT',
|
|
11
|
+
"<Optional - Headless one-shot pwn-ai request (no TUI). '-' reads PROMPT " \
|
|
12
|
+
'from STDIN. Final answer goes to STDOUT, tool activity to STDERR. ' \
|
|
13
|
+
'Useful for quick tasks or CI/CD jobs>'
|
|
14
|
+
) do |a|
|
|
15
|
+
opts[:ai] = a
|
|
16
|
+
end
|
|
17
|
+
end
|
|
7
18
|
pwn_driver.auto_opts_help = false
|
|
8
19
|
pwn_driver.parse!
|
|
9
20
|
|
|
10
21
|
begin
|
|
11
22
|
pwn_pid = Process.pid
|
|
12
|
-
|
|
23
|
+
|
|
24
|
+
if opts[:ai]
|
|
25
|
+
# ------------------------------------------------------------------
|
|
26
|
+
# Headless pwn-ai: behave as if the user typed PROMPT at the pwn-ai
|
|
27
|
+
# TUI, but non-interactively — a single agent-loop turn with native
|
|
28
|
+
# tool-calling. STDOUT receives ONLY the final answer so it can be
|
|
29
|
+
# captured/piped; live tool dispatches stream to STDERR for CI logs.
|
|
30
|
+
# $ pwn --ai 'What ports are listening on this host?'
|
|
31
|
+
# $ echo "$PROMPT" | pwn --ai -
|
|
32
|
+
# ------------------------------------------------------------------
|
|
33
|
+
prompt = opts[:ai].to_s
|
|
34
|
+
prompt = $stdin.read if prompt == '-' || (prompt.strip.empty? && !$stdin.tty?)
|
|
35
|
+
raise 'ERROR: --ai requires a non-empty PROMPT (or pipe one via STDIN with --ai -)' if prompt.to_s.strip.empty?
|
|
36
|
+
|
|
37
|
+
sess = PWN::Sessions.create(
|
|
38
|
+
title: "pwn --ai #{Time.now.strftime('%Y-%m-%d %H:%M')}",
|
|
39
|
+
source: 'pwn-ai-headless'
|
|
40
|
+
)
|
|
41
|
+
|
|
42
|
+
on_tool = lambda do |name, args, result|
|
|
43
|
+
preview = args.is_a?(String) ? args[0, 120] : args.inspect[0, 120]
|
|
44
|
+
warn "[ pwn-ai → #{name} ] #{preview}"
|
|
45
|
+
warn result.to_s[0, 700]
|
|
46
|
+
end
|
|
47
|
+
|
|
48
|
+
final = PWN::AI::Agent::Loop.run(
|
|
49
|
+
request: prompt,
|
|
50
|
+
session_id: sess[:id],
|
|
51
|
+
enabled_toolsets: PWN::Env.dig(:ai, :agent, :toolsets),
|
|
52
|
+
on_tool: on_tool
|
|
53
|
+
)
|
|
54
|
+
puts final
|
|
55
|
+
else
|
|
56
|
+
PWN::Plugins::REPL.start
|
|
57
|
+
end
|
|
13
58
|
rescue StandardError => e
|
|
14
59
|
raise e
|
|
15
60
|
ensure
|