MAC OS :vmware虚拟机MAC补丁包unlock-all-v120
代码片段和文件信息
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2013-09-18 18:30 unlock-all-v120
目录 0 2013-09-18 18:30 unlock-all-v120esxi
文件 1022 2013-09-18 18:30 unlock-all-v120esxiinstall.sh
文件 394 2013-09-18 18:30 unlock-all-v120esxiuninstall.sh
文件 1343792 2013-09-18 18:30 unlock-all-v120esxiUnlocker.ESXi
目录 0 2013-09-18 18:30 unlock-all-v120linux
文件 508 2013-09-18 18:30 unlock-all-v120linuxinstall.sh
文件 498 2013-09-18 18:30 unlock-all-v120linuxuninstall.sh
文件 1274692 2013-09-18 18:30 unlock-all-v120linuxUnlocker.Linux32
文件 1343792 2013-09-18 18:30 unlock-all-v120linuxUnlocker.Linux64
目录 0 2013-09-18 18:30 unlock-all-v120osx
文件 253 2013-09-18 18:30 unlock-all-v120osxinstall.sh
文件 260 2013-09-18 18:30 unlock-all-v120osxuninstall.sh
文件 13752 2013-09-18 18:30 unlock-all-v120osxUnlocker.OSX
文件 4524 2013-09-18 18:39 unlock-all-v120
eadme.txt
目录 0 2013-09-18 18:30 unlock-all-v120src
文件 438 2013-09-18 18:30 unlock-all-v120srcuild.sh
文件 92 2013-09-18 18:30 unlock-all-v120srcclean.sh
文件 515 2013-09-18 18:30 unlock-all-v120srcMakefile
文件 17414 2013-09-18 18:30 unlock-all-v120srcUnlocker.cpp
文件 882 2013-09-18 18:30 unlock-all-v120srcUnlocker.sln
文件 3933 2013-09-18 18:30 unlock-all-v120srcUnlocker.vcxproj
目录 0 2013-09-18 18:34 unlock-all-v120 ools
文件 9879552 2013-08-27 22:52 unlock-all-v120 oolsdarwin.iso
文件 256 2013-08-27 22:52 unlock-all-v120 oolsdarwin.iso.sig
目录 0 2013-09-18 18:30 unlock-all-v120windows
文件 921 2013-09-18 18:30 unlock-all-v120windowsinstall.cmd
文件 911 2013-09-18 18:30 unlock-all-v120windowsuninstall.cmd
文件 559104 2013-09-18 18:30 unlock-all-v120windowsUnlocker.exe
/*
* 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 13/07/13.
*/
#ifdef _WIN32
#include
#define WIN32_LEAN_AND_MEAN
#include
#define PATH_SEP ‘\‘
#else /* _WIN32 */
#include
#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) {
memse
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2013-09-18 18:30 unlock-all-v120
目录 0 2013-09-18 18:30 unlock-all-v120esxi
文件 1022 2013-09-18 18:30 unlock-all-v120esxiinstall.sh
文件 394 2013-09-18 18:30 unlock-all-v120esxiuninstall.sh
文件 1343792 2013-09-18 18:30 unlock-all-v120esxiUnlocker.ESXi
目录 0 2013-09-18 18:30 unlock-all-v120linux
文件 508 2013-09-18 18:30 unlock-all-v120linuxinstall.sh
文件 498 2013-09-18 18:30 unlock-all-v120linuxuninstall.sh
文件 1274692 2013-09-18 18:30 unlock-all-v120linuxUnlocker.Linux32
文件 1343792 2013-09-18 18:30 unlock-all-v120linuxUnlocker.Linux64
目录 0 2013-09-18 18:30 unlock-all-v120osx
文件 253 2013-09-18 18:30 unlock-all-v120osxinstall.sh
文件 260 2013-09-18 18:30 unlock-all-v120osxuninstall.sh
文件 13752 2013-09-18 18:30 unlock-all-v120osxUnlocker.OSX
文件 4524 2013-09-18 18:39 unlock-all-v120
eadme.txt
目录 0 2013-09-18 18:30 unlock-all-v120src
文件 438 2013-09-18 18:30 unlock-all-v120srcuild.sh
文件 92 2013-09-18 18:30 unlock-all-v120srcclean.sh
文件 515 2013-09-18 18:30 unlock-all-v120srcMakefile
文件 17414 2013-09-18 18:30 unlock-all-v120srcUnlocker.cpp
文件 882 2013-09-18 18:30 unlock-all-v120srcUnlocker.sln
文件 3933 2013-09-18 18:30 unlock-all-v120srcUnlocker.vcxproj
目录 0 2013-09-18 18:34 unlock-all-v120 ools
文件 9879552 2013-08-27 22:52 unlock-all-v120 oolsdarwin.iso
文件 256 2013-08-27 22:52 unlock-all-v120 oolsdarwin.iso.sig
目录 0 2013-09-18 18:30 unlock-all-v120windows
文件 921 2013-09-18 18:30 unlock-all-v120windowsinstall.cmd
文件 911 2013-09-18 18:30 unlock-all-v120windowsuninstall.cmd
文件 559104 2013-09-18 18:30 unlock-all-v120windowsUnlocker.exe
版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容, 请发送邮件举报,一经查实,本站将立刻删除。
评论列表(条)