Skip to content

ujin5/TWindbg

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 )

For now it supports both x86 & x64 WinDbg.

Dependencies

  • Python2.7 ( The extension has NOT been tested on Python3 )
  • pykd

Installation

  • Install Python2.7 & pykd
  • 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.pyd to load the pykd extension
  • Use !py -g winext\TWindbg\TWindbg.py to launch TWindbg

Launch TWindbg with command

[PATH_TO_WINDBG] -a pykd.pyd -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.

Note

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

About

PEDA-like debugger UI for WinDbg

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 96.0%
  • Batchfile 4.0%