Skip to content
Simple tool to extract icons from a pe file and other useful information
Python
Branch: master
Clone or download
Cannot retrieve the latest commit at this time.
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
report
README.md
extracticon.py
hashicons.py
main.py
requirements.txt

README.md

PE Meta Extractor

A simple extractor of information for PE files

Installation

Python 3

pip install -r requirements.txt

Usage

Dump the PE meta information only to console:

python main.py --pefile "C:\Program Files (x86)\Notepad++\notepad++.exe" -d

Save it to a log file:

python main.py --pefile "C:\Program Files (x86)\Notepad++\notepad++.exe" -d -o report

Hash all the icons with most common image hashes (save them into a file):

python main.py --pefile "C:\Program Files (x86)\Notepad++\notepad++.exe" -i -o report

Save also all the icons:

python main.py --pefile "C:\Program Files (x86)\Notepad++\notepad++.exe" -i -s -o report

Save just the primary icon (the one that windows show for the exe):

python main.py --pefile "C:\Program Files (x86)\Notepad++\notepad++.exe" -i -s -m -o report

You can’t perform that action at this time.