Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LibraryEnumerateSMTP ¶
type LibraryEnumerateSMTP struct{}
LibraryEnumerateSMTP implements NetworkApplicationLibrary for SMTP enumeration.
func (*LibraryEnumerateSMTP) EnumerateTarget ¶
func (s *LibraryEnumerateSMTP) EnumerateTarget(ctx context.Context, target string) (*utilsFern.NetworkApplicationEnumerateDetails, []string)
EnumerateTarget Overview
- Try to connect to service a. Try TCP, if successful continue, if not try TLS b. If TLS succeeds, set TLSSupported and ForceTLS to true
- Try STARTTLS if TLS connection not forced a. If STARTTLS fails, set TLSSupported and ForceTLS to false
- Check authentication methods a. Parse data returned from 'AUTH' command
- Test unauthenticated email a. If unauthenticated email is not allowed, set AllowsUnauthenticatedEmail to false
Click to show internal directories.
Click to hide internal directories.