heartbleed

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2014 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Closed = errors.New("heartbleed: the site closed/reset the connection (usually a safe reaction to the heartbeat)")
View Source
var Safe = errors.New("heartbleed: no response or payload not found")
View Source
var Services = []string{
	"ftp",
	"smtp",
	"pop3",
	"imap",
}
View Source
var Timeout = errors.New("heartbleed: timeout")

Functions

func DoStartTLS

func DoStartTLS(conn net.Conn, startType string) (err error)

func Heartbleed

func Heartbleed(tgt *Target, payload []byte, skipVerify bool) (string, error)

Types

type LineProtoTriple

type LineProtoTriple struct {
	GreetMatch    string
	AuthReq       string
	ResponseMatch string
}

type Target

type Target struct {
	HostIp  string
	Service string
}

Jump to

Keyboard shortcuts

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