MCPcopy Index your code
hub / github.com/evilsocket/shellz / doShellSelection

Function doShellSelection

cmd/shellz/utils.go:42–52  ·  view source on GitHub ↗
(csFilters string, includeDisabled bool)

Source from the content-addressed store, hash-verified

40}
41
42func doShellSelection(csFilters string, includeDisabled bool) (error, models.Shells) {
43 sel := models.Shells{}
44 for _, filter := range str.Comma(csFilters) {
45 found := doFilterSelection(filter)
46 for name, shell := range doEnabledSelection(found, includeDisabled) {
47 sel[name] = shell
48 }
49 }
50
51 return nil, sel
52}

Callers 4

runEnableFunction · 0.85
runCommandFunction · 0.85
runTunnelFunction · 0.85
showShellsListFunction · 0.85

Calls 2

doFilterSelectionFunction · 0.85
doEnabledSelectionFunction · 0.85

Tested by

no test coverage detected