飘云阁

 找回密码
 加入我们

QQ登录

只需一步,快速开始

查看: 10958|回复: 20

[iOS] VideoPane插件破解 - 基于正版锁定uuid

[复制链接]
  • TA的每日心情
    开心
    2016-6-16 14:07
  • 签到天数: 10 天

    [LV.3]偶尔看看II

    发表于 2015-8-5 17:52:32 | 显示全部楼层 |阅读模式
    1. /*
    2. VidePane 1.1.5  Cracked By PiaoYun
    3. [url=https://www.chinapyg.com]https://www.chinapyg.com[/url]
    4. [url=http://www.dllhook.com]http://www.dllhook.com[/url]
    5. 2015-08-05
    6. */

    7. #import <dlfcn.h>
    8. #import <string.h>

    9. extern "C" CFPropertyListRef MGCopyAnswer(CFStringRef property);
    10. extern "C" unsigned char CC_MD5(const void *data, uint32_t len, unsigned char *md);

    11. CFPropertyListRef MGCopyAnswer(CFStringRef property){
    12.     NSLog(@"[****]into MGCopyAnswer........");
    13.    
    14.     CFPropertyListRef value = nil;
    15.    
    16.     if (!strcmp(CFStringGetCStringPtr(property, kCFStringEncodingMacRoman), "UniqueDeviceID")) {
    17.         value = @"2731382773dbe08206ca8102977c0498d4941fa4"; //正版uuid
    18.     }else{
    19.         void *handle = dlopen("/usr/lib/libMobileGestalt.dylib", RTLD_GLOBAL | RTLD_LAZY);

    20.         /*
    21.         CFPropertyListRef (*pfnMGCopyAnswer)(CFStringRef) = (CFPropertyListRef (*)(CFStringRef))dlsym(handle, "MGCopyAnswer");

    22.         if (pfnMGCopyAnswer) {
    23.             value = pfnMGCopyAnswer(property);
    24.         }
    25.         */

    26.         static CFStringRef (*$MGCopyAnswer)(CFStringRef);
    27.         $MGCopyAnswer = reinterpret_cast<CFStringRef (*)(CFStringRef)>(dlsym(handle, "MGCopyAnswer"));
    28.         
    29.         if ($MGCopyAnswer) {
    30.             value = $MGCopyAnswer(property);
    31.         }
    32.         dlclose(handle);
    33.     }
    34.     return value;
    35. }

    36. unsigned char CC_MD5(const void *data, uint32_t len, unsigned char *md){
    37.     NSLog(@"[****]into CC_MD5........");
    38.    
    39.     unsigned char ret = nil;
    40.     // 主程序大小
    41.     if (len == 0x53af0) {
    42.         NSLog(@"[****]计算主程序md5");
    43.         NSData *orig_data = [NSData dataWithContentsOfFile:@"/Library/MobileSubstrate/DynamicLibraries/VideoPane.backup"];
    44.         data = [orig_data bytes];
    45.     }
    46.    
    47.     void *handle = dlopen("/usr/lib/system/libcommonCrypto.dylib", RTLD_GLOBAL | RTLD_LAZY);
    48.     /*
    49.     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");
    50.    
    51.     if (pfnCC_MD5) {
    52.         ret = pfnCC_MD5(data, len, md);
    53.     }
    54.     */
    55.     static unsigned char (*$CC_MD5)(const void *data, uint32_t len, unsigned char *md);
    56.     $CC_MD5 = reinterpret_cast<unsigned char (*)(const void *data, uint32_t len, unsigned char *md)>(dlsym(handle, "CC_MD5"));

    57.     if ($CC_MD5) {
    58.         ret = $CC_MD5(data, len, md);
    59.     }

    60.    
    61.     dlclose(handle);
    62.    
    63.     return ret;
    64. }


    65. __attribute__ ((constructor)) static void initialize(){
    66.     NSLog(@"[****]VidePanePass load success!!!");
    67. }

    68. /*
    69. __attribute__ ((destructor)) static void finalizer() {
    70.     NSLog(@"[****]VidePanePass unload success!!!");
    71. }
    72. */
    复制代码






    正版uuid从老外泄漏~~

    0.编译成dylib 放到 /usr/lib目录

    1.复制一份 VideoPane.dylib  原版到 VideoPane.backup

    2.十六进制工具修改 VideoPane.dylib   

    ---> /usr/lib/libMobileGestalt.dylib   改为  /usr/lib/libVidePanePass.dylib


    评分

    参与人数 2威望 +36 飘云币 +52 收起 理由
    creantan + 20 + 20 很给力!
    GeekCat + 16 + 32 赞一个!

    查看全部评分

    PYG19周年生日快乐!
  • TA的每日心情
    开心
    2019-3-25 14:18
  • 签到天数: 881 天

    [LV.10]以坛为家III

    发表于 2015-8-5 19:24:30 | 显示全部楼层
    飘大发的干货
    玩IOS的书点收啊
    PYG19周年生日快乐!
  • TA的每日心情
    开心
    前天 11:16
  • 签到天数: 953 天

    [LV.10]以坛为家III

    发表于 2015-8-6 08:31:45 | 显示全部楼层

    支持你加分
    PYG19周年生日快乐!
  • TA的每日心情
    奋斗
    2015-12-21 23:22
  • 签到天数: 15 天

    [LV.4]偶尔看看III

    发表于 2015-8-8 15:00:02 | 显示全部楼层
    谢谢分享啊~~~~~
    PYG19周年生日快乐!
  • TA的每日心情
    开心
    2020-5-26 09:10
  • 签到天数: 22 天

    [LV.4]偶尔看看III

    发表于 2015-8-8 20:39:11 | 显示全部楼层
    锁定的方法~话说我开发了个工具箱在bigboss,最近弄了新版本,弄了一个检测机制。。。。

    点评

    只要有正版授权还没被封的uuid 无论你怎么检测 都 然并卵~~~  详情 回复 发表于 2015-8-8 21:54
    PYG19周年生日快乐!
  • TA的每日心情
    开心
    2016-6-16 14:07
  • 签到天数: 10 天

    [LV.3]偶尔看看II

     楼主| 发表于 2015-8-8 21:54:15 | 显示全部楼层
    Min〆 发表于 2015-8-8 20:39
    锁定的方法~话说我开发了个工具箱在bigboss,最近弄了新版本,弄了一个检测机制。。。。

    只要有正版授权还没被封的uuid 无论你怎么检测 都 然并卵~~~
    我从底层实现了一套anti-anti

    点评

    要不要这么牛犇啊?  详情 回复 发表于 2015-8-8 22:00
    PYG19周年生日快乐!
  • TA的每日心情
    开心
    2015-8-23 23:49
  • 签到天数: 27 天

    [LV.4]偶尔看看III

    发表于 2015-8-8 22:00:46 | 显示全部楼层
    飘云 发表于 2015-8-8 21:54
    只要有正版授权还没被封的uuid 无论你怎么检测 都 然并卵~~~
    我从底层实现了一套anti-anti

    要不要这么牛犇啊?{:soso_e179:}
    PYG19周年生日快乐!
  • TA的每日心情
    开心
    2020-5-26 09:10
  • 签到天数: 22 天

    [LV.4]偶尔看看III

    发表于 2015-8-9 18:05:45 | 显示全部楼层
    飘云 发表于 2015-8-8 21:54
    只要有正版授权还没被封的uuid 无论你怎么检测 都 然并卵~~~
    我从底层实现了一套anti-anti

    是啊。这样就没办法了,,
    PYG19周年生日快乐!
  • TA的每日心情
    奋斗
    2015-8-27 16:14
  • 签到天数: 1 天

    [LV.1]初来乍到

    发表于 2015-8-26 12:22:49 | 显示全部楼层
    编译楼主的文件报错啊,希望能够帮忙看下
    ** 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[2]: Nothing to be done for `internal-library-compile'.
    PYG19周年生日快乐!
    您需要登录后才可以回帖 登录 | 加入我们

    本版积分规则

    快速回复 返回顶部 返回列表