isValidPage 函数用于验证给定的网页是否有效,通过检查 HTTP 响应的特定特征和与已知404页面的相似度
isValidPage
func isValidPage(resp response) bool
name: leak-yaml-backup-default transport: http rules: zip: request: path: /a.zip headers: Range: bytes=0-8096 expression: response.body.bstartsWith(b'PK\x03\x04') && !response.content_type.icontains("html") && isValidPage(response) expression: zip()
Was this page helpful?