adamhlt / PE-Explorer

PE Explorer in C++ (x86 / x64) - PE file parser, retrieve exports and imports

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

                          ____  ______   ______           __                    
                         / __ \/ ____/  / ____/  ______  / /___  ________  _____
                        / /_/ / __/    / __/ | |/_/ __ \/ / __ \/ ___/ _ \/ ___/
                       / ____/ /___   / /____>  </ /_/ / / /_/ / /  /  __/ /
                      /_/   /_____/  /_____/_/|_/ .___/_/\____/_/   \___/_/
                                               /_/                         
                                                                          
                                                                         
                                  PE Explorer in C++ (x86 / x64)
                          PE file parser, retrieve exports and imports

C++ Windows x86

πŸ“– Project Overview :

This is a PE file parser, it retrieve every informations from the differents headers...

This tool is made in C++, it can parse x86 and x64 PE file.

πŸ“š Features :

The parser retrieve several informations :

  • Every fields in DOS header.
  • Every fields in NT header.
  • Every fields in File header.
  • Every fields in Optional header (x86 / x64).
  • Every sections' informations in the Section header.
  • Every DLL imported with imported functions.
  • Every exported functions (if the DataDirectory exists).

πŸš€ Getting Started :

Visual Studio :

  1. Open the solution file (.sln).
  2. Build the project in Realese (x86 or x64)

Every configuration in x86 / x64 (Debug and Realese) are already configured.

Note
It is not necessary to build it in x64, the x86 build can parse x86 and x64 PE file.

Other IDE using CMAKE :

This CMakeLists.txt should compile the project.

cmake_minimum_required(VERSION 3.0)
project(explorer)

set(CMAKE_CXX_STANDARD 17)

add_executable(explorer PE_Explorer.cpp)

Tested on CLion with MSVC compiler, you can get Visual Studio Build Tools here.

πŸ§ͺ Usage :

How to use the program :

Use it in the command line :

explorer.exe <pe_file>

Note
You can test the parser with test files in the "Release" section.

Demonstration :

TEST FILE (EXE - x86)

Demo.EXE.x86.mp4

TEST FILE (DLL - x64)

Demo.DLL.x64.mp4

About

PE Explorer in C++ (x86 / x64) - PE file parser, retrieve exports and imports

License:GNU General Public License v3.0


Languages

Language:C++ 100.0%