Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Certificate ¶
type Certificate interface {
Save() error
Created() types.DateTime
Updated() types.DateTime
Fingerprint() string
SetFingerprint(val string)
Issuer() string
SetIssuer(val string)
Subject() string
SetSubject(val string)
AlternativeNames() string
SetAlternativeNames(val string)
NotBefore() types.DateTime
SetNotBefore(lastSeen time.Time)
Expires() types.DateTime
SetExpires(lastSeen time.Time)
SetSerial(serialNumber *big.Int)
Id() string
}
type DNSRecord ¶
type DNSRecord interface {
SetName(string)
SetValue(string)
SetType(string)
SetTTL(time.Duration)
SetRootDomain(domain RootDomain)
SetExternalReference(extRef ExternalReference)
SetResolveErr(resolveErr string)
SetResolveErrCount(errCount int)
SetLastResolved(lastResolved time.Time)
SetLastSeen(lastSeen time.Time)
Name() string
Value() string
Type() string
TTL() time.Duration
RootDomain() RootDomain
ResolveError() string
ResolveErrorCount() string
LastResolved() types.DateTime
LastSeen() types.DateTime
Created() types.DateTime
Updated() types.DateTime
Save() error
Id() string
}
type ExternalReference ¶
type IPAddress ¶
type IPAddress interface {
Save() error
Created() types.DateTime
Updated() types.DateTime
Address() string
SetAddress(val string)
Is6() bool
SetIs6(val bool)
IsGlobalUnicast() bool
SetIsGlobalUnicast(val bool)
IsInterfaceLocalMulticast() bool
SetIsInterfaceLocalMulticast(val bool)
IsLinkLocalMulticast() bool
SetIsLinkLocalMulticast(val bool)
IsLinkLocalUnicast() bool
SetIsLinkLocalUnicast(val bool)
IsLoopback() bool
SetIsLoopback(val bool)
IsMulticast() bool
SetIsMulticast(val bool)
IsPrivate() bool
SetIsPrivate(val bool)
IsUnspecified() bool
SetIsUnspecified(val bool)
IsEphemeral() bool
SetIsEphemeral(val bool)
LastSeen() types.DateTime
SetLastSeen(lastSeen time.Time)
LastSimplePortScan() types.DateTime
SetLastSimplePortScan(lastScan time.Time)
Id() string
GetDomains() []string
GetDNSRecords() ([]DNSRecord, error)
}
type IPPort ¶
type IPPort interface {
Save() error
Created() types.DateTime
Updated() types.DateTime
IPAddress() string
SetIPAddress(val string)
Port() int
SetPort(val int)
Banner() string
SetBanner(val string)
Service() string
SetService(val string)
AppProtocol() string
SetAppProtocol(val string)
Protocol() string
SetProtocol(val string)
LastSeen() types.DateTime
SetLastSeen(lastSeen time.Time)
Id() string
GetIP() IPAddress
}
type IPPortCertificate ¶
type OrgCertificate ¶
type OrgCertificate interface {
Organization() string
SetOrganization(string)
Serial() string
SetSerial(string)
Issuer() string
SetIssuer(string)
NotBefore() types.DateTime
SetNotBefore(time time.Time)
NotAfter() types.DateTime
SetNotAfter(time time.Time)
Subject() string
SetSubject(string)
SubjectAlternativeNames() string
SetSubjectAlternativeNames(string)
SetExternalReference(extRef ExternalReference)
ExternalReferenceId() string
LastSeen() types.DateTime
SetLastSeen(lastSeen time.Time)
Save() error
Id() string
}
type OrgIPAddress ¶
type OrgRootDomain ¶
type Organization ¶
type Organization interface {
Name() string
Save() error
Id() string
SubdomainTakeovers() ([]sulfur.SubdomainTakeover, error)
BadCertificates() ([]sulfur.BadCertificate, error)
}
Click to show internal directories.
Click to hide internal directories.