Skip to content

Commit 9d7ee39

Browse files
committed
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.
1 parent 3d75f54 commit 9d7ee39

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

CodeExecution/Invoke-ShellcodeMSIL.ps1

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,4 @@
264264
{
265265
Write-Verbose 'Shellcode executed successfully!'
266266
}
267-
}
268-
269-
$Shellcode = [Byte[]]@(0x90,0x90,0x90,0x90,0x90,0x90,0xC3)
270-
Invoke-ShellcodeMSIL -Shellcode $Shellcode -Verbose
267+
}

0 commit comments

Comments
 (0)