46 lines
925 B
Markdown
46 lines
925 B
Markdown
# DLL Extractor
|
|
|
|
This Python script extracts the DLL dependencies of a Windows executable file and filters out DLLs that are commonly included with the operating system.
|
|
|
|
![preview](image.png)
|
|
|
|
## Features
|
|
- Identifies all DLLs required by a specified `.exe` file.
|
|
- Filters out DLLs that are part of the standard Windows OS (e.g., `KERNEL32.dll`, `USER32.dll`).
|
|
|
|
## Requirements
|
|
- Python 3.6 or later
|
|
- `pefile` library
|
|
|
|
## Installation
|
|
Install the required Python library:
|
|
```bash
|
|
pip install -r requirements.txt
|
|
```
|
|
|
|
## Usage
|
|
Run the script with the path to an executable file as an argument:
|
|
```bash
|
|
python main.py
|
|
```
|
|
|
|
### Example
|
|
```bash
|
|
python main.py
|
|
```
|
|
Output:
|
|
```
|
|
Non-OS DLL Dependencies:
|
|
glew32.dll
|
|
glfw3.dll
|
|
libyaml-cpp.dll
|
|
lua54.dll
|
|
```
|
|
|
|
## Notes
|
|
- The script assumes the executable is a valid PE (Portable Executable) file.
|
|
|
|
## License
|
|
This project is open-source and available under the MIT License.
|
|
|