pwn 0.5.289 → 0.5.291
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 +3 -3
- data/etc/pwn.yaml.EXAMPLE +16 -16
- data/lib/pwn/plugins/jira_server.rb +5 -2
- data/lib/pwn/version.rb +1 -1
- data/lib/pwn.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3bca65e9bcb1f2d7e50b73b1753ff6b27d9fcb810a312733a6094e723efdb5d4
|
4
|
+
data.tar.gz: 26aec08f4cd6a7779efb9d171710cb0949c21d0c8f7799b1b0709ad6af94aa53
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a861e5b5bbf21c4402c49c93c1758ceac0caeb80452749b5be574e4903aa0534d415d4ef4343f18b5eb12a26c2f12f795e732a2825ee975db654157da37a582f
|
7
|
+
data.tar.gz: 386a92f5484039407114dd7fac87836ce8130e5f333ec09ccaa38cab85d6742c26d697c991cbf121a6547e65272220c4a37b13058b4de2177c6186eaf1e3becd
|
data/README.md
CHANGED
@@ -37,7 +37,7 @@ $ cd /opt/pwn
|
|
37
37
|
$ ./install.sh
|
38
38
|
$ ./install.sh ruby-gem
|
39
39
|
$ pwn
|
40
|
-
pwn[v0.5.
|
40
|
+
pwn[v0.5.291]:001 >>> PWN.help
|
41
41
|
```
|
42
42
|
|
43
43
|
[](https://youtu.be/G7iLUY4FzsI)
|
@@ -52,7 +52,7 @@ $ rvm use ruby-3.4.4@pwn
|
|
52
52
|
$ gem uninstall --all --executables pwn
|
53
53
|
$ gem install --verbose pwn
|
54
54
|
$ pwn
|
55
|
-
pwn[v0.5.
|
55
|
+
pwn[v0.5.291]:001 >>> PWN.help
|
56
56
|
```
|
57
57
|
|
58
58
|
If you're using a multi-user install of RVM do:
|
@@ -62,7 +62,7 @@ $ rvm use ruby-3.4.4@pwn
|
|
62
62
|
$ rvmsudo gem uninstall --all --executables pwn
|
63
63
|
$ rvmsudo gem install --verbose pwn
|
64
64
|
$ pwn
|
65
|
-
pwn[v0.5.
|
65
|
+
pwn[v0.5.291]:001 >>> PWN.help
|
66
66
|
```
|
67
67
|
|
68
68
|
PWN periodically upgrades to the latest version of Ruby which is reflected in `/opt/pwn/.ruby-version`. The easiest way to upgrade to the latest version of Ruby from a previous PWN installation is to run the following script:
|
data/etc/pwn.yaml.EXAMPLE
CHANGED
@@ -7,19 +7,6 @@ asm:
|
|
7
7
|
arch: 'x86_64'
|
8
8
|
endian: 'little'
|
9
9
|
|
10
|
-
openai:
|
11
|
-
key: 'required - OpenAI API Key'
|
12
|
-
model: 'optional - OpenAI model to use'
|
13
|
-
system_role_content: 'You are an ethically hacking OpenAI agent.'
|
14
|
-
temp: 'optional - OpenAI temperature'
|
15
|
-
|
16
|
-
ollama:
|
17
|
-
fqdn: 'required - FQDN for Open WebUI - e.g. https://ollama.local'
|
18
|
-
key: 'required - Open WebUI API Key Under Settings >> Account >> JWT Token'
|
19
|
-
model: 'required - Ollama model to use'
|
20
|
-
system_role_content: 'You are an ethically hacking Ollama agent.'
|
21
|
-
temp: 'optional - Ollama temperature'
|
22
|
-
|
23
10
|
irc:
|
24
11
|
ui_nick: '_human_'
|
25
12
|
shared_chan: '#pwn'
|
@@ -37,13 +24,26 @@ irc:
|
|
37
24
|
pwn_rb: '/opt/pwn/lib/pwn/plugins/shodan.rb'
|
38
25
|
system_role_content: 'You are a passive reconnaissance agent. You are a passive reconnaissance agent that can be controlled by a human or AI agent'
|
39
26
|
|
27
|
+
hunter:
|
28
|
+
api_key: 'hunter.how API Key'
|
29
|
+
|
30
|
+
openai:
|
31
|
+
key: 'required - OpenAI API Key'
|
32
|
+
model: 'optional - OpenAI model to use'
|
33
|
+
system_role_content: 'You are an ethically hacking OpenAI agent.'
|
34
|
+
temp: 'optional - OpenAI temperature'
|
35
|
+
|
36
|
+
ollama:
|
37
|
+
fqdn: 'required - FQDN for Open WebUI - e.g. https://ollama.local'
|
38
|
+
key: 'required - Open WebUI API Key Under Settings >> Account >> JWT Token'
|
39
|
+
model: 'required - Ollama model to use'
|
40
|
+
system_role_content: 'You are an ethically hacking Ollama agent.'
|
41
|
+
temp: 'optional - Ollama temperature'
|
42
|
+
|
40
43
|
meshtastic:
|
41
44
|
psks:
|
42
45
|
LongFast: 'required - PSK for LongFast channel'
|
43
46
|
PWN: 'required - PSK for pwn channel'
|
44
47
|
|
45
|
-
hunter:
|
46
|
-
api_key: 'hunter.how API Key'
|
47
|
-
|
48
48
|
shodan:
|
49
49
|
api_key: 'SHODAN API Key'
|
@@ -148,6 +148,7 @@ module PWN
|
|
148
148
|
# summary: 'required - summary of the issue (e.g. Epic for PWN-1337)',
|
149
149
|
# issue_type: 'required - issue type (e.g. :epic, :story, :bug)',
|
150
150
|
# description: 'optional - description of the issue',
|
151
|
+
# epic_name: 'optional - name of the epic',
|
151
152
|
# additional_fields: 'optional - additional fields to set in the issue (e.g. labels, components, custom fields, etc.)'
|
152
153
|
# )
|
153
154
|
|
@@ -170,11 +171,12 @@ module PWN
|
|
170
171
|
description = opts[:description]
|
171
172
|
|
172
173
|
additional_fields = opts[:additional_fields] ||= { fields: {} }
|
174
|
+
raise 'ERROR: additional_fields Hash must contain a :fields key.' unless additional_fields.is_a?(Hash) && additional_fields.key?(:fields)
|
173
175
|
|
174
176
|
all_fields = get_all_fields(base_api_uri: base_api_uri, token: token)
|
175
177
|
epic_name_field_key = all_fields.find { |field| field[:name] == 'Epic Name' }[:id]
|
176
178
|
|
177
|
-
epic_name =
|
179
|
+
epic_name = opts[:epic_name]
|
178
180
|
|
179
181
|
http_body = {
|
180
182
|
fields: {
|
@@ -185,7 +187,7 @@ module PWN
|
|
185
187
|
issuetype: {
|
186
188
|
name: issue_type.to_s.capitalize
|
187
189
|
},
|
188
|
-
"#{
|
190
|
+
"#{epic_name_field_key}": epic_name,
|
189
191
|
description: description
|
190
192
|
}
|
191
193
|
}
|
@@ -234,6 +236,7 @@ module PWN
|
|
234
236
|
summary: 'required - summary of the issue (e.g. Epic for PWN-1337)',
|
235
237
|
issue_type: 'required - issue type (e.g. :epic, :story, :bug)',
|
236
238
|
description: 'optional - description of the issue',
|
239
|
+
epic_name: 'optional - name of the epic',
|
237
240
|
additional_fields: 'optional - additional fields to set in the issue (e.g. labels, components, custom fields, etc.)'
|
238
241
|
)
|
239
242
|
|
data/lib/pwn/version.rb
CHANGED
data/lib/pwn.rb
CHANGED
@@ -8,7 +8,6 @@ require 'pwn/version'
|
|
8
8
|
module PWN
|
9
9
|
$stdout.sync = true # < Ensure that all print statements output progress in realtime
|
10
10
|
$stdout.flush # < Ensure that all print statements output progress in realtime
|
11
|
-
# TODO: Determine best balance for namespace naming conventions
|
12
11
|
autoload :AWS, 'pwn/aws'
|
13
12
|
autoload :Banner, 'pwn/banner'
|
14
13
|
autoload :FFI, 'pwn/ffi'
|
@@ -16,6 +15,7 @@ module PWN
|
|
16
15
|
autoload :Reports, 'pwn/reports'
|
17
16
|
autoload :SAST, 'pwn/sast'
|
18
17
|
autoload :WWW, 'pwn/www'
|
18
|
+
# TODO: If pwn.yaml is present, attempt to decrypt it, and initialize the YAML config
|
19
19
|
|
20
20
|
# Display a List of Every PWN Module
|
21
21
|
|