
A powerful tool for extracting embedded resources from .NET assemblies
- Windows: .NET Framework 4.0+ or .NET Core 3.1+
- Linux/macOS: Mono runtime (
sudo apt install mono-complete)
# Clone repository
git clone https://github.com/bl4d3rvnner7/ResourceExtractor.git
cd ResourceExtractorbuild.batchmod +x build.sh
./build.sh
Example output showing resource extraction
-
Use a decompiler to export the project:
- dnSpy (Windows): Download here
- ILSpy (Cross-platform): Download here
-
Open the target executable (
YourApp.exe) in your decompiler
-
In the decompiler's tree view, look for:
Properties > Resources.resourcesor
YourApp > Resources > Resources.resources -
Right-click the
.resourcesfile and select:- Export to Resources.resources (dnSpy)
- Save Resources (ILSpy)
Tip: You can also export the whole project!

Example: Locating resources in dnSpy
# Windows
ExtractResources.exe Resources.resources
# Linux/macOS
mono ExtractResources Resources.resources- 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
Createsextracted_bin/,extracted_txt/, andextracted_img/directories - Cross-platform
Works on Windows, Linux, and macOS - Clean Output
Color-coded console output with timestamps
// Core Functions:
- FileTypeDetector // Magic number detection
- ResourceParser // .resources file handling
- Logger // Colorful console outputMIT License - See LICENSE for details
- 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
.resourcesfiles directly onto the executable for quick extraction!