Versions in this module Expand all Collapse all v1 v1.0.0 May 22, 2024 Changes in this version + func AddDefaultPort(input string, defaultPort int) string + func ByteToMb(b uint64) string + func DumpMemProfile(outputDir string, name string) + func GetClientHello(name string) (ch *tls.ClientHelloPreset) + func GetMD5(input []byte) []byte + func GetNtpLocalTimeDiff() (d time.Duration) + func GetSHA1(input []byte) []byte + func GetSHA256(input []byte) []byte + func IsClosedConnErr(err error) bool + func IsStdInPresent() bool + func LoadClientHellos(opts *Options) + func LoadCustomCH(filename string) (*tls.ClientHelloPreset, error) + func MaxInt64(a, b int64) int64 + func MinInt(a, b int) int + func NewFalse() *bool + func NewTrue() *bool + func OpensslFormat(input string, header string, trailer string) string + func ParseAlerts(alerts []tls.Alert) []string + func PrintStacktrace(all bool) + func RunCommandToLog(c *exec.Cmd, event *zerolog.Event) + func ToCompactBinary(input *bool) string + func ToJSONArray(input []string) string + func ToJSONIntArray(input []int) string + type CertCache struct + func NewCertCache(cacheFunc func([]byte) []byte) *CertCache + func (c *CertCache) GetID(cert *x509.Certificate) (certId SessionUID, certIsNew bool) + func (c *CertCache) MarkOld(cert *x509.Certificate) + type CertPool struct + func NewCertPool(certs []*x509.Certificate, withSystemStore bool) *CertPool + func (s *CertPool) FindPotentialParents(cert *x509.Certificate) []int + func (s *CertPool) Get(i int) *x509.Certificate + func (s *CertPool) IsFromSystemStore(i int) bool + func (s *CertPool) N() int + type LogWriter struct + func (LogWriter) Write(p []byte) (n int, err error) + type Options struct + Concurrency int + Config string + CreateCHCommand cmd.CreateCHCommand + CreateCHInputCommand cmd.CreateCHInputCommand + CustomClientHello string + CustomClientHelloDir string + DissecTLSLightweight bool + DissecTLSMaxCHs int + DissecTLSMode string + DissecTLSQps float64 + GenerateFingerprintsCommand cmd.GenerateFingerprintsCommand + HTTPExtendedExport bool + HTTPHeaders string + HTTPRequests []string + HashCache string + Input string + KeyLogFile bool + LogFile string + MemProfile bool + OutputDir string + Profile string + QPS int + SCSV bool + SSH bool + Scans []string + SkipErrors bool + SourceIP string + SynTimeout int64 + TLSExtendedExport bool + TLSSaveStapledOcspResponses bool + Timeout int64 + Verbose []bool + Version bool + type SessionUID uint32 + func GetSessionUID() SessionUID + func (s SessionUID) ToString() string