Documentation ¶
Index ¶
- Constants
- type File_A
- type Folder_A
- type Share
- type Target
- func (r *Target) CloseSMBSession() error
- func (r *Target) CloseTCP() error
- func (r *Target) GetShareList() ([]string, error)
- func (r *Target) GuestAccessCheck() bool
- func (r *Target) InitSMBAuth() error
- func (r *Target) InitTCP() error
- func (r *Target) Initialize(f *options.UserFlags, target string) error
Constants ¶
View Source
const ( CONTINUE = 0 MAX_DEPTH_STOP = 1 PERMISSION_DENY_STOP = 2 OTHER = 3 NO_MORE_FOLDERS = 4 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Folder_A ¶
type Folder_A struct { Depth int Name string // Folder Name HumanPath string // Host + Share + Folder Path relative to root ListOfFolders []Folder_A ListOfFiles []File_A ReadAccess bool WriteAccess bool NumberOfFiles int NumberOfFolders int NumberOfItems int Stop_reason int // contains filtered or unexported fields }
type Share ¶
type Share struct {}
func (*Share) InitializeShare ¶
func (*Share) ListFilesRoot ¶
func (*Share) UnmountShare ¶
func (s *Share) UnmountShare()
type Target ¶
type Target struct { HostDestination string ResolvedIP net.IP UserFlag *options.UserFlags ConnectionTCP net.Conn ConnectionTCP_OK bool ConnectionSMB *smb2.Session ConnectionSMB_OK bool GuestOnly bool GuestAccess bool }
func (*Target) CloseSMBSession ¶
func (*Target) GetShareList ¶
func (*Target) GuestAccessCheck ¶
func (*Target) InitSMBAuth ¶
Click to show internal directories.
Click to hide internal directories.