资源简介
VMware虚拟机Mac OS系统解锁工具Unlocker是一款Unlocker解锁VMware Workstation虚拟机Mac系统工具,Unlocker可以解锁VMware Workstation,对苹果Mac系统的支持,使用该工具即可安装Mac系统的虚拟机、目前Unlocker工具的开发者已经发布Unlocker最新版以便支持新版VMware而且还支持Windows/Linux。
代码片段和文件信息
#!/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])
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2018-10-12 19:43 Unlocker\
文件 375 2018-10-10 18:49 Unlocker\.gitattributes
文件 64 2018-10-10 18:49 Unlocker\.gitignore
文件 2878 2018-10-10 18:49 Unlocker\darwin.md
文件 3846860 2018-10-10 18:49 Unlocker\dumpsmc.exe
文件 5598 2018-10-10 18:49 Unlocker\dumpsmc.py
文件 8684092 2018-10-10 18:49 Unlocker\gettools.exe
文件 6096 2018-10-10 18:49 Unlocker\gettools.py
文件 1098 2018-10-10 18:49 Unlocker\LICENSE
文件 997 2018-10-10 18:49 Unlocker\lnx-install.sh
文件 921 2018-10-10 18:49 Unlocker\lnx-uninstall.sh
文件 454 2018-10-10 18:49 Unlocker\lnx-update-tools.sh
文件 4431 2018-10-12 12:44 Unlocker\readme.txt
文件 3006 2018-10-10 18:49 Unlocker\test-unlocker.py
文件 3849086 2018-10-10 18:49 Unlocker\unlocker.exe
文件 13199 2018-10-10 18:49 Unlocker\unlocker.py
文件 221 2018-10-10 18:49 Unlocker\win-build.cmd
文件 1484 2018-10-10 18:49 Unlocker\win-install.cmd
文件 1451 2018-10-10 18:49 Unlocker\win-test-install.cmd
文件 1339 2018-10-10 18:49 Unlocker\win-uninstall.cmd
文件 643 2018-10-10 18:49 Unlocker\win-update-tools.cmd
文件 940 2018-10-12 19:43 Unlocker\使用说明(必看).TXT
相关资源
- VMware14 unlocker
- VMware虚拟机安装黑群晖DSM6.2.1镜像懒人
- unlocker-master最新版.rar
- VMware虚拟机安装最新黑群晖DSM6.2.2镜像
- unlocker for vm14
- unlocker-master v2.1.1.zip
- Unlocker Esxi6.7.zip
- VMware虚拟机助手V1.4 VMware批量克隆
- Unlocker3.0.3 for MacOS优化版,极速安装,
- unlocker 203
- unlocker-master v2.1.1
- VMware虚拟机安装和封装系统学习
- 在vmware虚拟机上安装windows_server_2003
- VMware虚拟机下安装Ubuntu 18.04.1教程含
- Unlocker V1.8.9 完全汉化纯净安装版
- SAP ECC6.0 VMware虚拟机种子
- vmware15+macos10.14+unlocker3.0+darwin
- VMware虚拟机硬盘镜像集合
- OSX EI Capitan(10.11.4) VMware虚拟机映像
- GarminUnlockerAlternativev8.0.1
- RARPasswordUnlocker3.2
- VMware虚拟机与CAS虚拟机互转操作步骤
- VMware虚拟机安装Win95图文说明
- 苹果OS X 10.11.1(15B42)及虚拟机VM12和
- PDF解密软件中文汉化最新绿色破解版
- vmware 11及OS X unlocker 2.0.3
- VM10的黑苹果补丁Unlocker for VMware work
- darwin和darwinPre15.zip
- vmware unlocker 206
- Unlocker 2.0.8 免积分
评论
共有 条评论