Documentation
¶
Index ¶
Constants ¶
View Source
const Label = "Smb"
Variables ¶
This section is empty.
Functions ¶
func CheckSetup ¶
func CheckSetup() error
CheckSetup checks whether Setup() executed accordingly. Scan arguments should be checked by the scanner.
Types ¶
type Result ¶
type Result struct {
filecrawler.Result // smb result wrapped filecrawler result to allow broker distinguishing smb/nfs results by type
}
type Scanner ¶
type Scanner struct {
Label string
Started time.Time
Finished time.Time
// contains filtered or unexported fields
}
func NewScanner ¶
func NewScanner( logger utils.Logger, target string, crawlDepth int, threads int, forcedShares []string, excludedShares []string, excludedFolders []string, excludedExtensions []string, excludedLastModifiedBelow time.Time, excludedFileSizeBelow int, onlyAccessibleFiles bool, smbDomain string, smbUser string, smbPassword string, ) (*Scanner, error)
Click to show internal directories.
Click to hide internal directories.