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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3ad96a76b202e482f185649e77fdf3e4a066e620aff74251bb86105aeeec70ee
4
- data.tar.gz: 6cbdc13a5a9f80906773b3c89924c6ce011b55d41ce9fc4d491c0d2e91d1feba
3
+ metadata.gz: 3bca65e9bcb1f2d7e50b73b1753ff6b27d9fcb810a312733a6094e723efdb5d4
4
+ data.tar.gz: 26aec08f4cd6a7779efb9d171710cb0949c21d0c8f7799b1b0709ad6af94aa53
5
5
  SHA512:
6
- metadata.gz: d1da4d6cdbc289083d51d50ffbaa4abdc07dd3ea13edf4a3b155c31d0e4681392cd58fd06fa3b56acfcbc5b87b33aeb24f642cba83ce90f81228c26d11de26ed
7
- data.tar.gz: 36dc00fe3cfe9635f9dd232005d1e00b53f2900553427066091190130f83ed2a4bf4eac0083d5164198bb865ab288e7eeed5f10cf7c2339b97cd29a07f604f74
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.290]:001 >>> PWN.help
40
+ pwn[v0.5.291]:001 >>> PWN.help
41
41
  ```
42
42
 
43
43
  [![Installing the pwn Security Automation Framework](https://raw.githubusercontent.com/0dayInc/pwn/master/documentation/pwn_install.png)](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.290]:001 >>> PWN.help
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.290]:001 >>> PWN.help
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 = summary
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
- "#{epic_name_filed_key}": epic_name,
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
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module PWN
4
- VERSION = '0.5.290'
4
+ VERSION = '0.5.291'
5
5
  end
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
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pwn
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.290
4
+ version: 0.5.291
5
5
  platform: ruby
6
6
  authors:
7
7
  - 0day Inc.