首页
社区
课程
招聘
[原创]IDA及插件MIPSROP安装——《揭秘家用路由器0day漏洞挖掘技术》学习笔记
2022-7-2 15:59 7382

[原创]IDA及插件MIPSROP安装——《揭秘家用路由器0day漏洞挖掘技术》学习笔记

2022-7-2 15:59
7382

虚拟机环境:Ubuntu20.04

wine下载安装

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#原文链接:https://blog.csdn.net/zmkzmkok/article/details/115003551
 
# 如果您使用的是 64 位系统,请开启 32 bit 架构支持(如果您之前没有开启的话):
sudo dpkg --add-architecture i386
 
# 下载添加仓库密钥:
wget -nc https://dl.winehq.org/wine-builds/winehq.key
sudo apt-key add winehq.key
 
# 并添加仓库:
sudo add-apt-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ focal main'
 
# 更新安装包:
sudo apt-get update
 
# 安装稳定分支:
sudo apt-get install --install-recommends winehq-stable
 
# 验证安装情况:
wine --version

IDA7.5下载:

https://www.onlinedown.net/iopdfbhjl/9278?module=download&t=website

将windows下的ida复制到Ubuntu虚拟机中,进入IDA目录

1
2
#启动IDA
wine ./ida.exe

IDA启动后报错,且打开IDA后发现左下角没有Python选项

0108:err:module:import_dll Library python3.dll (which is needed by L"Z:\home\ubuntu20-1\idapro75\plugins\idapython3.dll") not found

在这里插入图片描述

解决方法:安装python3.8(IDA7.5需要python3.x)

IDAPython安装

https://www.python.org/ftp/python/3.8.3/python-3.8.3-amd64.exe
下载到Ubuntu中的IDA文件夹,打开后一路默认安装,重启IDA,IDA左下角已出现Python选项
在这里插入图片描述

IDA插件MIPSROP安装

方法1:

参考看雪评论区Lpwn:https://bbs.pediy.com/thread-266102.htm

 

下载mipsrop.zip压缩包,解压后放到IDA安装目录中的plugins目录,重启IDA即可

 

压缩包下载链接:
链接:https://pan.baidu.com/s/1PawhfKbLLELspxzCUa8TUw?pwd=8jf4
提取码:8jf4

方法2:

参考链接:https://blog.csdn.net/weixin_43194921/article/details/104703121

1
2
3
4
5
6
7
8
#从GitHub下载插件到ida-plugins文件夹:
git clone https://github.com/devttys0/ida.git ida-plugins
#进入目录安装
cd ida-plugins
#-h选项查看install.py帮助
python ./install.py -h
#~/idapro75为IDA的安装路径
python ./install.py -i -d ~/idapro75

在这里插入图片描述
在这里插入图片描述

安装完成后,在edit选项的plugins中已有MIPSROP插件

在这里插入图片描述

命令行输入
1
mipsrop.stackfinders()
报错:NameError: name 'mipsrop' is not defined

在这里插入图片描述

解决方法:在菜单栏search中选择 mips rop gadgets 后,在命令行中输入mipsrop.stackfinders() 即可,结果如图

在这里插入图片描述


[培训]内核驱动高级班,冲击BAT一流互联网大厂工作,每周日13:00-18:00直播授课

最后于 2022-7-2 16:00 被wx_牛牛_292编辑 ,原因:
收藏
点赞3
打赏
分享
最新回复 (1)
雪    币: 10
能力值: ( LV1,RANK:0 )
在线值:
发帖
回帖
粉丝
ChaosFat 2022-8-15 13:19
2
0
游客
登录 | 注册 方可回帖
返回