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 +4 -4
- data/README.md +2 -2
- data/bin/pwn_serial_msr206 +22 -3
- data/lib/pwn/version.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: 98c7c96215e79c7af756b24a758d15c55ee42fddc0822d90350c5476059f5573
|
|
4
|
+
data.tar.gz: 75ecc6b0534b384612dae50bb7d23143e4e11a5c3a2bddda8fc6f14ea1f8c44e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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.
|
|
40
|
+
pwn[v0.4.468]:001 >>> PWN.help
|
|
41
41
|
```
|
|
42
42
|
|
|
43
43
|
[](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.
|
|
55
|
+
pwn[v0.4.468]:001 >>> PWN.help
|
|
56
56
|
```
|
|
57
57
|
|
|
58
58
|
|
data/bin/pwn_serial_msr206
CHANGED
|
@@ -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: :
|
|
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: :
|
|
199
|
+
cmd: :green_off
|
|
181
200
|
)
|
|
182
201
|
|
|
183
202
|
exec_resp = PWN::Plugins::MSR206.exec(
|
|
184
203
|
msr206_obj: msr206_obj,
|
|
185
|
-
cmd: :
|
|
204
|
+
cmd: :yellow_flash
|
|
186
205
|
)
|
|
187
206
|
end
|
|
188
207
|
end
|
data/lib/pwn/version.rb
CHANGED