資源簡介
vm 安裝虛擬機 解鎖mac os unlocker-3.0.3 最新版本。破解之后就可以用 vm 安裝 mac os 操作系統了,最高支持 10.16
代碼片段和文件信息
#!/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??2020-10-09?14:38??unlocker-3.0.3\
?????文件?????????395??2020-10-09?14:33??unlocker-3.0.3\.gitattributes
?????文件??????????64??2020-10-09?14:33??unlocker-3.0.3\.gitignore
?????文件????????2878??2020-10-09?14:33??unlocker-3.0.3\darwin.md
?????文件?????3846860??2020-10-09?14:33??unlocker-3.0.3\dumpsmc.exe
?????文件????????5598??2020-10-09?14:33??unlocker-3.0.3\dumpsmc.py
?????文件?????5007706??2020-10-09?14:33??unlocker-3.0.3\gettools.exe
?????文件????????8495??2020-10-09?14:33??unlocker-3.0.3\gettools.py
?????文件????????1098??2020-10-09?14:33??unlocker-3.0.3\LICENSE
?????文件?????????997??2020-10-09?14:33??unlocker-3.0.3\lnx-install.sh
?????文件?????????921??2020-10-09?14:33??unlocker-3.0.3\lnx-uninstall.sh
?????文件?????????454??2020-10-09?14:33??unlocker-3.0.3\lnx-update-tools.sh
?????文件????????4536??2020-10-09?14:33??unlocker-3.0.3\readme.txt
?????文件????????3006??2020-10-09?14:33??unlocker-3.0.3\test-unlocker.py
?????文件?????4997523??2020-10-09?14:33??unlocker-3.0.3\unlocker.exe
?????文件???????13242??2020-10-09?14:33??unlocker-3.0.3\unlocker.py
?????文件?????????221??2020-10-09?14:33??unlocker-3.0.3\win-build.cmd
?????文件????????1693??2020-10-09?14:33??unlocker-3.0.3\win-install.cmd
?????文件????????1704??2020-10-09?14:33??unlocker-3.0.3\win-test-install.cmd
?????文件????????1411??2020-10-09?14:33??unlocker-3.0.3\win-uninstall.cmd
?????文件?????????643??2020-10-09?14:33??unlocker-3.0.3\win-update-tools.cmd
?????文件??????????27??2020-10-09?14:38??unlocker-3.0.3\新建文本文檔.txt
評論
共有 條評論