All Projects → bruce30262 → Twindbg

bruce30262 / Twindbg

Licence: mit
PEDA-like debugger UI for WinDbg

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Twindbg

Voltron
A hacky debugger UI for hackers
Stars: ✭ 5,599 (+3174.27%)
Mutual labels:  debugger, windbg
Dbgshell
A PowerShell front-end for the Windows debugger engine.
Stars: ✭ 566 (+230.99%)
Mutual labels:  debugger, windbg
Native Shim
A "shim" for loading native jni files for Android active debugging
Stars: ✭ 145 (-15.2%)
Mutual labels:  debugger
Cerebral
Declarative state and side effects management for popular JavaScript frameworks
Stars: ✭ 1,946 (+1038.01%)
Mutual labels:  debugger
Vimspector
vimspector - A multi-language debugging system for Vim
Stars: ✭ 2,711 (+1485.38%)
Mutual labels:  debugger
Gulp Server Io
Standalone / gulp (stream) / delivery server setup with Proxy options remote debugger and more
Stars: ✭ 152 (-11.11%)
Mutual labels:  debugger
Windbg Scripts
A bunch of JavaScript extensions for WinDbg.
Stars: ✭ 158 (-7.6%)
Mutual labels:  windbg
Inappviewdebugger
A UIView debugger (like Reveal or Xcode) that can be embedded in an app for on-device view debugging
Stars: ✭ 1,805 (+955.56%)
Mutual labels:  debugger
Hitchcock
The Master of Suspense 🍿
Stars: ✭ 167 (-2.34%)
Mutual labels:  debugger
Smartdebug.js
Next-generation debugging for javascript!
Stars: ✭ 157 (-8.19%)
Mutual labels:  debugger
React Native Network Logger
An HTTP network request monitor for React Native with in-app interface for iOS and Android with no native code
Stars: ✭ 161 (-5.85%)
Mutual labels:  debugger
Rxfiddle
Visualize your Observables
Stars: ✭ 157 (-8.19%)
Mutual labels:  debugger
Komodoedit
Komodo Edit is a fast and free multi-language code editor. Written in JS, Python, C++ and based on the Mozilla platform.
Stars: ✭ 1,972 (+1053.22%)
Mutual labels:  debugger
Uddbg
A gdb like debugger that provide a runtime env to unicorn emulator and additionals features!
Stars: ✭ 159 (-7.02%)
Mutual labels:  debugger
Carry
ClojureScript application framework.
Stars: ✭ 149 (-12.87%)
Mutual labels:  debugger
Angrgdb
Use angr inside GDB. Create an angr state from the current debugger state.
Stars: ✭ 165 (-3.51%)
Mutual labels:  debugger
Pry Byebug
Step-by-step debugging and stack navigation in Pry
Stars: ✭ 1,827 (+968.42%)
Mutual labels:  debugger
Edb Debugger
edb is a cross-platform AArch32/x86/x86-64 debugger.
Stars: ✭ 2,019 (+1080.7%)
Mutual labels:  debugger
Wormholy
iOS network debugging, like a wizard 🧙‍♂️
Stars: ✭ 2,010 (+1075.44%)
Mutual labels:  debugger
Pudb
Full-screen console debugger for Python
Stars: ✭ 2,267 (+1225.73%)
Mutual labels:  debugger

Python 2&3 Code Climate Issue Count MIT License

TWindbg

PEDA-like debugger UI for WinDbg

context img

Introduction

This is a windbg extension ( using pykd ) to let user having a PEDA-like debugger UI in WinDbg.
It will display the following context in each step/trace:

  • Registers
  • Disassembled code near PC
  • Contents of the stack pointer ( with basic smart dereference )

It also supports some peda-like commands ( see the support commands section )

For now it supports both x86 & x64 WinDbg.

Dependencies

  • Python 2/3

For now the extension is Python2/3 compatible.
However since now Python2 has reached the EOL, all the feature will be tested on Python3 from now on.
I'll try my best to keep this extension as a Python2/3 compatible project, however there's still a possibility that I might drop the support of Python2 in the future.

Installation

  • Install Python2/3
  • Install pykd
    • Download Pykd-Ext, unpack pykd.dll to the [WinDbg Directory]\x86(or x64)\winext\ directory.
      • This will allow you to run python in Windbg.
    • In the Windbg command line, enter command .load pykd to load the pykd module.
    • Enter !pip install pykd to install the pykd python package.
      • Upgrade the pykd module with command !pip install --upgrade pykd.
      • If something went wrong during the installation with pip install, try installing the wheel package instead of the one on PyPI. You can download the wheel package here.
  • Download the repository
  • Install the matrix theme by double-clicking the matrix_theme.reg
    • The matrix theme is required for letting the color theme work in TWindbg
    • You can preview the theme by importing the matrix_theme.WEW workspace into WinDbg.
  • Copy the TWindbg folder into [WinDbg Directory]\x64\winext\ & [WinDbg Directory]\x86\winext\

Usage

Launch TWindbg manually

  • Open an executable or attach to a process with WinDbg
  • Use .load pykd to load the pykd extension
  • Use !py -g winext\TWindbg\TWindbg.py to launch TWindbg

Launch TWindbg with command

[PATH_TO_WINDBG] -a pykd -c "!py -g winext\TWindbg\TWindbg.py"

Or you can write a simple batch file for the sake of convenience.

After that you can just use t or p to see if the extension is working.

Support Commands

  • TWindbg: List all the command in TWindbg
  • ctx: Print out the current context
  • tel / telescope: Display memory content at an address with smart dereferences tel img

Note

Maybe ( just maybe ) I'll add more command to make WinDbg behave more like PEDA ( or other debugger like pwndbg, GEF... ) in the future.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].