Documentation
¶
Index ¶
- func PerformAuthentication(target string, config *smbfern.PentestSmbConfig) (*smbfern.AuthResult, error)
- func PerformAuthenticationWithContext(ctx context.Context, target string, config *smbfern.PentestSmbConfig) (*smbfern.AuthResult, error)
- func PerformAuthenticationWithContextAndConnection(ctx context.Context, target string, config *smbfern.PentestSmbConfig) (*smbfern.AuthResult, *smbclient.Client, error)
- func PerformCommandExecution(ctx context.Context, target string, config *smbfern.PentestSmbConfig) (*smbfern.ExecResult, error)
- func PerformLsadump(ctx context.Context, target string, config *smbfern.PentestSmbConfig, ...) (*smbfern.LsadumpResult, error)
- func PerformProbe(ctx context.Context, target string, config *smbfern.PentestSmbConfig) (*smbfern.ProbeResult, error)
- func PerformSamdump(ctx context.Context, target string, config *smbfern.PentestSmbConfig, ...) (*smbfern.SamdumpResult, error)
- func PerformShares(ctx context.Context, target string, config *smbfern.PentestSmbConfig, ...) (*smbfern.SharesResult, error)
- type ExecutionCredentials
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PerformAuthentication ¶
func PerformAuthentication(target string, config *smbfern.PentestSmbConfig) (*smbfern.AuthResult, error)
PerformAuthentication performs authentication attempts against SMB service Returns both base server info and auth results
func PerformAuthenticationWithContext ¶
func PerformAuthenticationWithContext(ctx context.Context, target string, config *smbfern.PentestSmbConfig) (*smbfern.AuthResult, error)
PerformAuthenticationWithContext performs authentication attempts against SMB service with context Returns both base server info and auth results
func PerformAuthenticationWithContextAndConnection ¶ added in v0.0.76
func PerformAuthenticationWithContextAndConnection(ctx context.Context, target string, config *smbfern.PentestSmbConfig) (*smbfern.AuthResult, *smbclient.Client, error)
PerformAuthenticationWithContextAndConnection performs authentication attempts against SMB service with context Returns both auth results and authenticated client (if successful)
func PerformCommandExecution ¶ added in v0.0.81
func PerformCommandExecution(ctx context.Context, target string, config *smbfern.PentestSmbConfig) (*smbfern.ExecResult, error)
PerformCommandExecution executes commands on remote SMB target using WMI
func PerformLsadump ¶ added in v0.0.51
func PerformLsadump(ctx context.Context, target string, config *smbfern.PentestSmbConfig, authenticatedSession *gosmb.Connection) (*smbfern.LsadumpResult, error)
PerformLsadump performs LSA secrets dumping
func PerformProbe ¶ added in v0.0.61
func PerformProbe(ctx context.Context, target string, config *smbfern.PentestSmbConfig) (*smbfern.ProbeResult, error)
PerformProbe performs server information gathering via NTLM challenge without authentication
func PerformSamdump ¶ added in v0.0.51
func PerformSamdump(ctx context.Context, target string, config *smbfern.PentestSmbConfig, authenticatedSession *gosmb.Connection) (*smbfern.SamdumpResult, error)
PerformSamdump performs SAM secrets dumping
func PerformShares ¶ added in v0.0.61
func PerformShares(ctx context.Context, target string, config *smbfern.PentestSmbConfig, authenticatedSession *gosmb.Connection) (*smbfern.SharesResult, error)
PerformShares performs share enumeration using the provided authenticated session
Types ¶
type ExecutionCredentials ¶ added in v0.0.81
ExecutionCredentials holds authenticated credentials for command execution