转:http://bbs./t/uninstallpkg/3450
软件地址:http://www./uninstallpkg/7 软件版本:v1.0.20(969) 系统环境:OS X 10.11
方法1: 修改 ~/Library/Preferences/com.corecode.UninstallPKG.plist的Usages属性,只要小于5,就可以一直试用下去
方法2: 经过Hopper分析,该程序判断注册没有的关键函数是[Paddle productActivated]方法,hook这个方法返回true就大功告成了
代码:
//https://github.com/rpetrich/CaptainHook CHMethod(0, BOOL, Paddle, productActivated) { __attribute__((constructor)) static void entry() { CHClassHook(0, Paddle, productActivated);
编译生成libUninstallPkgCracked.dylib 只需要UninstallPkg程序加载我们的dylib,就可以破解了 加载dylib的方法有很多,我们这里用DYLD_INSERT_LIBRARIES
打开目录/Applications/UninstallPKG.app/Contents/MacOS/ 复制libUninstallPkgCracked.dylib到该目录下 修改UninstallPKG为UninstallPKG_ 新建UninstallPKG,文本编辑器输入一下内容:
UP_PATH="`dirname "${0}"`" UP_BIN="`dirname "${0}"`"/UninstallPKG_ export DYLD_INSERT_LIBRARIES="${UP_PATH}/libUninstallPkgCracked.dylib"
保存,添加可执行属性 chmod 755 UninstallPKG
OK,再打开UninstallPKG试试,已经没有注册提示了
|