peda在github上的官方文档,摘抄过来,方便查阅。

安装

git clone https://github.com/longld/peda.git ~/peda

echo "source ~/peda/peda.py" >> ~/.gdbinit

  • Enhance the display of gdb: colorize and display disassembly codes, registers, memory information during debugging.
  • Add commands to support debugging and exploit development (for a full list of commands use peda help):
    • aslr -- Show/set ASLR setting of GDB
    • checksec -- Check for various security options of binary
    • dumpargs -- Display arguments passed to a function when stopped at a call instruction
    • dumprop -- Dump all ROP gadgets in specific memory range
    • elfheader -- Get headers information from debugged ELF file
    • elfsymbol -- Get non-debugging symbol information from an ELF file
    • lookup -- Search for all addresses/references to addresses which belong to a memory range
    • patch -- Patch memory start at an address with string/hexstring/int
    • pattern -- Generate, search, or write a cyclic pattern to memory
    • procinfo -- Display various info from /proc/pid/
    • pshow -- Show various PEDA options and other settings
    • pset -- Set various PEDA options and other settings
    • readelf -- Get headers information from an ELF file
    • ropgadget -- Get common ROP gadgets of binary or library
    • ropsearch -- Search for ROP gadgets in memory
    • searchmem|find -- Search for a pattern in memory; support regex search //查找用,例如 searchmem "/bin/sh" libc
    • shellcode -- Generate or download common shellcodes.
    • skeleton -- Generate python exploit code template
    • vmmap -- Get virtual mapping address ranges of section(s) in debugged process  //可以用来查看栈、bss段是否可以执行
    • xormem -- XOR a memory region with a key

最新文章

  1. JavaScript基础知识总结(一)
  2. mariadb
  3. 日常工作中的点滴:C# 根据字节长度截包含中文的字符串
  4. jQuery的maskedinput插件 设置input掩码
  5. Spring AOP 实现原理
  6. Linux-ubuntu
  7. Extjs 3.4 生成button,并調用相同的window
  8. VB.NET与C# 语法show差异
  9. IIS错误解决办法(HTTP Error 500.19 - Internal Server Error)
  10. Web颜色对照表大全
  11. 跨域资源共享(CORS)
  12. springboot 传List参数
  13. VC中编译报错:error C2011: 'fd_set' : 'struct' type redefinition
  14. Android 连续按两次back键退出系统
  15. Beta版本冲刺(五)
  16. iOS Swift 实现图片点击缩放回弹动画
  17. 把 ElasticSearch 当成是 NoSQL 数据库
  18. 1.1.2A+B for Input-Output Practice (II)
  19. WebAPI+Html跨域时对session的支持
  20. .net FrameWork各个版本之间的发展[转]

热门文章

  1. STM32 ------ HardFault_Hander 中断函数
  2. 来自Redis 作者的看法 —— Twemproxy
  3. nginx访问日志出现大量的500状态信息,用postman返回 Internal Server Error,Too Many Attempts.错误的解决办法
  4. merger_by_one 处理二维数组,根据里面某字段合并, 里面有的保留,有的求和~~
  5. vue 打印页面部分区域
  6. bootstrap-switch与angularjs结合使用
  7. NOIP2011 提高组 Day1
  8. JavaScript 生成n位随机数
  9. 《编写高质量代码:改善JavaScript程序的188个建议》学习小记(二)
  10. 【leetcode 简单】 第一百五十题 两个列表的最小索引总和