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.
This commit is contained in:
Matt Graeber
2013-05-12 10:17:00 -04:00
parent 3d75f54835
commit 9d7ee39166
+1 -4
View File
@@ -264,7 +264,4 @@
{
Write-Verbose 'Shellcode executed successfully!'
}
}
$Shellcode = [Byte[]]@(0x90,0x90,0x90,0x90,0x90,0x90,0xC3)
Invoke-ShellcodeMSIL -Shellcode $Shellcode -Verbose
}