|
楼主 |
发表于 2019-7-17 09:53:11
|
显示全部楼层
我使用您提供的动态调用 system 函数后越狱真机调试,并没有任何反应,不知道是什么原因,我在想 电脑敲命令驱动手机安装IPA是要连ssh的,那这个是否需要?另外我IDA反编译某助手代码是这样的:
- else
- {
- objc_msgSend(CFSTR("echo 'szpt2014'|sudo -S ipainstaller "), "stringByAppendingString:", v4);
- objc_release(v4);
- objc_retainAutoreleasedReturnValue();
- v11 = (void *)objc_retainAutorelease();
- v6 = v11;
- v12 = (const char *)objc_msgSend(v11, "cStringUsingEncoding:", 1LL);
- v13 = system(v12);
- NSLog(CFSTR("%s[Line %d] ->i===========%d,"));
- if ( v13 == 256 )
- {
- v23 = _NSConcreteStackBlock;
- v24 = -1040187392;
- v25 = 0;
- v26 = __41__HomeViewController_installdebWithPath___block_invoke;
- v27 = &__block_descriptor_tmp_237_0;
- v28 = objc_retain(v3, v14);
- dispatch_async(&_dispatch_main_q, &v23);
- v15 = v28;
- }
- else
- {
- NSLog(CFSTR("%s[Line %d] ->安装失败"));
- v17 = _NSConcreteStackBlock;
- v18 = -1040187392;
- v19 = 0;
- v20 = __41__HomeViewController_installdebWithPath___block_invoke_240;
- v21 = &__block_descriptor_tmp_249_0;
- v22 = objc_retain(v3, v16);
- dispatch_async(&_dispatch_main_q, &v17);
- v15 = v22;
- }
- objc_release(v15);
- }
- objc_release(v6);
- }
复制代码
小白表示看不太懂反编译的代码,还求您再次指导该如何做 |
|