资源简介
走了点弯路,终于成功,希望大家少走弯路!写了配套教程,更快上手!教程:https://blog.csdn.net/qq_41101213/article/details/85179957
代码片段和文件信息
#!/usr/bin/env python
“““
The MIT License (MIT)
Copyright (c) 2014-2016 Dave Parsons
Permission is hereby granted free of charge to any person obtaining a copy
of this software and associated documentation files (the ‘Software‘) to deal
in the Software without restriction including without limitation the rights
to use copy modify merge publish distribute sublicense and/or sell
copies of the Software and to permit persons to whom the Software is
furnished to do so subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED ‘AS IS‘ WITHOUT WARRANTY OF ANY KIND EXPRESS OR
IMPLIED INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM DAMAGES OR OTHER
LIABILITY WHETHER IN AN ACTION OF CONTRACT TORT OR OTHERWISE ARISING FROM
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
vSMC Header Structure
Offset Length Struct Type Description
----------------------------------------
0x00/00 0x08/08 Q ptr Offset to key table
0x08/08 0x04/4 I int Number of private keys
0x0C/12 0x04/4 I int Number of public keys
vSMC Key Data Structure
Offset Length Struct Type Description
----------------------------------------
0x00/00 0x04/04 4s int Key name (byte reversed e.g. #KEY is YEK#)
0x04/04 0x01/01 B byte Length of returned data
0x05/05 0x04/04 4s int Data type (byte reversed e.g. ui32 is 23iu)
0x09/09 0x01/01 B byte Flag R/W
0x0A/10 0x06/06 6x byte Padding
0x10/16 0x08/08 Q ptr Internal VMware routine
0x18/24 0x30/48 48B byte Data
“““
from __future__ import print_function
import struct
import sys
if sys.version_info < (2 7):
sys.stderr.write(‘You need Python 2.7 or later\n‘)
sys.exit(1)
def bytetohex(data):
if sys.version_info > (3 0):
# Python 3 code in this block
return ““.join(“{:02X} “.format(c) for c in data)
else:
# Python 2 code in this block
return ““.join(“{:02X} “.format(ord(c)) for c in data)
def printkey(i offset smc_key smc_data):
print(str(i + 1).zfill(3)
+ ‘ ‘ + hex(offset)
+ ‘ ‘ + smc_key[0][::-1].decode(‘UTF-8‘)
+ ‘ ‘ + str(smc_key[1]).zfill(2)
+ ‘ ‘ + smc_key[2][::-1].replace(b‘\x00‘ b‘ ‘).decode(‘UTF-8‘)
+ ‘ ‘ + ‘{0:#0{1}x}‘.format(smc_key[3] 4)
+ ‘ ‘ + hex(smc_key[4])
+ ‘ ‘ + bytetohex(smc_data))
def dumpkeys(f key):
# Setup struct pack string
key_pack = ‘=4sB4sB6xQ‘
# Do Until OSK1 read
i = 0
while True:
# Read key into struct str and data byte str
offset = key + (i * 72)
f.seek(offset)
smc_key = struct.unpack(key_pack f.read(24))
smc_data = f.read(smc_key[1])
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 6788016 2018-09-19 04:04 unlocker\backup\vmwareba
文件 20863408 2018-09-19 04:17 unlocker\backup\x64\vmware-vmx-debug.exe
文件 18721712 2018-09-19 04:18 unlocker\backup\x64\vmware-vmx-stats.exe
文件 16088496 2018-09-19 04:17 unlocker\backup\x64\vmware-vmx.exe
文件 3846860 2050-11-21 16:44 unlocker\dumpsmc.exe
文件 5598 2017-12-07 11:54 unlocker\dumpsmc.py
文件 8684092 2009-05-15 06:37 unlocker\gettools.exe
文件 6096 2068-05-14 19:54 unlocker\gettools.py
文件 1119 2017-10-05 12:54 unlocker\LICENSE
文件 997 1981-09-01 18:13 unlocker\lnx-install.sh
文件 921 2064-04-28 18:28 unlocker\lnx-uninstall.sh
文件 454 1986-07-27 16:50 unlocker\lnx-update-tools.sh
文件 4429 2066-01-08 08:13 unlocker\readme.txt
文件 3352576 2018-11-24 21:31 unlocker\tools\darwin.iso
文件 256 2018-11-24 21:31 unlocker\tools\darwin.iso.sig
文件 3004416 2018-11-24 21:32 unlocker\tools\darwinPre15.iso
文件 256 2018-11-24 21:32 unlocker\tools\darwinPre15.iso.sig
文件 3849086 2078-05-07 04:56 unlocker\unlocker.exe
文件 13199 2084-03-30 10:37 unlocker\unlocker.py
文件 1693 2047-02-19 06:25 unlocker\win-install.cmd
文件 1411 2021-04-06 11:41 unlocker\win-uninstall.cmd
文件 643 2100-05-07 02:20 unlocker\win-update-tools.cmd
目录 0 2018-11-24 21:30 unlocker\backup\x64
目录 0 2018-11-24 21:30 unlocker\backup
目录 0 2018-11-24 21:32 unlocker\tools
目录 0 2018-11-24 21:30 unlocker
文件 307 2019-01-02 16:34 macOS10.13、10.14下载链接.txt
----------- --------- ---------- ----- ----
85236041 27
............此处省略0个文件信息
- 上一篇:辛小姐的店网上店铺源代码+数据库+文档
- 下一篇:西安电子科技大学信号与系统复习资料
相关资源
- Advanced Swift Updated for Swift 5 (2019 obj
- MacOS.rar
- Mac iNode 7.3 H3C_iNode_PC_7.3_E0517
- 黑苹果AMD内核,支持10.13.6
- 亲测支持MacOS Catalina的IDA Pro 7.0
- astah-community-7_2_0-1ff236-MacOs.dmg
- Synergy 1.10.2 mac版 2019年5月最新版
- EasyUEFI3.2专业版
- 华南X79 + E5-2689 + 蓝宝石RX560XT黑苹果
- Lenovo Y50 (1080P) 安装 黑苹果 hackin
- geth_MACOS一键搭建私有链教程.zip
- jdk-8u101-macosx-x64.dmg
- H3C iNode(SSL) for macOS
- Syncro SVN Client v8.1 MacOSX 带注册机
- swift-一个用于iOS和macOS的SSH和SFTP客户
- amd_mac os 10.13.6破解内核
- CobaltStrike3.13 MacOS客户端+服务器端
- 黑苹果EFI文件备份Intel I5 3450 华硕H
- MSI B150I主板,i5 6500CPU GTX660ti独显 c
- 神舟k610di7d2黑苹果10.13.6引导文件
- 神舟笔记本战神z7kp7gz黑果EFI
- Unity2d RubysAdventrue正式版1.0MacOS平台.
- svn插件site-1.10.13-1.9.x.zip
- macOS应用开发基础教程 pdf + 源码(S
- 能用的DOWINE3视频利器
- 高级MacOS变成教程pdf
- 2013-2014的MBP的固件427
- Unlocker3.0.3 for MacOS优化版,极速安装,
- i5 7400 HD630 黑苹果10.14.5
- iOS and macOS Performance Tuning(pdf + epub)
评论
共有 条评论