From 9d7ee39166bfc85147921da95172b91c0d555e22 Mon Sep 17 00:00:00 2001 From: Matt Graeber Date: Sun, 12 May 2013 10:17:00 -0400 Subject: 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. --- CodeExecution/Invoke-ShellcodeMSIL.ps1 | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'CodeExecution/Invoke-ShellcodeMSIL.ps1') 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 -- cgit v1.2.3