Skip to content

Commit

Permalink
Added in missing ExecuteShellcodeRtlCreateUserThread function
Browse files Browse the repository at this point in the history
  • Loading branch information
Ne0nd0g committed Jan 1, 2019
1 parent 5579330 commit 5446490
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions pkg/agent/exec.go
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,11 @@ func ExecuteShellcodeRemote(shellcode []byte, pid uint32) error {
return errors.New("shellcode execution is not implemented for this operating system")
}

// ExecuteShellcodeRtlCreateUserThread executes provided shellcode in the provided target process using the Windows RtlCreateUserThread call
func ExecuteShellcodeRtlCreateUserThread(shellcode []byte, pid uint32) error {
return errors.New("shellcode execution is not implemented for this operating system")
}

// ExecuteShellcodeQueueUserAPC executes provided shellcode in the provided target process using the Windows QueueUserAPC API call
func ExecuteShellcodeQueueUserAPC(shellcode []byte, pid uint32) error {
return errors.New("shellcode execution is not implemented for this operating system")
Expand Down

0 comments on commit 5446490

Please sign in to comment.