MCPcopy Create free account
hub / github.com/Adaptix-Framework/AdaptixC2 / osToString

Function osToString

AdaptixServer/core/server/ts_axscript.go:559–570  ·  view source on GitHub ↗
(os int)

Source from the content-addressed store, hash-verified

557}
558
559func osToString(os int) string {
560 switch os {
561 case adaptix.OS_WINDOWS:
562 return "windows"
563 case adaptix.OS_LINUX:
564 return "linux"
565 case adaptix.OS_MAC:
566 return "macos"
567 default:
568 return "unknown"
569 }
570}

Callers 2

AxGetAgentsMethod · 0.70
AxGetAgentInfoMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected