VideoPane插件破解 - 基于正版锁定uuid
/*VidePane 1.1.5Cracked By PiaoYun
https://www.chinapyg.com
http://www.dllhook.com
2015-08-05
*/
#import <dlfcn.h>
#import <string.h>
extern "C" CFPropertyListRef MGCopyAnswer(CFStringRef property);
extern "C" unsigned char CC_MD5(const void *data, uint32_t len, unsigned char *md);
CFPropertyListRef MGCopyAnswer(CFStringRef property){
NSLog(@"[****]into MGCopyAnswer........");
CFPropertyListRef value = nil;
if (!strcmp(CFStringGetCStringPtr(property, kCFStringEncodingMacRoman), "UniqueDeviceID")) {
value = @"2731382773dbe08206ca8102977c0498d4941fa4"; //正版uuid
}else{
void *handle = dlopen("/usr/lib/libMobileGestalt.dylib", RTLD_GLOBAL | RTLD_LAZY);
/*
CFPropertyListRef (*pfnMGCopyAnswer)(CFStringRef) = (CFPropertyListRef (*)(CFStringRef))dlsym(handle, "MGCopyAnswer");
if (pfnMGCopyAnswer) {
value = pfnMGCopyAnswer(property);
}
*/
static CFStringRef (*$MGCopyAnswer)(CFStringRef);
$MGCopyAnswer = reinterpret_cast<CFStringRef (*)(CFStringRef)>(dlsym(handle, "MGCopyAnswer"));
if ($MGCopyAnswer) {
value = $MGCopyAnswer(property);
}
dlclose(handle);
}
return value;
}
unsigned char CC_MD5(const void *data, uint32_t len, unsigned char *md){
NSLog(@"[****]into CC_MD5........");
unsigned char ret = nil;
// 主程序大小
if (len == 0x53af0) {
NSLog(@"[****]计算主程序md5");
NSData *orig_data = ;
data = ;
}
void *handle = dlopen("/usr/lib/system/libcommonCrypto.dylib", RTLD_GLOBAL | RTLD_LAZY);
/*
unsigned char (*pfnCC_MD5)(const void *data, uint32_t len, unsigned char *md) = (unsigned char (*)(const void *data, uint32_t len, unsigned char *md))dlsym(handle, "CC_MD5");
if (pfnCC_MD5) {
ret = pfnCC_MD5(data, len, md);
}
*/
static unsigned char (*$CC_MD5)(const void *data, uint32_t len, unsigned char *md);
$CC_MD5 = reinterpret_cast<unsigned char (*)(const void *data, uint32_t len, unsigned char *md)>(dlsym(handle, "CC_MD5"));
if ($CC_MD5) {
ret = $CC_MD5(data, len, md);
}
dlclose(handle);
return ret;
}
__attribute__ ((constructor)) static void initialize(){
NSLog(@"[****]VidePanePass load success!!!");
}
/*
__attribute__ ((destructor)) static void finalizer() {
NSLog(@"[****]VidePanePass unload success!!!");
}
*/
正版uuid从老外泄漏~~0.编译成dylib 放到 /usr/lib目录1.复制一份 VideoPane.dylib原版到 VideoPane.backup2.十六进制工具修改 VideoPane.dylib ---> /usr/lib/libMobileGestalt.dylib 改为/usr/lib/libVidePanePass.dylib
飘大发的干货
玩IOS的书点收啊 支持飘总
支持你加分 谢谢分享啊~~~~~
锁定的方法~话说我开发了个工具箱在bigboss,最近弄了新版本,弄了一个检测机制。。。。 Min〆 发表于 2015-8-8 20:39
锁定的方法~话说我开发了个工具箱在bigboss,最近弄了新版本,弄了一个检测机制。。。。
只要有正版授权还没被封的uuid 无论你怎么检测 都 然并卵~~~
我从底层实现了一套anti-anti
飘云 发表于 2015-8-8 21:54
只要有正版授权还没被封的uuid 无论你怎么检测 都 然并卵~~~
我从底层实现了一套anti-anti
要不要这么牛犇啊?{:soso_e179:}
飘云 发表于 2015-8-8 21:54
只要有正版授权还没被封的uuid 无论你怎么检测 都 然并卵~~~
我从底层实现了一套anti-anti
是啊。这样就没办法了,,
编译楼主的文件报错啊,希望能够帮忙看下
** all for library wxlib...
In file included from wxlib.mm:8:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.4.sdk/usr/include/dlfcn.h:37:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.4.sdk/usr/include/sys/cdefs.h:680:2: error:
Unsupported architecture
#error Unsupported architecture
^
In file included from wxlib.mm:9:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.4.sdk/usr/include/string.h:61:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.4.sdk/usr/include/_types.h:27:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.4.sdk/usr/include/sys/_types.h:33:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.4.sdk/usr/include/machine/_types.h:34:2: error:
architecture not supported
#error architecture not supported
^
2 errors generated.
make: Nothing to be done for `internal-library-compile'.