zoukankan      html  css  js  c++  java
  • gdb插件使用方法

    0x00 peda

    peda

    安装:
    git clone https://github.com/longld/peda.git ~/peda
    echo "source ~/peda/peda.py" >> ~/.gdbinit
    echo "DONE! debug your program with gdb and enjoy"
    
    使用:例如
    echo "source ~/.GdbPlugins/peda/peda.py" > ~/.gdbinit
    $ gdb pwn
    gdb-peda$ checksec
    

      

     0x01 gef

    gef

    安装:
    $ wget -q -O- https://github.com/hugsy/gef/raw/master/gef.sh | sh
    $ wget -O ~/.gdbinit-gef.py -q https://github.com/hugsy/gef/raw/master/gef.py
    $ echo source ~/.gdbinit-gef.py >> ~/.gdbinit
    使用:
    $ gdb -q /path/to/my/bin 
    gef➤ gef help

                                                                                                                                                                                                                                                                                                                                                    .

    Always believe that good things will come.
  • 相关阅读:
    Eleven-面向对象进阶
    Ten-面向对象
    Nine-常用模块
    Eight-内置函数和匿名函数
    Seven-递归函数和装饰器函数
    Six-迭代器和生成器
    Five-函数
    Four-深浅copy和文件操作
    Third-基础数据类型
    Second-基础
  • 原文地址:https://www.cnblogs.com/elvirangel/p/6707950.html
Copyright © 2011-2022 走看看