Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConsoleLog ¶
type Cookie ¶
type Cookie struct { ID uint `json:"id" gorm:"primarykey"` ResultID uint `json:"result_id"` Name string `json:"name"` Value string `json:"value"` Domain string `json:"domain"` Path string `json:"path"` Expires time.Time `json:"expires"` Size int64 `json:"size"` HTTPOnly bool `json:"http_only"` Secure bool `json:"secure"` Session bool `json:"session"` Priority string `json:"priority"` SourceScheme string `json:"source_scheme"` SourcePort int64 `json:"source_port"` }
type NetworkLog ¶
type NetworkLog struct { ID uint `json:"id" gorm:"primarykey"` ResultID uint `json:"result_id"` RequestType RequestType `json:"request_type"` StatusCode int64 `json:"status_code"` URL string `json:"url"` RemoteIP string `json:"remote_ip"` MIMEType string `json:"mime_type"` Time time.Time `json:"time"` Content []byte `json:"content"` Error string `json:"error"` }
type RequestType ¶
type RequestType int
RequestType are network log types
const ( HTTP RequestType = 0 WS )
type Result ¶
type Result struct { ID uint `json:"id" gorm:"primarykey"` URL string `json:"url"` ProbedAt time.Time `json:"probed_at"` FinalURL string `json:"final_url"` ResponseCode int `json:"response_code"` ResponseReason string `json:"response_reason"` Protocol string `json:"protocol"` ContentLength int64 `json:"content_length"` HTML string `json:"html" gorm:"index"` Title string `json:"title" gorm:"index"` PerceptionHash string `json:"perception_hash" gorm:"index"` PerceptionHashGroupId uint `json:"perception_hash_group_id" gorm:"index"` Screenshot string `json:"screenshot"` // Name of the screenshot file Filename string `json:"file_name"` IsPDF bool `json:"is_pdf"` // Failed flag set if the result should be considered failed Failed bool `json:"failed"` FailedReason string `json:"failed_reason"` Tags []Tag `json:"tags" gorm:"constraint:OnDelete:CASCADE"` TLS TLS `json:"tls" gorm:"constraint:OnDelete:CASCADE"` Technologies []Technology `json:"technologies" gorm:"constraint:OnDelete:CASCADE"` Headers []Header `json:"headers" gorm:"constraint:OnDelete:CASCADE"` Network []NetworkLog `json:"network" gorm:"constraint:OnDelete:CASCADE"` Console []ConsoleLog `json:"console" gorm:"constraint:OnDelete:CASCADE"` Cookies []Cookie `json:"cookies" gorm:"constraint:OnDelete:CASCADE"` }
Result is a Gowitness result
type TLS ¶
type TLS struct { ID uint `json:"id" gorm:"primarykey"` ResultID uint `json:"resultid"` Protocol string `json:"protocol"` KeyExchange string `json:"key_exchange"` Cipher string `json:"cipher"` SubjectName string `json:"subject_name"` SanList []TLSSanList `json:"san_list" gorm:"constraint:OnDelete:CASCADE"` Issuer string `json:"issuer"` ValidFrom time.Time `json:"valid_from"` ValidTo time.Time `json:"valid_to"` ServerSignatureAlgorithm int64 `json:"server_signature_algorithm"` EncryptedClientHello bool `json:"encrypted_client_hello"` }
type TLSSanList ¶
type Technology ¶
Click to show internal directories.
Click to hide internal directories.