Powershell-PostExploitation icon indicating copy to clipboard operation
Powershell-PostExploitation copied to clipboard

Use pwsh shebang, and Add-Type over LoadFile

Open Hurricos opened this issue 5 years ago • 0 comments

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.

Again, might serve better as two commits, but eh.

Hurricos avatar Feb 01 '21 19:02 Hurricos