资源简介
VMWare workstation 9 安装 Mac os x 10.8 系统必备补丁:unlock-all-v110.zip

代码片段和文件信息
/*
* Unlocker.cpp
*
* Created by Zenith432 on September 25 2011.
* Copyright 2011 Zenith432. All rights reserved.
*
* Permission is hereby granted to use this code as you please.
* Mods by Dave Parsons January 24 2012.
*/
#ifdef _WIN32
#include
#define WIN32_LEAN_AND_MEAN
#include
#define PATH_SEP ‘\\‘
#else /* _WIN32 */
#include
#include
#include
#include
#define PATH_SEP ‘/‘
#endif /* _WIN32 */
#include
#include
#include
#include
#define LOGGING
#define ROT 13U
using std::cout;
using std::cerr;
using std::endl;
using std::string;
namespace {
char const random[] = “bheuneqjbexolgurfrjbeqfthneqrqcyrnfrqbagfgrny(p)NccyrPbzchgreVap“;
int uninstall = 0;
#ifdef __ESXi__
struct _esxi_t {
int fd;
void* points[3];
size_t sizes[3];
} esxi;
#endif /* __ESXi__ */
#ifdef _WIN32
char const x64[] = “x64\\“;
char const vmx[] = “vmware-vmx.exe“;
char const vmx_debug[] = “vmware-vmx-debug.exe“;
char const vmx_stats[] = “vmware-vmx-stats.exe“;
char const vmwarebase[] = “vmwarebase.dll“;
char const subKey1[] = “SOFTWARE\\VMware Inc.\\VMware Workstation“;
char const subKey2[] = “SOFTWARE\\VMware Inc.\\VMware Player“;
char const value1[] = “InstallPath“;
char const value2[] = “InstallPath64“;
#endif /* _WIN32 */
#ifdef __APPLE__
char const vmx[] = “vmware-vmx“;
char const vmx_debug[] = “vmware-vmx-debug“;
char const vmx_stats[] = “vmware-vmx-stats“;
char const vmwarebase[] = “libvmwarebase.dylib“;
char const install_path[] = “/Applications/VMware Fusion.app/Contents/“;
char const vmx_path[] = “Library/“;
char const vmwarebase_path[] = “frameworks/“;
#endif /* __APPLE__ */
#ifdef __ESXi__
char const vmx[] = “vmx“;
char const vmx_debug[] = “vmx-debug“;
char const vmx_stats[] = “vmx-stats“;
char const install_path[] = “/bin/“;
#elif defined(__linux__)
char const vmx[] = “vmware-vmx“;
char const vmx_debug[] = “vmware-vmx-debug“;
char const vmx_stats[] = “vmware-vmx-stats“;
char const vmwarebase[] = “libvmwarebase.so.0“;
char const install_path[] = “/usr/lib/vmware/“;
char const vmx_path[] = “bin/“;
char const vmwarebase_path[] = “lib/libvmwarebase.so.0/“;
#endif /* __ESXi__ || __linux__ */
void rot13(void* base size_t length)
{
unsigned char c e *p *q;
p = static_cast(base);
q = p + length;
for (; p != q; ++p) {
c = *p;
if (c >=‘A‘ && c <=‘Z‘) {
if ((e = c + ROT) <= ‘Z‘)
*p = e;
else
*p = c - ROT;
} else if (c >=‘a‘ && c <=‘z‘) {
if ((e = c + ROT) <= ‘z‘)
*p = e;
else
*p = c - ROT;
}
}
}
void osk0(char* tail)
{
#ifdef LOGGING
cout << “Found OSK0 @ “ << static_cast(tail) << endl;
#endif /* LOGGING */
if (*tail)
return;
#ifdef __ESXi__
esxi.points[0] = &tail[1];
esxi.sizes[0] = 32U;
#endif /* __ESXi__ */
if (uninstall) {
memset(&tail[1] 0 32U);
return;
}
memcpy(&tail[1] &random[0] 32U);
rot13(&tail[1] 32U);
}
void osk1(char* tail)
{
#ifdef LOGGIN
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2012-03-20 12:29 unlock-all-v110\
目录 0 2012-03-20 12:29 unlock-all-v110\esxi\
文件 901 2012-05-10 14:29 unlock-all-v110\esxi\install.sh
文件 452 2012-05-10 15:02 unlock-all-v110\esxi\uninstall.sh
文件 1209912 2012-03-20 12:29 unlock-all-v110\esxi\Unlocker.ESXi
目录 0 2012-03-20 12:29 unlock-all-v110\linux\
文件 498 2012-03-20 12:29 unlock-all-v110\linux\install.sh
文件 488 2012-03-20 12:29 unlock-all-v110\linux\uninstall.sh
文件 1064344 2012-03-20 12:29 unlock-all-v110\linux\Unlocker.Linux32
文件 1209912 2012-03-20 12:29 unlock-all-v110\linux\Unlocker.Linux64
目录 0 2012-03-20 12:29 unlock-all-v110\osx\
文件 243 2012-03-20 12:29 unlock-all-v110\osx\install.sh
文件 243 2012-03-20 12:29 unlock-all-v110\osx\uninstall.sh
文件 13680 2012-03-20 12:29 unlock-all-v110\osx\Unlocker.OSX
文件 3985 2012-05-10 15:01 unlock-all-v110\readme.txt
目录 0 2012-03-20 12:29 unlock-all-v110\src\
文件 533 2012-03-20 12:29 unlock-all-v110\src\Makefile
文件 15139 2012-03-20 12:29 unlock-all-v110\src\Unlocker.cpp
文件 882 2012-03-20 12:29 unlock-all-v110\src\Unlocker.sln
文件 3751 2012-03-20 12:29 unlock-all-v110\src\Unlocker.vcxproj
目录 0 2012-03-20 12:29 unlock-all-v110\tools\
文件 13172736 2012-03-20 12:29 unlock-all-v110\tools\darwin.iso
文件 256 2012-03-20 12:29 unlock-all-v110\tools\darwin.iso.sig
目录 0 2012-03-20 12:29 unlock-all-v110\windows\
文件 912 2012-03-20 12:29 unlock-all-v110\windows\install.cmd
文件 902 2012-03-20 12:29 unlock-all-v110\windows\uninstall.cmd
文件 139264 2012-03-20 12:29 unlock-all-v110\windows\Unlocker.exe
- 上一篇:XX商业银行核心业务系统架构方案.ppt
- 下一篇:zigbee经典著作,强烈推荐
相关资源
- 黑苹果硬件兼容检测和查询软件
- 硬盘秒解封
- ReportMachine 交叉报表 学生成绩表
- windows下制作macOS安装U盘,绝对简单好
- SMAC用户详解手册
- reportmachine帮助电子书
- Macromedia Fireworks V8.0 简体中文版
- HD3000黑苹果显卡驱动MAC版完美
- Mac电脑串口工具(2018)
- Studies In Vitro and In Vivo of Pharmacologica
- Research on pharmacological effects of lycorin
- 使用希格斯精度数据的Georgi-Machacek模
- RTL8111 8168等网卡刷mac地址工具软件
-
Macromedia Flash MX Actionsc
ript for Fun an - Dr. Cleaner Pro mac破解版
- Hillstone ARP防护——StoneOS如何保
- LICECap for mac
- mac数据生成器
- AxureRP_for_chorme
- ida pro for mac 破解版 含解决打开就显示
- FMEDesktop2019特别版forMacv2019.0.0.0.19181苹
- 基于Arduino和Machtalk的温棚环境监测系
- MACD无极版2 0 MT4专用版
- Rademacher和BPS混合黑洞
- mac系统显卡N卡驱动kext
- OS X 10.8.3懒人镜像
- Macbook air superdrive win10 x64驱动
- VMware 8安装Mac OS X 10.8 Lion系统及工具包
- 获取电脑硬件的详细信息,与注册有
- 完美解决苹果MacBook无法对NTFS格式的
评论
共有 条评论