随笔分类 - ios
摘要:#!/bin/bash #选本替换成https://github.com/google/protobuf/releases/tag/v2.6.1 echo Building Google Protobuf for Mac OS X / iOS. echo Use 'tail -f build.log' to monitor progress. ( PREFIX=`pwd`/protobuf ...
阅读全文
摘要:plutil 查看文件指定字段内容plutil -p info.plist | grep CFBundleExecutable 查看info.plist文件中CFBundleExecutable字段中的内容class-dump 讲mach-0文件中的头文件提取出来class-dump -S -s -...
阅读全文
摘要:下载usbmuxd从这里12下载usbmuxd,解压到本地。我们要用到的只有python-client目录下的tcprelay.py和usbmux.py两个文件,把它们放到同一个目录下,如笔者的/Users/snakeninny/Code/USBSSH/使用usbmuxdusbmuxd的用法比较简单...
阅读全文
摘要:debugserver *:1234 -a "SpringBoard" //附加到SpringBoard 上debugserver -x backboard *:1234 /Applications/MobileNotes.app/MobileNotes 启动调试一个appimage list -o...
阅读全文
摘要:It seems that in your case you are trying to use aninstance variableof the class you are hooking. Modifying the instance variable does not work that w...
阅读全文
摘要:唉,说起来这就是一个坑,Cydia Substrate在其文档中也没找到详细说明,最后也只能来看看代码曾半仙最早给的那份substrate-master源码,然后一切就了然于胸了,这个坑很大,很大!!!现在我们先来看下MSHookFunction怎么Hook IDA中的sub_xxxx函数,然后再来...
阅读全文
摘要:资料http://ioscheaters.com/http://bbs.iosre.com/http://samdmarshall.com/re.htmlhttp://lldb.llvm.org/lldb-gdb.htmlhttp://iphonedevwiki.net/index.php/Debu...
阅读全文
摘要:#import #import #import void (*old_sub_ACF0)(void);void new_sub_ACF0(void){ // old_sub_ACF0(); NSLog(@"iOSRE: anti-anti-debugging");}%ct...
阅读全文
摘要:在进行App Store APP分析的时候,第一步要做的就是解密mach-o文件,解密的优秀工具有Crackulous,CrackNShare,clutch,但面临iOS的升级(或各种封杀)已逐渐不能使用了。今天要介绍的是Stefan Esser 大牛(iOS越狱大会的常驻嘉宾,iOS内核漏洞挖掘大...
阅读全文
摘要:步骤1:unzipYourApp.ipa步骤2:rm-rfPayload/YourApp.app/_CodeSignature步骤3:cpInHouse.mobileprovisionPayload/YourApp.app/embedded.mobileprovision步骤4:/usr/bin/c...
阅读全文
摘要:# get libsubstrate.dylib (multiple archs and supports arm64)cd ~/theos-rpetrich/libcurl -OL http://cdn.hbang.ws/dl/libsubstrate_arm64.dylibmv libsubst...
阅读全文
摘要:ssh 往手机拷贝文件scp /user/Desktop/xxxx/file root@192.168.30.16x: /var/root/.dbginit命令附加 attach pid attach processname断点 break(b) function b *address (b * ...
阅读全文
摘要:在启用 ssh 服务时,有时会看到如下提示:root@bt:~# /etc/init.d/ssh start* Starting OpenBSD Secure Shell server sshdCould not load host key: /etc/ssh/ssh_host_rsa_keyCou...
阅读全文
摘要:直接运行/usr/sbin/sshd出现Could not load host key: /etc/ssh_host_rsa_keyCould not load host key: /etc/ssh_host_dsa_key生成一下key/usr/bin/ssh-keygen -t dsa -f /...
阅读全文
摘要:在网上找了很久也没有找到解决方案,最后根据提示自己摸索如下:1.编辑/etc/sshd_config文件,注释掉#ForceCommand /usr/local/bin/ssh_session2.启动sshd服务:sudo launchctl load -w /System/Library/Laun...
阅读全文

浙公网安备 33010602011771号