当前位置:网站首页>逆向工具IDA、GDB使用
逆向工具IDA、GDB使用
2022-06-23 22:18:00 【大瑞大】
GDB配置
1.安装peda插件
git clone https://github.com/longld/peda.git ~/peda
echo "source ~/peda/peda.py" >> ~/.gdbinit
其实就是下载完成后, 将 source ~/peda/peda.py 写入 ~/.gdbinit
2.打开gdb:
gdb

IDA配置
一、打开链接https://pan.baidu.com/s/17RsYQjhBz20rV0QO0LbCWg 下载IDA pro7.0的安装包
提取码为:dpo7
二、在电脑上找到你想要安装的位置文件夹,注意不要有中文路径,不然可能无法正常使用。
三、将安装包解压到该文件即可。
常用教程
IDA目录结构
在IDA的安装根目录下有许多文件夹,各个文件夹存储不同的内容
cfg:包含各种配置文件,基本IDA配置文件ida.cfg,GUI配置文件idagui.cfg,文本模式用户界面配置文件idatui.cfg,
idc:包含IDA内置脚本语言IDC所需要的核心文件
ids:包含一些符号文件
loaders:包含用于识别和解析PE或者ELF
plugins:附加的插件模块
procs:包含处理器模块
常用快捷键
IDA中的快捷键都是和菜单栏的各个功能选项一一对应的,基本上你只要能在菜单栏上找到某个功能,也就能看到相应的快捷键,这里记录几个常用的:
a:将数据转换为字符串
f5:一键反汇编
esc:回退键,能够倒回上一部操作的视图(只有在反汇编窗口才是这个作用,如果是在其他窗口按下esc,会关闭该窗口)
shift+f12:可以打开string窗口,一键找出所有的字符串,右击setup,还能对窗口的属性进行设置
ctrl+w:保存ida数据库
ctrl+s:选择某个数据段,直接进行跳转
ctrl+鼠标滚轮:能够调节流程视图的大小
x:对着某个函数、变量按该快捷键,可以查看它的交叉引用
g:直接跳转到某个地址
n:更改变量的名称
y:更改变量的类型
/ :在反编译后伪代码的界面中写下注释
\:在反编译后伪代码的界面中隐藏/显示变量和函数的类型描述,有时候变量特别多的时候隐藏掉类型描述看起来会轻松很多
;:在反汇编后的界面中写下注释
ctrl+shift+w:拍摄IDA快照
u:undefine,取消定义函数、代码、数据的定义
拍摄快照
由于IDA不提供撤销的功能,如果你不小心按到某个键,导致ida数据库发生了改变,就得重新来过,所以要记得在经常操作的时候,加上快照:file–>take database snapshot
加完快照后,会生成一个新的ida数据库文件,本质上是有点像另存的操作
快捷键:ctrl+shift+w
菜单栏常用设置
view–>open subviews: 可以恢复你无意中关闭的数据显示窗口
windows–>reset desktop: 可以恢复初始ida布局
option–>font: 可以改变字体的相关属性
边栏推荐
- Embedded interface review materials
- 电子元器件行业B2B交易管理系统:提升数据化驱动能力,促进企业销售业绩增长
- Dot and cross product
- Recommend 4 flutter heavy open source projects
- Golang type assertion
- 再见,2020,这碗毒鸡汤,我先干了
- 再来一个高仿开眼的短视频APP
- 6. STM32 - serial port data transceiver Foundation
- Docker Deployment redis
- How to achieve energy-saving and reasonable lighting control in order to achieve the "double carbon" goal
猜你喜欢

Generative countermeasure networks (Gans) and variants

Six complete open source projects, learning enough at a time

APP性能优化之启动流程分析

Notepad++ practical function sharing (common methods for replacing the end and beginning of regular lines, text comparison function, etc.)

Multi store drug inventory system source code large chain drugstore management system source code

这个高仿小米商城项目太惊艳了

一个人竟然撸了一个微博 APP

数据库中索引原理及填充因子

PMP考试相关计算公式汇总!考前必看

生成所有可能的二叉搜索树
随机推荐
Math. Max() method obtains the maximum value in the array and returns Nan problem analysis
log Network Execution Time
微信小程序 图片验证码展示
Differences between broadcastreceiver and localbroadcastmanager
fatal: The upstream branch of your current branch does not match the name of your current branch.
2018/GAN:Self-Attention Generative Adversarial Networks自我注意生成对抗网络
Gbase observation: extended analytical database
One person even broke up a Netease cloud music Cloud Village
不同物体使用同一材质,有不同的表现
一个人竟然撸了一个微博 APP
【 GBASE的那些事儿】系列直播活动第02期《GBase 8s高可用技术及案例分析法》
mcu常用寄存器位操作方式汇总
Task queue of laravel
生成式对抗网络(GANs)及变体
[proteus simulation] example of T6963C driving pg12864 (with Chinese and English display)
The digital transformation index report 2021 released by Tencent Research Institute has accelerated the digital transformation and upgrading of mainland enterprises!
Cross domain issues of the new version of Google browser
Detailed explanation of index invalidation caused by MySQL
Classical Chinese can be programmed???
关于H5移动端用什么自动化测试