资源简介
Windows下用VMware虚拟机安装macOS的补丁,有了这个VMware才能选择和安装macOS系统。unlocker3.0支持VMware 15以及macos mojove 10.14。
代码片段和文件信息
#!/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])
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
....... 375 2018-09-24 20:49 unlocker3.0\unlocker-master\.gitattributes
....... 65 2018-09-24 20:49 unlocker3.0\unlocker-master\.gitignore
....... 2878 2018-09-24 20:49 unlocker3.0\unlocker-master\darwin.md
文件 3912925 2018-09-24 20:49 unlocker3.0\unlocker-master\dumpsmc.exe
文件 5598 2018-09-24 20:49 unlocker3.0\unlocker-master\dumpsmc.py
文件 8817861 2018-09-24 20:49 unlocker3.0\unlocker-master\gettools.exe
文件 5665 2018-09-24 20:49 unlocker3.0\unlocker-master\gettools.py
....... 1098 2018-09-24 20:49 unlocker3.0\unlocker-master\license.txt
文件 977 2018-09-24 20:49 unlocker3.0\unlocker-master\lnx-install.sh
文件 900 2018-09-24 20:49 unlocker3.0\unlocker-master\lnx-uninstall.sh
文件 455 2018-09-24 20:49 unlocker3.0\unlocker-master\lnx-update-tools.sh
....... 4222 2018-09-24 20:49 unlocker3.0\unlocker-master\readme.txt
....... 3006 2018-09-24 20:49 unlocker3.0\unlocker-master\test-unlocker.py
文件 3915420 2018-09-24 20:49 unlocker3.0\unlocker-master\unlocker.exe
文件 13199 2018-09-24 20:49 unlocker3.0\unlocker-master\unlocker.py
....... 221 2018-09-24 20:49 unlocker3.0\unlocker-master\win-build.cmd
....... 1410 2018-09-24 20:49 unlocker3.0\unlocker-master\win-install.cmd
....... 1422 2018-09-24 20:49 unlocker3.0\unlocker-master\win-test-install.cmd
....... 1310 2018-09-24 20:49 unlocker3.0\unlocker-master\win-uninstall.cmd
....... 641 2018-09-24 20:49 unlocker3.0\unlocker-master\win-update-tools.cmd
目录 0 2018-09-24 20:49 unlocker3.0\unlocker-master
目录 0 2018-09-27 11:08 unlocker3.0
----------- --------- ---------- ----- ----
16689648 22
相关资源
- secoclient-macosx-7.0.2.26.zip
- unlocker 203
- unlocker-master v2.1.1
- 精通VMware vSphere 6
- anyconnect-macosx.dmg
- Command_Line_Tools_macOS_10.14_for_Xcode_10.1.
- MACOS软件安全与逆向分析完整版PDF
- 《深入解析MacOS X&iOS;操作系统 》PDF
- jdk-8u231-macosx-x64.dmg JDK8最新官方SDK
- mac xmind8破解版
- VMware 10.0.3 精简版能用的linux.iso
- vmware-viclient-all-5.5.0-1281650.part5.rar
- Visual_Paradigm_for_UML_MacOSX_10_0_sp1.dmg & 破
- VMWARE ESXI 6.5 up1已打包realtek瑞昱系列网
- VMware-Horizon-Agent-x86_64-7.6.0-9539447
- VMware14安装macOS10.14.6图解详细安装
- VMWARE WIN98.ISO part3
- macOS 5K壁纸 经典20张
-
VMware Tools 11 for VMware Pla
yer 15 - VMware-VMRC-11.2.0-16492666.exe
- VMware-ESXi-6.7.0-8169922增加RealTek8168网卡
- VMware Drivers for Win95
- 深入学习vmware vsphere6 高清版
- CEF 3.3396.1785 macOS 64位 带ffmpeg支持H.2
- VMware-Tools-windows-11.0.5-15389592.zip
- 分享——图片素材收藏管理工具 Eag
- secoclient_3.0.3.21.zip
- 飞行堡垒fx50j,黑苹果Catalina10.15.0的
- VMware vSphere 6.5 全套中文手册
- Mastering VMware Horizon 7 - Second Edition -
评论
共有 条评论