pwn 0.5.225 → 0.5.227

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: baadaa7fc233c80233a7eae98e1f15b1aa438001ff832121a0875cd38eea0600
4
- data.tar.gz: 3db2c8f074f4cfede3ca7479d2eb7599cec0024c17e42e01aa5466712aabd5b5
3
+ metadata.gz: 4e6e0a930654bf9e7485a0b30f3c378f6fe4bb13c5258ef0444b97a82bc581c3
4
+ data.tar.gz: a60ea3a728262b4058aa36ae7e86fb73d7a59eb371876889b0baaa64e52d3ae4
5
5
  SHA512:
6
- metadata.gz: 6edd056bd446da61f9a339951fc06fcf0e5de977b684c38f71243d373840db206a01aa1cf24651d332b9876a36315f3614027ef0f46bace4891a5954076a98ad
7
- data.tar.gz: 9af8adec2e4cda10ec9cc061386f4083a07581844e52cfeb863a03fcf45740c919b24e5f83c7e97ade126f5c70b1804024292b764a816c2810654289fe0349b2
6
+ metadata.gz: 479e758d5ccaf7a1c5b9d00339a21fdd3fcb11411fd2572f11c312abad6b1597685f42a27e4320d5c155980131143eaa15d665292a331f2496999a98ec8cc86e
7
+ data.tar.gz: 462aed76c891e0ba1a6dd9189a7cc1c3e150ec6d110a7d9670fb7672b1ab838b4e839dd8951799b2a6a834751e070b8ad06b95defe39617905d022c47e25b634
data/Gemfile CHANGED
@@ -11,7 +11,7 @@ gemspec
11
11
  # In some circumstances custom flags are passed to gems in order
12
12
  # to build appropriately. Defer to ./reinstall_pwn_gemset.sh
13
13
  # to review these custom flags (e.g. pg, serialport, etc).
14
- gem 'activesupport', '8.0.0.1'
14
+ gem 'activesupport', '8.0.1'
15
15
  gem 'anemone', '0.7.2'
16
16
  gem 'authy', '3.0.1'
17
17
  gem 'aws-sdk', '3.2.0'
@@ -20,7 +20,7 @@ gem 'barby', '0.7.0'
20
20
  gem 'base32', '0.3.4'
21
21
  gem 'brakeman', '6.2.2'
22
22
  gem 'bson', '5.0.2'
23
- gem 'bundler', '>=2.5.23'
23
+ gem 'bundler', '>=2.6.0'
24
24
  gem 'bundler-audit', '0.9.2'
25
25
  gem 'bunny', '2.23.0'
26
26
  gem 'colorize', '1.1.0'
@@ -72,7 +72,7 @@ gem 'pry-doc', '1.5.0'
72
72
  gem 'rake', '13.2.1'
73
73
  gem 'rb-readline', '0.5.5'
74
74
  gem 'rbvmomi2', '3.8.0'
75
- gem 'rdoc', '6.9.0'
75
+ gem 'rdoc', '6.9.1'
76
76
  gem 'rest-client', '2.1.0'
77
77
  gem 'rex', '2.0.13'
78
78
  gem 'rmagick', '6.0.1'
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.225]:001 >>> PWN.help
40
+ pwn[v0.5.227]: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.3.5@pwn
52
52
  $ gem uninstall --all --executables pwn
53
53
  $ gem install --verbose pwn
54
54
  $ pwn
55
- pwn[v0.5.225]:001 >>> PWN.help
55
+ pwn[v0.5.227]: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.3.5@pwn
62
62
  $ rvmsudo gem uninstall --all --executables pwn
63
63
  $ rvmsudo gem install --verbose pwn
64
64
  $ pwn
65
- pwn[v0.5.225]:001 >>> PWN.help
65
+ pwn[v0.5.227]: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:
@@ -144,7 +144,8 @@ module PWN
144
144
  # PWN::Plugins::Vault.edit(
145
145
  # file: 'required - file to edit',
146
146
  # key: 'required - key to decrypt',
147
- # iv: 'required - iv to decrypt'
147
+ # iv: 'required - iv to decrypt',
148
+ # editor: 'optional - editor to use (default: "/usr/bin/vim")'
148
149
  # )
149
150
 
150
151
  def self.edit(opts = {})
@@ -159,14 +160,14 @@ module PWN
159
160
 
160
161
  editor = opts[:editor] ||= '/usr/bin/vim'
161
162
 
163
+ raise 'ERROR: Editor not found.' unless File.exist?(editor)
164
+
162
165
  decrypt(
163
166
  file: file,
164
167
  key: key,
165
168
  iv: iv
166
169
  )
167
170
 
168
- raise 'ERROR: Editor not found.' unless File.exist?(editor)
169
-
170
171
  # Get realtive editor in case aliases are used
171
172
  relative_editor = File.basename(editor)
172
173
  system(relative_editor, file)
@@ -268,7 +269,8 @@ module PWN
268
269
  #{self}.edit(
269
270
  file: 'required - file to edit',
270
271
  key: 'required - key to decrypt',
271
- iv: 'required - iv to decrypt'
272
+ iv: 'required - iv to decrypt',
273
+ editor: 'optional - editor to use (default: \"/usr/bin/vim\")'
272
274
  )
273
275
 
274
276
  #{self}.encrypt(
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.225'
4
+ VERSION = '0.5.227'
5
5
  end
@@ -575,6 +575,7 @@
575
575
  {"messages":[{"role":"user","content":"PWN::Plugins::DefectDojo.user_list Usage"},{"role":"assistant","content":"`PWN::Plugins::DefectDojo.user_list`: Supported Method Parameters\n\nuser_list = PWN::Plugins::DefectDojo.user_list(\n\ndd_obj: 'required dd_obj returned from #login method',\nid: 'optional - retrieve single user by id, otherwise return all'\n\n)\n"}]}
576
576
  {"messages":[{"role":"user","content":"PWN::Plugins::DetectOS.arch Usage"},{"role":"assistant","content":"`PWN::Plugins::DetectOS.arch`: Supported Method Parameters\n\nPWN::Plugins::DetectOS.arch\n"}]}
577
577
  {"messages":[{"role":"user","content":"PWN::Plugins::DetectOS.authors Usage"},{"role":"assistant","content":"`PWN::Plugins::DetectOS.authors`: Author(s)\n\n0day Inc. <support@0dayinc.com>\n"}]}
578
+ {"messages":[{"role":"user","content":"PWN::Plugins::DetectOS.endian Usage"},{"role":"assistant","content":"`PWN::Plugins::DetectOS.endian`: Supported Method Parameters\n\nPWN::Plugins::DetectOS.endian\n"}]}
578
579
  {"messages":[{"role":"user","content":"PWN::Plugins::DetectOS.help Usage"},{"role":"assistant","content":"`PWN::Plugins::DetectOS.help`: "}]}
579
580
  {"messages":[{"role":"user","content":"PWN::Plugins::DetectOS.type Usage"},{"role":"assistant","content":"`PWN::Plugins::DetectOS.type`: Supported Method Parameters\n\nPWN::Plugins::DetectOS.type\n"}]}
580
581
  {"messages":[{"role":"user","content":"PWN::Plugins::EIN.authors Usage"},{"role":"assistant","content":"`PWN::Plugins::EIN.authors`: Author(s)\n\n0day Inc. <support@0dayinc.com>\n"}]}
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pwn
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.225
4
+ version: 0.5.227
5
5
  platform: ruby
6
+ original_platform: ''
6
7
  authors:
7
8
  - 0day Inc.
8
- autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-12-13 00:00:00.000000000 Z
11
+ date: 2024-12-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 8.0.0.1
19
+ version: 8.0.1
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - '='
25
25
  - !ruby/object:Gem::Version
26
- version: 8.0.0.1
26
+ version: 8.0.1
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: anemone
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -128,14 +128,14 @@ dependencies:
128
128
  requirements:
129
129
  - - ">="
130
130
  - !ruby/object:Gem::Version
131
- version: 2.5.23
131
+ version: 2.6.0
132
132
  type: :development
133
133
  prerelease: false
134
134
  version_requirements: !ruby/object:Gem::Requirement
135
135
  requirements:
136
136
  - - ">="
137
137
  - !ruby/object:Gem::Version
138
- version: 2.5.23
138
+ version: 2.6.0
139
139
  - !ruby/object:Gem::Dependency
140
140
  name: bundler-audit
141
141
  requirement: !ruby/object:Gem::Requirement
@@ -828,14 +828,14 @@ dependencies:
828
828
  requirements:
829
829
  - - '='
830
830
  - !ruby/object:Gem::Version
831
- version: 6.9.0
831
+ version: 6.9.1
832
832
  type: :development
833
833
  prerelease: false
834
834
  version_requirements: !ruby/object:Gem::Requirement
835
835
  requirements:
836
836
  - - '='
837
837
  - !ruby/object:Gem::Version
838
- version: 6.9.0
838
+ version: 6.9.1
839
839
  - !ruby/object:Gem::Dependency
840
840
  name: rest-client
841
841
  requirement: !ruby/object:Gem::Requirement
@@ -2329,7 +2329,6 @@ licenses:
2329
2329
  - MIT
2330
2330
  metadata:
2331
2331
  rubygems_mfa_required: 'true'
2332
- post_install_message:
2333
2332
  rdoc_options: []
2334
2333
  require_paths:
2335
2334
  - lib
@@ -2344,8 +2343,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
2344
2343
  - !ruby/object:Gem::Version
2345
2344
  version: '0'
2346
2345
  requirements: []
2347
- rubygems_version: 3.5.23
2348
- signing_key:
2346
+ rubygems_version: 3.6.0
2349
2347
  specification_version: 4
2350
2348
  summary: Automated Security Testing for CI/CD Pipelines & Beyond
2351
2349
  test_files: []