diff options
author | Matt Graeber <mattgraeber@gmail.com> | 2013-05-12 10:17:00 -0400 |
---|---|---|
committer | Matt Graeber <mattgraeber@gmail.com> | 2013-05-12 10:17:00 -0400 |
commit | 9d7ee39166bfc85147921da95172b91c0d555e22 (patch) | |
tree | 60d36580b7f5ff38c8b6b26bfd3e9b559fec03a7 /CodeExecution | |
parent | 3d75f5483504ffe1a983889f1942637e9d366c55 (diff) | |
download | PowerSploit-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.ps1 | 5 |
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 |