aboutsummaryrefslogtreecommitdiff
path: root/CodeExecution
diff options
context:
space:
mode:
authorMatt Graeber <mattgraeber@gmail.com>2013-05-12 10:17:00 -0400
committerMatt Graeber <mattgraeber@gmail.com>2013-05-12 10:17:00 -0400
commit9d7ee39166bfc85147921da95172b91c0d555e22 (patch)
tree60d36580b7f5ff38c8b6b26bfd3e9b559fec03a7 /CodeExecution
parent3d75f5483504ffe1a983889f1942637e9d366c55 (diff)
downloadPowerSploit-9d7ee39166bfc85147921da95172b91c0d555e22.tar.gz
PowerSploit-9d7ee39166bfc85147921da95172b91c0d555e22.zip
Removed test code in Invoke-ShellcodeMSIL
There was some test code at the end of Invoke-ShellcodeMSIL that would cause the function to execute when the script was dotsourced.
Diffstat (limited to 'CodeExecution')
-rw-r--r--CodeExecution/Invoke-ShellcodeMSIL.ps15
1 files changed, 1 insertions, 4 deletions
diff --git a/CodeExecution/Invoke-ShellcodeMSIL.ps1 b/CodeExecution/Invoke-ShellcodeMSIL.ps1
index 8b70d7c..4123d06 100644
--- a/CodeExecution/Invoke-ShellcodeMSIL.ps1
+++ b/CodeExecution/Invoke-ShellcodeMSIL.ps1
@@ -264,7 +264,4 @@
{
Write-Verbose 'Shellcode executed successfully!'
}
-}
-
-$Shellcode = [Byte[]]@(0x90,0x90,0x90,0x90,0x90,0x90,0xC3)
-Invoke-ShellcodeMSIL -Shellcode $Shellcode -Verbose \ No newline at end of file
+} \ No newline at end of file