iOS逆向学习笔记

iOS逆向学习笔记

  1. 环境配置参考:AloneMonkey
    配置环境过程中遇到问题及解决

1.1$brew install ldid 如何报如下错误

Error:
homebrew-core is a shallow clone.在这里插入图片描述

首先按照提示执行:
$ git -C /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core fetch–unshallow
$ brew update 结果发现行不通。
执行brew udate 依然会报同样的错误

解决办法: 删除关键文件执行:

$ rm -rf /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/
然后执行
$ brew update 显示Already up-to-date. 说明执行成功。

2.如果安装的时候又报如下错误:

在这里插入图片描述

解决办法:通过修改hosts重新建立连接。

           到右边的连接[这里](https://www.ipaddress.com)查看真正的ip 
           修改host:【这里是你看到的ip】raw.githubusercontent.com 重新安装。

3.sshpass安装出错

sshpass: 用于非交互的ssh 密码验证
ssh登陆不能在命令行中指定密码,也不能以shell中随处可见的,sshpass 的出现,解决了这一问题。它允许你用 -p 参数指定明文密码,然后直接登录远程服务器。 它支持密码从命令行,文件,环境变量中读取
安装sshpass
$ curl -O -L http://downloads.sourceforge.net/project/sshpass/sshpass/1.06/sshpass-1.06.tar.gz && tar xvzf sshpass-1.06.tar.gz && cd sshpass-1.06 && ./configure && make && sudo make install
安装后执行sshpass -V查看版
$ sshpass -V

$ sshpass -h查看帮助

Usage: sshpass [-f|-d|-p|-e] [-hV] command parameters
-f filename Take password to use from file
-d number Use number as file descriptor for getting password
-p password Provide password as argument (security unwise)
-e Password is passed as env-var “SSHPASS”
With no parameters - password will be taken from stdin

-P prompt Which string should sshpass search for to detect a password prompt
-v Be verbose about what you’re doing
-h Show help (this screen)
-V Print version information
At most one of -f, -d, -p or -e should be used
sshpass 参数 SSH命令(ssh,sftp,scp等)。
参数:
-p password //将参数password作为密码。
-f passwordfile //提取文件passwordfile的第一行作为密码。

-d 使用数字作为文件描述符来获取密码
-e //将环境变量SSHPASS作为密码。

另外,对于ssh的第一次登陆,会提示:“Are you sure you want to continue connecting (yes/no)”,这时用sshpass会不好使,可以在ssh命令后面加上 -o StrictHostKeyChecking=no来解决。比如说上面的命令,就可以写作ssh -p efghi scp abc@192.168.0.5:/home/xxx/test /root -o StrictHostKeyChecking=no。

查看这里

安装报错

查看MonkeyDev安装

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值