This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# All credit goes to @thesubtlety - https://gist.github.com/thesubtlety/a79fb95bd65e9ca8e029058ffc887eff | |
# Below is a slightly modified version of their original script | |
function Get-DLL-Exports { | |
<# | |
.SYNOPSIS | |
Get-Exports, fetches DLL exports and optionally provides | |
C++ wrapper output (idential to ExportsToC++ but without | |
needing VS and a compiled binary). To do this it reads DLL | |
bytes into memory and then parses them (no LoadLibraryEx). |