smcutil 0.1.5 → 0.1.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +12 -2
- data/lib/smcutil/file_extractor.rb +1 -1
- data/lib/smcutil/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c81a96ad69c1a007ef5a1929e1f5813c6212ba1f
|
4
|
+
data.tar.gz: 06777d51015caf57fcd7d9623609b75e1ec30b64
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a0b4d06b698a0ccc71557d8e00dfba1c717902a7d4d991ca4d4d359b0ccad6e412f729b45642104f15a70fb7de2de4704d5bde2eacde492e42b847a13b86a650
|
7
|
+
data.tar.gz: 5f5837a04fe67355207f597b2a71b66f4e807f06d898815238a25f16caf438ba79e1bde702fe00ec8b680d8ccd35f673faa89ea29624f79ecabfb715db2561dd
|
data/README.md
CHANGED
@@ -2,6 +2,11 @@
|
|
2
2
|
|
3
3
|
`smcutil` is a command line tool for reading Apple's SMC payloads, validating them, fingerprinting them and extracting the contents for disassembly.
|
4
4
|
|
5
|
+
## Progress
|
6
|
+
|
7
|
+
Currently looking for a number of MacBooks with good SMCs that may be offered as tribute for `save`
|
8
|
+
and waiting on Stellaris development hardware. Anyone have a sub-micron wealder out there?
|
9
|
+
|
5
10
|
## Installation
|
6
11
|
|
7
12
|
Install it yourself as:
|
@@ -22,11 +27,16 @@ Install it yourself as:
|
|
22
27
|
info {file.smc}:
|
23
28
|
Prints information about the SMC update file.
|
24
29
|
|
25
|
-
|
30
|
+
decode {file.smc} {output.bin}:
|
26
31
|
Pretends to execute an update of the SMC flash as though the output.bin file is the SMC flash ROM.
|
27
32
|
|
33
|
+
shred {file.smc} {output_dir}:
|
34
|
+
Pulls apart each flash region, so that multiple passes can be examined
|
35
|
+
|
28
36
|
save {output.bin}:
|
29
|
-
|
37
|
+
(IN PROGRESS)
|
38
|
+
Has magical bear powers. Loads SMC update payload to capture the contents of the application partition.
|
39
|
+
No warrently, may bork hardware.
|
30
40
|
|
31
41
|
## Development
|
32
42
|
|
@@ -26,7 +26,7 @@ class SmcUtil::FileExtractor
|
|
26
26
|
pass += 1 if region.offset < position
|
27
27
|
position = region.offset
|
28
28
|
|
29
|
-
filename = File.join(path, "#{region.offset.to_s(16)}
|
29
|
+
filename = File.join(path, "pass#{pass}_#{region.offset.to_s(16)}.bin")
|
30
30
|
|
31
31
|
File.open(filename, OUTPUT_FILE_FLAGS) do |file|
|
32
32
|
file.write region.data
|
data/lib/smcutil/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: smcutil
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Rick Mark
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-10-
|
11
|
+
date: 2017-10-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|