黑客技术
点击放大

!repository-open-graph
![license]()
![Tests]()
![codecov.io]()
![Discord]()
pwndbg (/paʊnˈdiˌbʌɡ/) is a GDB and LLDB plug-in that makes debugging suck less,
with a focus on features needed by low-le de, hardware hackers,
re and exploit de.
It has a boatload of features, see our Features page
and [CHEATSHEET][CHEATSHEET] (feel free to print it!). If you have any questions you may read the
documentation or asks us in our Discord 服务端.
[CHEATSHEET]:
Want Pwndbg to keep moving fast, or, have us give a talk about it? Sponsor us!
GDB and LLDB are terrible to use for reverse engineering and exploit de.
Typing x/30gx $rsp or na cumbersome LLDB commands is not fun and often provides
minimal information. The year is 2026, and core debuggers still lack many user-friendly
features such as a robust hexdump command. WinDbg users are completely lost when they
occasionally need to bump into GDB or LLDB.
Pwndbg is a Python module which can be loaded into GDB or run as a REPL interface for LLDB.
It provides a suite of utilities and enhancements that fill the gaps left by these debuggers,
smoothing out rough edges and making them more user-friendly.
See installation instructions.
Many past ([gdbinit][gdbinit], [PEDA][PEDA]) and present projects ([GEF][GEF],
[bata24/GEF][bata24/GEF]) offer great features, but are hard to extend and are packaged
as large single files ([103KB][gdbinit2], [195KB][peda.py], [423KB][gef.py],
[5.24MB][bata24/gef.py]). Pwndbg aims to replace them with a faster, cleaner, and
more robust implementation.
[gdbinit]:
[gdbinit2]:
[PEDA]:
[peda.py]:
[GEF]:
[gef.py]:
[bata24/GEF]:
[bata24/gef.py]:
Pwndbg supports both GDB and LLDB, and each debugger has its own strengths.
Here's a quick guide to help you decide which one to use:
| Use Case | Supported Debugger |
|-------------------------------------------------|----------------------|
| Debugging Linux binaries or ELF files | GDB, LLDB |
| Debugging Mach-O binaries on macOS | LLDB |
| Linux kernel debugging (qemu-system) | GDB, LLDB |
| Linux user-space emulation (qemu-user) | GDB |
| Embedded debugging (ARM Cortex M* or RISC-V/32) | GDB, LLDB |
Pwndbg ensures a consistent experience across both, so switching between them is seamless.
> The LLDB implementation in pwndbg is still in early-stage and may contain bugs or limitations.<br/>
> Known issues are tracked in [GitHub Issues][lldb_tracker].
>
> If you encounter any problems, feel free to report them or discuss on our Discord 服务端.
[lldb_tracker]:
开发语言:Python
Star 数:10994
该项目属于黑客技术方向的开源资源,代码结构清晰,适合安全研究人员学习参考。项目围绕Exploit De and Reverse Engineering with GDB & LLDB Made Easy展开,提供了可运行的实现,对理解相关安全机制、工具原理与攻防技术具有较高的研究价值。
从技术实现角度看,此类项目的核心在于对底层原理的深入理解与工程化落地。开发者在研究过程中可以结合官方文档与社区讨论,梳理项目的初始化流程、核心模块职责与数据流转,逐步掌握其中的技术细节与设计思路。
1. 下载源码压缩包,解压到本地环境。
2. 根据项目类型准备对应的运行环境与依赖。
3. 按照 README 中的步骤完成配置与部署。
4. 在隔离的测试环境中运行验证,避免影响生产系统。
本资源来源于开源社区,仅供安全研究、技术学习与合法授权范围内的攻防演练使用,请勿用于任何非法或侵害他人权益的用途。使用本项目产生的一切后果由使用者自行承担。
| 资源标题 | pwndbg - Exploit Development and Reverse Engineering with G |
| 所属分类 | 黑客技术 |
| 发布作者 | admin |
| 发布时间 | 2026-10-05 22:06:43 |
| 下载权限 | 免费下载 |
| 附件数量 | 2 个下载链接 |
| 浏览次数 | 406 |
| 讨论数量 | 0 |
| 主题状态 | 正常讨论中 |