Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions shells/manx.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,14 @@ var (
http = "http://localhost:8888"
)

func buildProfile(socket string, executors []string) map[string]interface{} {
func buildProfile(socket string, http string, executors []string) map[string]interface{} {
host, _ := os.Hostname()
user, _ := user.Current()
platform := runtime.GOOS
architecture := runtime.GOARCH

profile := make(map[string]interface{})
profile["server"] = socket
profile["server"] = http
profile["host"] = host
profile["username"] = user.Username
profile["architecture"] = runtime.GOARCH
Expand All @@ -50,7 +50,7 @@ func main() {
flag.Var(&executors, "executors", "Comma separated list of executors (first listed is primary)")
flag.Parse()

profile := buildProfile(*socket, executors)
profile := buildProfile(*socket, *http, executors)

output.SetVerbose(*verbose)
output.VerbosePrint(fmt.Sprintf("[*] %s outbound socket %s, inbound at %d", *contact, *socket, *inbound))
Expand Down