Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NoF0rte/slack-slurp
/ functions
Functions
61 in github.com/NoF0rte/slack-slurp
⨍
Functions
61
◇
Types & classes
13
↓ 6 callers
Function
setConfigDefault
If no config file exists, all possible keys in the defaults need to be registered with viper otherwise viper will only think the keys explicitly set v
cmd/root.go:137
↓ 5 callers
Method
SearchMessagesAsync
SearchMessagesAsync will search Slack messages for the specified query asynchronously using channels. Slack's query syntax can be used here.
pkg/slurp/slurp.go:321
↓ 4 callers
Method
handleRateLimit
(err error)
pkg/slurp/slurp.go:272
↓ 3 callers
Function
SearchInChannels
(channels ...string)
pkg/slurp/slurp.go:143
↓ 3 callers
Function
saveConfig
()
cmd/config.go:110
↓ 2 callers
Method
GetChannelsAsync
GetChannelsAsync returns all channels in the current workspace of the specified type asynchronously using channels. If no channel type is supplied, th
pkg/slurp/slurp.go:888
↓ 2 callers
Method
GetDetectors
(detectrs ...string)
pkg/slurp/config.go:66
↓ 2 callers
Method
GetDomainsAsync
GetDomainsAsync searches Slack for domains and subdomains asynchronously.
pkg/slurp/slurp.go:730
↓ 2 callers
Method
GetSecretsAsync
GetSecretsAsync searches Slack messages for secrets using trufflehog detectors asynchronously.
pkg/slurp/slurp.go:622
↓ 2 callers
Method
GetURLsAsync
(options ...SearchOption)
pkg/slurp/slurp.go:805
↓ 2 callers
Method
GetUsers
GetUsers returns all users in the current workspace.
pkg/slurp/slurp.go:564
↓ 2 callers
Function
SearchAfter
(date time.Time)
pkg/slurp/slurp.go:137
↓ 2 callers
Function
SearchBefore
(date time.Time)
pkg/slurp/slurp.go:131
↓ 2 callers
Method
SearchFilesAsync
SearchFilesAsync will search Slack files for the specified query asynchronously using channels. Slack's query syntax can be used here.
pkg/slurp/slurp.go:442
↓ 2 callers
Function
SearchFromUsers
(users ...string)
pkg/slurp/slurp.go:152
↓ 2 callers
Method
getPageCount
(query string, searchType string)
pkg/slurp/slurp.go:285
↓ 2 callers
Function
overwriteInMemConfig
(configMap map[string]interface{})
cmd/config.go:118
↓ 2 callers
Function
printKeys
(value interface{})
cmd/config.go:191
↓ 2 callers
Method
searchFiles
(query string, params slack.SearchParameters)
pkg/slurp/slurp.go:404
↓ 2 callers
Method
searchMessages
(query string, params slack.SearchParameters)
pkg/slurp/slurp.go:308
↓ 2 callers
Function
splitIntoParentChild
(key string)
cmd/config.go:201
↓ 1 callers
Method
AuthTest
AuthTest executes the auth.test API method which simply tests the current credentials
pkg/slurp/slurp.go:238
↓ 1 callers
Function
Execute
()
cmd/root.go:33
↓ 1 callers
Method
FromData
(ctx context.Context, verify bool, data []byte)
pkg/slurp/detector.go:24
↓ 1 callers
Method
Keywords
()
pkg/slurp/detector.go:20
↓ 1 callers
Function
New
New returns a new Slurper instance
pkg/slurp/slurp.go:203
↓ 1 callers
Function
SearchFileTypes
(types ...string)
pkg/slurp/slurp.go:161
↓ 1 callers
Method
SearchFiles
SearchFiles will search Slack files for the specified query. Will return only once all matched files have been retrieved. Slack's query syntax can be
pkg/slurp/slurp.go:417
↓ 1 callers
Method
SearchMessages
SearchMessages will search Slack messages for the specified query. Will return only once all matched messages have been retrieved. Slack's query synta
pkg/slurp/slurp.go:249
↓ 1 callers
Function
SecretsDetectors
(detectrs ...detectors.Detector)
pkg/slurp/slurp.go:184
↓ 1 callers
Function
SecretsInChannel
(channels ...string)
pkg/slurp/slurp.go:178
↓ 1 callers
Function
SecretsVerify
(verify bool)
pkg/slurp/slurp.go:190
↓ 1 callers
Method
ToJson
()
pkg/slurp/slurp.go:41
↓ 1 callers
Method
Verified
Verified returns a new SecretResult containing only the verified secrets
pkg/slurp/slurp.go:105
↓ 1 callers
Function
createConfigIfNotExist
()
cmd/config.go:166
↓ 1 callers
Method
getChannels
(params *slack.GetConversationsParameters)
pkg/slurp/slurp.go:851
↓ 1 callers
Method
getUsers
()
pkg/slurp/slurp.go:552
↓ 1 callers
Function
matchConfigType
Based on the current value of the config, attempts to return the user's value as the right type
cmd/config.go:124
↓ 1 callers
Function
printConfig
()
cmd/config.go:181
Method
Description
()
pkg/slurp/detector.go:60
Method
GetChannels
GetChannels returns all channels in the current workspace of the specified type. If no channel type is supplied, the API defaults to returning public
pkg/slurp/slurp.go:864
Method
GetDomains
GetDomains searches Slack for domains and subdomains. Will return only once all domains have been retrieved.
pkg/slurp/slurp.go:706
Method
GetSecrets
GetSecrets searches Slack messages for secrets using trufflehog detectors. Will return only once all secrets have been retrieved.
pkg/slurp/slurp.go:597
Method
GetURLs
GetURLs searches Slack URLs. Will return only once all URLs have been retrieved.
pkg/slurp/slurp.go:782
Method
ToJson
()
pkg/slurp/slurp.go:120
Method
Type
()
pkg/slurp/detector.go:56
Function
WriteJson
(path string, v interface{})
internal/util/util.go:9
Function
WriteLines
(path string, lines []string)
internal/util/util.go:18
Function
init
()
cmd/channels.go:91
Function
init
()
cmd/search_files.go:52
Function
init
()
cmd/search_messages.go:44
Function
init
()
cmd/urls.go:88
Function
init
()
cmd/users.go:48
Function
init
()
cmd/whoami.go:26
Function
init
()
cmd/secrets.go:92
Function
init
()
cmd/search.go:78
Function
init
()
cmd/root.go:40
Function
init
()
cmd/config.go:211
Function
init
()
cmd/domains.go:57
Function
initConfig
()
cmd/root.go:54
Function
main
()
main.go:5