pwn 0.5.290 → 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 +4 -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
|
|
@@ -175,7 +176,7 @@ module PWN
|
|
175
176
|
all_fields = get_all_fields(base_api_uri: base_api_uri, token: token)
|
176
177
|
epic_name_field_key = all_fields.find { |field| field[:name] == 'Epic Name' }[:id]
|
177
178
|
|
178
|
-
epic_name =
|
179
|
+
epic_name = opts[:epic_name]
|
179
180
|
|
180
181
|
http_body = {
|
181
182
|
fields: {
|
@@ -186,7 +187,7 @@ module PWN
|
|
186
187
|
issuetype: {
|
187
188
|
name: issue_type.to_s.capitalize
|
188
189
|
},
|
189
|
-
"#{
|
190
|
+
"#{epic_name_field_key}": epic_name,
|
190
191
|
description: description
|
191
192
|
}
|
192
193
|
}
|
@@ -235,6 +236,7 @@ module PWN
|
|
235
236
|
summary: 'required - summary of the issue (e.g. Epic for PWN-1337)',
|
236
237
|
issue_type: 'required - issue type (e.g. :epic, :story, :bug)',
|
237
238
|
description: 'optional - description of the issue',
|
239
|
+
epic_name: 'optional - name of the epic',
|
238
240
|
additional_fields: 'optional - additional fields to set in the issue (e.g. labels, components, custom fields, etc.)'
|
239
241
|
)
|
240
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
|
|