aboutsummaryrefslogtreecommitdiff
path: root/Exfiltration/Invoke-NinjaCopy.ps1
diff options
context:
space:
mode:
authorHarmJ0y <HarmJ0y@users.noreply.github.com>2016-12-12 11:09:24 -0800
committerGitHub <noreply@github.com>2016-12-12 11:09:24 -0800
commitc7985c9bc31e92bb6243c177d7d1d7e68b6f1816 (patch)
tree7deebfe9d11f22861648cceffea1c26a251749fd /Exfiltration/Invoke-NinjaCopy.ps1
parent240365441020d9f82194973a34df045b42ee6d1d (diff)
parent863699d97e55fe375fc67ada9e3d99d462cbe1d0 (diff)
downloadPowerSploit-c7985c9bc31e92bb6243c177d7d1d7e68b6f1816.tar.gz
PowerSploit-c7985c9bc31e92bb6243c177d7d1d7e68b6f1816.zip
Merge pull request #202 from PowerShellMafia/dev
Dev
Diffstat (limited to 'Exfiltration/Invoke-NinjaCopy.ps1')
-rw-r--r--Exfiltration/Invoke-NinjaCopy.ps12
1 files changed, 1 insertions, 1 deletions
diff --git a/Exfiltration/Invoke-NinjaCopy.ps1 b/Exfiltration/Invoke-NinjaCopy.ps1
index 15bee1b..f22d5f5 100644
--- a/Exfiltration/Invoke-NinjaCopy.ps1
+++ b/Exfiltration/Invoke-NinjaCopy.ps1
@@ -572,7 +572,7 @@ $RemoteScriptBlock = {
$Win32Functions | Add-Member NoteProperty -Name GetModuleHandle -Value $GetModuleHandle
$FreeLibraryAddr = Get-ProcAddress kernel32.dll FreeLibrary
- $FreeLibraryDelegate = Get-DelegateType @([Bool]) ([IntPtr])
+ $FreeLibraryDelegate = Get-DelegateType @([IntPtr]) ([Bool])
$FreeLibrary = [System.Runtime.InteropServices.Marshal]::GetDelegateForFunctionPointer($FreeLibraryAddr, $FreeLibraryDelegate)
$Win32Functions | Add-Member -MemberType NoteProperty -Name FreeLibrary -Value $FreeLibrary