资源简介
vmware workstation 11用MAC补丁,管理员运行INSTALL即可。
代码片段和文件信息
#!/usr/bin/python
# The MIT License (MIT)
#
# Copyright (c) 2014 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
import struct
import sys
def bytetohex(bytestr):
return ‘‘.join([‘%02X ‘ % ord(x) for x in bytestr]).strip()
def printkey(i smc_key smc_data):
print str(i+1).zfill(3) \
+ ‘ ‘ + smc_key[0][::-1] \
+ ‘ ‘ + str(smc_key[1]).zfill(2) \
+ ‘ ‘ + smc_key[2][::-1] \
+ ‘ ‘ + ‘{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])
# Dump entry
printkey(i smc_key smc_data)
# Exit when OSK1 has been read
if smc_key[0] == ‘1KSO‘:
break
else:
i += 1
def dumpsmc(name):
with open(name ‘r+b‘) as f:
# Read file into string variable
vmx = f.read()
print ‘File: ‘ + name
# Setup hex string
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 5803200 2015-05-31 07:59 unlocker203\backup\vmwareba
文件 26267328 2015-08-10 22:18 unlocker203\backup\x64\vmware-vmx-debug.exe
文件 23572160 2015-08-10 22:18 unlocker203\backup\x64\vmware-vmx-stats.exe
文件 20865216 2015-08-10 22:18 unlocker203\backup\x64\vmware-vmx.exe
文件 3546362 2015-01-02 17:44 unlocker203\dumpsmc.exe
文件 5218 2014-12-29 11:49 unlocker203\dumpsmc.py
文件 2097152 2015-01-02 15:41 unlocker203\firmware\efi32-srvr.rom
文件 2097152 2015-01-02 11:52 unlocker203\firmware\efi64-srvr.rom
文件 732 2014-12-17 11:19 unlocker203\lnx-install.sh
文件 692 2014-12-09 11:36 unlocker203\lnx-uninstall.sh
文件 788 2014-12-04 19:25 unlocker203\osx-install.sh
文件 752 2014-12-04 19:26 unlocker203\osx-uninstall.sh
文件 4674 2015-01-02 18:58 unlocker203\readme.txt
文件 3057664 2014-11-25 06:15 unlocker203\tools\darwin.iso
文件 256 2014-11-25 06:15 unlocker203\tools\darwin.iso.sig
文件 3547556 2015-01-02 17:44 unlocker203\vmxsmc.exe
文件 11286 2015-01-02 17:41 unlocker203\vmxsmc.py
文件 1370 2014-12-14 10:08 unlocker203\win-install.cmd
文件 1165 2014-12-09 10:24 unlocker203\win-uninstall.cmd
目录 0 2015-08-10 22:21 unlocker203\backup\x64
目录 0 2015-08-10 22:21 unlocker203\backup
目录 0 2015-08-10 22:18 unlocker203\firmware
目录 0 2015-08-10 22:18 unlocker203\tools
目录 0 2015-08-10 22:21 unlocker203
----------- --------- ---------- ----- ----
90880723 24
相关资源
- unlocker-master v2.1.1
- 精通VMware vSphere 6
- VMware 10.0.3 精简版能用的linux.iso
- vmware-viclient-all-5.5.0-1281650.part5.rar
- VMWARE ESXI 6.5 up1已打包realtek瑞昱系列网
- VMware-Horizon-Agent-x86_64-7.6.0-9539447
- VMware14安装macOS10.14.6图解详细安装
- VMWARE WIN98.ISO part3
-
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 高清版
- VMware-Tools-windows-11.0.5-15389592.zip
- VMware vSphere 6.5 全套中文手册
- Mastering VMware Horizon 7 - Second Edition -
- VMware vSphere6学习资料.rar
- VMware-VMRC-11.1.0-15913118.exe
- VMware-converter-6.2.0-73483980.rar
- VMware Horizon Client -4.3.0
- Horizon 7.5.0 View Agent (64-bit) VMware-v
- VMware converter6.2.0
- VMware-Horizon-Connection-Server-x86_64-7.6.0-
- VMWARE ESXI 6.5 up1已打包realtek瑞昱系列网
- 新一代SDN VMware NSX 网络原理与实践
- Vxworks在虚拟机Vmware10运行包
- VMWare Tools for Windows 11.0.6
- VMware vSphere企业运维实战.pdf
- VMware vSphere6.7秘钥243870
- VMware 15 pro 经典版本
评论
共有 条评论