https://github.com/p0dalirius/sortpebyversions
A Python script to sort Portable Executable (PE) files by their version and download debug symbols if existing.
https://github.com/p0dalirius/sortpebyversions
archive files pe research sort
Last synced: 9 months ago
JSON representation
A Python script to sort Portable Executable (PE) files by their version and download debug symbols if existing.
- Host: GitHub
- URL: https://github.com/p0dalirius/sortpebyversions
- Owner: p0dalirius
- Created: 2023-02-05T20:15:31.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-10-02T09:15:17.000Z (over 2 years ago)
- Last Synced: 2024-12-17T08:46:41.812Z (over 1 year ago)
- Topics: archive, files, pe, research, sort
- Language: Python
- Homepage:
- Size: 116 KB
- Stars: 3
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
Awesome Lists containing this project
README

A Python script to sort Portable Executable (PE) files by their version and download debug symbols if existing.
## Features
- [x] Automatically download PDB symbols from `msdl.microsoft.com` if applicable.
- [x] Process a batch of Portable Executable (PE) files from a source folder (option `--source`).
## Usage
```
$ ./SortPEbyVersions.py -h
usage: SortPEbyVersions.py [-h] -s SOURCE_DIR -a ARCHIVE_DIR [-v]
Sort Portable Executable (PE) files by their version and download debug symbols if existing.
options:
-h, --help show this help message and exit
-s SOURCE_DIR, --source-dir SOURCE_DIR
Source directory where to get PE files.
-a ARCHIVE_DIR, --archive-dir ARCHIVE_DIR
Archive directory where to store PE files by versions.
-v, --verbose Verbose mode. (default: False)
```
## Example

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