Skip to content

Commit

Permalink
Add debug log
Browse files Browse the repository at this point in the history
  • Loading branch information
rkervella committed Aug 26, 2022
1 parent 3b3a335 commit c3cb978
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions implant/sliver/taskrunner/dotnet_windows.go
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,9 @@ func LoadAssembly(data []byte, assemblyArgs []string, runtime string) (string, e
log.Printf("Calling assembly with args: %+v\n", assemblyArgs)
// {{end}}
stdout, stderr := clr.InvokeAssembly(methodInfo, assemblyArgs)
// {{if .Config.Debug}}
log.Printf("Got output: %s\n%s\n", stdout, stderr)
// {{end}}
return fmt.Sprintf("%s\n%s", stdout, stderr), nil
}

Expand Down

0 comments on commit c3cb978

Please sign in to comment.