Skip to content

Commit

Permalink
Fixed path error for bananaphone execute_fp
Browse files Browse the repository at this point in the history
Signed-off-by: guervild <11190755+guervild@users.noreply.github.com>
  • Loading branch information
guervild committed Apr 26, 2023
1 parent 2c8dc62 commit 09e0521
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/injector/go/windows/bananaphone/local_executefp.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,10 @@ func (i *SyscallGoShellcode) GetImports() []string {

func (e *SyscallGoShellcode) RenderInstanciationCode(data embed.FS) (string, error) {

return common.CommonRendering(data, "templates/go/injector/windows/bananaphone/local/go-shellcode-syscall/instanciation.go.tmpl", e)
return common.CommonRendering(data, "templates/go/injector/windows/bananaphone/local/execute_fp/instanciation.go.tmpl", e)
}

func (e *SyscallGoShellcode) RenderFunctionCode(data embed.FS) (string, error) {

return common.CommonRendering(data, "templates/go/injector/windows/bananaphone/local/go-shellcode-syscall/functions.go.tmpl", e)
return common.CommonRendering(data, "templates/go/injector/windows/bananaphone/local/execute_fp/functions.go.tmpl", e)
}

0 comments on commit 09e0521

Please sign in to comment.