Affected by GO-2022-0785
and 5 other vulnerabilities
GO-2022-0785 : "catalog's registry v2 api exposed on unauthenticated path in Harbor" in github.com/goharbor/harbor
GO-2022-0865 : Authenticated users can exploit an enumeration vulnerability in Harbor in github.com/goharbor/harbor
GO-2023-2109 : Harbor timing attack risk in github.com/goharbor/harbor
GO-2024-2915 : Open Redirect URL in Harbor in github.com/goharbor/harbor
GO-2024-2916 : SQL Injection in Harbor scan log API in github.com/goharbor/harbor
GO-2024-3013 : Harbor fails to validate the user permissions when updating project configurations in github.com/goharbor/harbor
Discover Packages
github.com/goharbor/harbor
src
common
utils
email
package
Version:
v1.5.0
Opens a new window with list of versions in this module.
Published: May 2, 2018
License: Apache-2.0
Opens a new window with license information.
Imports: 7
Opens a new window with list of imports.
Imported by: 60
Opens a new window with list of known importers.
Jump to ...
Documentation
Index
Constants
Variables
Functions
Ping(addr, identity, username, password, timeout, tls, insecure)
Send(addr, identity, username, password, timeout, tls, insecure, from, to, ...)
Types
Source Files
Documentation
Documentation
¶
func Ping(addr, identity, username, password string, timeout int, tls, insecure bool) error
func Send(addr, identity, username, password string, timeout int, tls, insecure bool, ...) error
func Ping(addr, identity, username, password string ,
timeout int , tls, insecure bool ) error
Ping tests the connection and authentication with email server
If tls is true, a secure connection is established, or Ping
trys to upgrate the insecure connection to a secure one if
email server supports it.
Ping doesn't verify the server's certificate and hostname when
needed if the parameter insecure is ture
func Send(addr, identity, username, password string ,
timeout int , tls, insecure bool , from string ,
to []string , subject, message string ) error
Send ...
Source Files
¶
Click to show internal directories.
Click to hide internal directories.