Skip to content

A Python script to download PDB files associated with a Portable Executable (PE)

Notifications You must be signed in to change notification settings

p0dalirius/pdbdownload

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A Python script to download PDB files associated with a Portable Executable (PE).
GitHub release (latest by date) YouTube Channel Subscribers

Features

  • Download PDB symbols from msdl.microsoft.com.
  • Process a single or a batch of PortableExecutable (PE) files.

Installation

pdbdownload is available on PyPi:

python3 -m pip install pdbdownload

Usage

$ ./pdbdownload.py -h
usage: pdbdownload.py [-h] (-f PE_FILE | -d PE_DIR) [-S SYMBOLS_DIR] [-v]

Description message

optional arguments:
  -h, --help            show this help message and exit
  -f PE_FILE, --pe-file PE_FILE
  -d PE_DIR, --pe-dir PE_DIR
  -S SYMBOLS_DIR, --symbols-dir SYMBOLS_DIR
                        Output dir where symbols will be downloaded.
  -v, --verbose         Verbose mode. (default: False)

Example

To recursively download the PDBs of all executables in a folder, use:

pdbdownload -d . -S .

Contributing

Pull requests are welcome. Feel free to open an issue if you want to add other features.