Skip to content

bl4d3rvnner7/ResourceExtractor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🔍 Resource Extraction Utility

ASCII Logo
A powerful tool for extracting embedded resources from .NET assemblies

Windows Build Linux Build macOS Build

📥 Installation

Prerequisites

  • Windows: .NET Framework 4.0+ or .NET Core 3.1+
  • Linux/macOS: Mono runtime (sudo apt install mono-complete)

Quick Start

# Clone repository
git clone https://github.com/bl4d3rvnner7/ResourceExtractor.git
cd ResourceExtractor

🛠 Building

Windows

build.bat

Linux/macOS

chmod +x build.sh
./build.sh

Example Usage
Example output showing resource extraction

🕵️‍♂️ How to Find .resources Files

Step 1: Extract .NET Assembly

  1. Use a decompiler to export the project:

  2. Open the target executable (YourApp.exe) in your decompiler

Step 2: Locate Resources

  1. In the decompiler's tree view, look for:

    Properties > Resources.resources
    

    or

    YourApp > Resources > Resources.resources
    
  2. Right-click the .resources file and select:

    • Export to Resources.resources (dnSpy)
    • Save Resources (ILSpy)

Tip: You can also export the whole project!

Decompiler View
Example: Locating resources in dnSpy

# Windows
ExtractResources.exe Resources.resources

# Linux/macOS
mono ExtractResources Resources.resources

✨ Features

  • Multi-format Support
    Extracts binaries (EXE/DLL), text, images (PNG/BMP), and ZIP archives
  • Smart Detection
    Auto-detects file types using magic numbers
  • Organized Output
    Creates extracted_bin/, extracted_txt/, and extracted_img/ directories
  • Cross-platform
    Works on Windows, Linux, and macOS
  • Clean Output
    Color-coded console output with timestamps

🏗 Code Structure

// Core Functions:
- FileTypeDetector      // Magic number detection
- ResourceParser        // .resources file handling 
- Logger               // Colorful console output

📜 License

MIT License - See LICENSE for details


💡 Tips

  • Look for multiple resource files (e.g., Settings.resources)
  • Check both the main assembly and referenced DLLs
  • Some resources may be embedded in code - search for ResourceManager

Pro Tip: Drag and drop .resources files directly onto the executable for quick extraction!

Open in Visual Studio Code

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors