smtp

package
v3.1.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 17, 2023 License: MIT, Apache-2.0 Imports: 7 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IsSMTPResponse

type IsSMTPResponse struct {
	IsSMTP bool
	Banner string
}

IsSMTPResponse is the response from the IsSMTP function.

type SMTPClient

type SMTPClient struct{}

SMTPClient is a minimal SMTP client for nuclei scripts.

func (*SMTPClient) IsSMTP

func (c *SMTPClient) IsSMTP(host string, port int) (IsSMTPResponse, error)

IsSMTP checks if a host is running a SMTP server.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL