Powershell-PostExploitation
Powershell-PostExploitation copied to clipboard
Scripts created to help with post exploitation of a Windows host
I got this error for master.mdf from SQL Server 2012 ``` New-Object : Cannot find type [OrcaMDF.RawCore.RawDataFile]: make sure the assembly containing this type is loaded. At C:\Users\Admin\Desktop\Powershell-PostExploitation-master\Invoke-MDFHashes\Get-MDFHashes.ps1:18 char:27 +...
This PR mixes two things that perhaps ought not to be: - use a pwsh shebang, for Unix compat (using e.g. https://github.com/PowerShell/powershell/releases) - for loading .dll's, use Add-Type over LoadFile....
When I run the PS1 command, I get "Could not load OrcaMDF libraries, please make sure that you run Import-Module from the dir containing OrcaMDF.RawCore.dll and OrcaMDF.Framework.dll". This is kinda...
just a minor fix