pwn 0.4.467 → 0.4.468

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: 6c3c8162a975f70b29fef9ca0c1e9e3089bc625345dfd2a3183c8925bacd96cf
4
- data.tar.gz: 874976297d57b765cbe21b6c582f6a51c77bf1a1bd758376bfe33820eb6b5b0d
3
+ metadata.gz: 98c7c96215e79c7af756b24a758d15c55ee42fddc0822d90350c5476059f5573
4
+ data.tar.gz: 75ecc6b0534b384612dae50bb7d23143e4e11a5c3a2bddda8fc6f14ea1f8c44e
5
5
  SHA512:
6
- metadata.gz: efaae24fa8eabb639a90c7ce675aedc5323fcf91ba2aebf24f2f84243c00b67422a92ee4aeafd7260d9ff4515069c187c01903ad3221e623dbf139874daa1831
7
- data.tar.gz: e7905ef924e48fc92d589cd3dbe1bfcab64c89ef8585edc1f239423588b1a1ec20672171ec23ddeea2adacecff66cf00017a3fd7f2a09c1c5ca0dcc901c5bb12
6
+ metadata.gz: ee8208c011822cee15ef9d92a564ce3e3027c61dd2f975acb7d154e398b763a1bb820a56d6c56fe6ec63b9c0fbd6bf80528f0a05db6081d2327b831bde5f5bd1
7
+ data.tar.gz: 747b0b22555e4f75be1b25455bbe07e903e82184bbbd68d67a6981e41c7f8f82173003cd6986e6953b5d3cc3e6fbf70aff3aaacd5f24b33881709c90494e007e
data/README.md CHANGED
@@ -37,7 +37,7 @@ $ rvm use ruby-3.1.2@pwn
37
37
  $ rvm list gemsets
38
38
  $ gem install --verbose pwn
39
39
  $ pwn
40
- pwn[v0.4.467]:001 >>> PWN.help
40
+ pwn[v0.4.468]: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.1.2@pwn
52
52
  $ gem uninstall --all --executables pwn
53
53
  $ gem install --verbose pwn
54
54
  $ pwn
55
- pwn[v0.4.467]:001 >>> PWN.help
55
+ pwn[v0.4.468]:001 >>> PWN.help
56
56
  ```
57
57
 
58
58
 
@@ -101,7 +101,7 @@ begin
101
101
  unless menu_msg.include?('ERROR')
102
102
  exec_resp = PWN::Plugins::MSR206.exec(
103
103
  msr206_obj: msr206_obj,
104
- cmd: :yellow_on
104
+ cmd: :green_flash
105
105
  )
106
106
  end
107
107
 
@@ -156,14 +156,33 @@ begin
156
156
  )
157
157
  file = ''
158
158
  loop do
159
+ exec_resp = PWN::Plugins::MSR206.exec(
160
+ msr206_obj: msr206_obj,
161
+ cmd: :green_flash
162
+ )
163
+
159
164
  print 'Enter File Name to Save Backup: '
160
165
  file = gets.scrub.chomp.strip
161
166
  file_dir = File.dirname(file)
162
167
  break if Dir.exist?(file_dir)
163
168
 
164
169
  puts "\nDirectory #{file_dir} for #{file} does not exist."
170
+ exec_resp = PWN::Plugins::MSR206.exec(
171
+ msr206_obj: msr206_obj,
172
+ cmd: :green_off
173
+ )
174
+ exec_resp = PWN::Plugins::MSR206.exec(
175
+ msr206_obj: msr206_obj,
176
+ cmd: :yellow_flash
177
+ )
165
178
  end
179
+
166
180
  File.write(file, "#{track_data.to_json}\n")
181
+ exec_resp = PWN::Plugins::MSR206.exec(
182
+ msr206_obj: msr206_obj,
183
+ cmd: :yellow_off
184
+ )
185
+
167
186
  puts 'complete.'
168
187
  when :W
169
188
  exec_resp = PWN::Plugins::MSR206.exec(
@@ -177,12 +196,12 @@ begin
177
196
  menu_msg = '****** ERROR: Invalid Menu Option Selected ******'
178
197
  exec_resp = PWN::Plugins::MSR206.exec(
179
198
  msr206_obj: msr206_obj,
180
- cmd: :yellow_off
199
+ cmd: :green_off
181
200
  )
182
201
 
183
202
  exec_resp = PWN::Plugins::MSR206.exec(
184
203
  msr206_obj: msr206_obj,
185
- cmd: :red_flash
204
+ cmd: :yellow_flash
186
205
  )
187
206
  end
188
207
  end
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.4.467'
4
+ VERSION = '0.4.468'
5
5
  end
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.4.467
4
+ version: 0.4.468
5
5
  platform: ruby
6
6
  authors:
7
7
  - 0day Inc.