aboutsummaryrefslogtreecommitdiff
path: root/Exfiltration
diff options
context:
space:
mode:
authorHarmj0y <will@harmj0y.net>2016-05-31 23:19:18 -0400
committerHarmj0y <will@harmj0y.net>2016-05-31 23:19:18 -0400
commit5b94a98dbd3e4a20947aa52061da60e8f8061a59 (patch)
tree02251ada11de6e2952a847c99a1d20109754ac41 /Exfiltration
parent848f7d31ce60140761299fecbaafd86cc5b33ad2 (diff)
parent235dec56ae63ce2ebb8b3f19393c10af868dcb1d (diff)
downloadPowerSploit-5b94a98dbd3e4a20947aa52061da60e8f8061a59.tar.gz
PowerSploit-5b94a98dbd3e4a20947aa52061da60e8f8061a59.zip
Merge branch 'dev' of https://github.com/PowerShellMafia/PowerSploit into dev
Diffstat (limited to 'Exfiltration')
-rw-r--r--Exfiltration/Invoke-CredentialInjection.ps12
-rw-r--r--Exfiltration/Invoke-Mimikatz.ps12
-rw-r--r--Exfiltration/Invoke-NinjaCopy.ps12
3 files changed, 3 insertions, 3 deletions
diff --git a/Exfiltration/Invoke-CredentialInjection.ps1 b/Exfiltration/Invoke-CredentialInjection.ps1
index a7b312d..d6f3c4c 100644
--- a/Exfiltration/Invoke-CredentialInjection.ps1
+++ b/Exfiltration/Invoke-CredentialInjection.ps1
@@ -771,7 +771,7 @@ function Invoke-CredentialInjection
$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
diff --git a/Exfiltration/Invoke-Mimikatz.ps1 b/Exfiltration/Invoke-Mimikatz.ps1
index c701f63..f95daa3 100644
--- a/Exfiltration/Invoke-Mimikatz.ps1
+++ b/Exfiltration/Invoke-Mimikatz.ps1
@@ -540,7 +540,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
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