Documentation ¶
Index ¶
Constants ¶
View Source
const ( MaxWidth = 1920 MinHeight = 1080 )
Variables ¶
This section is empty.
Functions ¶
func DoFullScreenshot ¶
执行截图 --remote-debugging-port=9222 参考:https://github.com/chromedp/chromedp/issues/1131
chromedp.Evaluate(js, &height), 返回最后一行js语句的结果
Types ¶
type Org ¶
type Org struct { Country string `json:"country"` // 国家或地区 Province string `json:"province"` // 省/市/自治区 Locality string `json:"locality"` // 所在地 OrganizationalUnit string `json:"organizational_unit"` // 组织单位 Organization string `json:"organization"` // 组织 CommonName string `json:"common_name"` // 常用名称 StreetAddress string `json:"street_address"` // 街道地址 PostalCode string `json:"postal_code"` // 邮政编码 }
type PocWebAppData ¶
type PocWebAppData struct { Title string `json:"title"` //网站标题 Link string `json:"link"` //网站链接 StatusCode string `json:"status_code"` //状态代码 Ip string `json:"ip"` //ip Port string `json:"port"` //端口 Keywords string `json:"keywords"` //关键字 Description string `json:"description"` //网站描述 Classification string `json:"classification"` //内容分类 SensitiveWords string `json:"sensitive_words"` //敏感词 Framework string `json:"framework"` //网站框架 Header string `json:"header"` //头部信息 SecondaryLinks string `json:"secondary_links"` //二级链接 LargeImage string `json:"large_image"` //网站截图(大图) SmallImage string `json:"small_image"` //网站截图(封面) Tls string `json:"tls"` //tls证书 }
type TLS ¶
type TLS struct { Proto string `json:"proto"` // 协议 Subject Org `json:"subject"` // 主题名称 Issuer Org `json:"issuer"` // 签发者名称 DNSNames []string `json:"dns_names"` // DNS服务器名称 CRLDistributionPoints string `json:"crl_distribution_points"` // CRL分发点 URI OCSPServer string `json:"ocsp_server"` // 在线证书状态协议 URI IssuingCertificateURL string `json:"issuing_certificate_url"` // CA签发者 URI SubjectKeyId []uint8 `json:"subject_key_id"` // 主题密钥标志符 AuthorityKeyId []uint8 `json:"authority_key_id"` // 授权密钥标志符 SignatureAlgorithm string `json:"signature_algorithm"` // 签名算法 PublicKeyAlgorithm string `json:"public_key_algorithm"` // 公钥算法 Signature []uint8 `json:"signature"` // 签名 PublicKey interface{} `json:"public_key"` // 公共密钥 NotBefore time.Time `json:"not_before"` // 有效期开始 NotAfter time.Time `json:"not_after"` // 有效期结束 SerialNumber *big.Int `json:"serial_number"` // 序列号 Version int `json:"version"` // 版本 }
Click to show internal directories.
Click to hide internal directories.