Skip to content

lumbytyci/PExplorer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status

PExplorer

PExplorer is a linux terminal tool written in C which handles parsing of PE files.
PE (Portable Executable) is the format used by Win32 systems for executable (image) and object files, analogous
to ELF in linux based systems.

Please refer to the official documentation regarding the PE Format.

Building

$ make

Usage

$ ./pexplorer <path-to-exe>

Output Example

MZ Header:
	Magic:                    0x5a4d          (MZ)
	Bytes in last page:       144            
	Pages:                    3              
	Relocation items:         0              
	Header size:              4              
	Minimum allocation:       0              
	Maximum allocation:       65535          
	Initial SS:               0              
	Initial SP:               0xb8           
	Initial IP:               0              
	Initial CS:               0              
	Checksum:                 0              
	Relocation table offset:  0x40           

PE Header: 
	Magic:                    0x4550         
	Machine:                  0x14c           IMAGE_FILE_MACHINE_I386
	Number of sections:       4              
	Timestamp:                1146304591     
	Pointer to symbol table:  0              
	Number of symbols:        0              
	Optional header size:     0xe0           
	Characteristics:          0x10f          
	Characteristic flags:
	                          IMAGE_FILE_RELOCS_STRIPPED
	                          IMAGE_FILE_EXECUTABLE_IMAGE
	                          IMAGE_FILE_LINE_NUMS_STRIPPED
	                          IMAGE_FILE_LOCAL_SYMS_STRIPPED
	                          IMAGE_FILE_32BIT_MACHINE

About

PE file parser for linux based systems

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published