classify CloudFront distributions
Custom domains commonly CNAME to <dist>.cloudfront.net, so CDN-hosted static sites were invisible to CNAME discovery. Classify them as AWS/WebApp and probe https://<dist>.cloudfront.net/ for readability.
This commit is contained in:
1 parent
e668429d1e
commit
c90d5cc023
3 files changed
+20
No files matched your search
@@ -114,6 +114,8 @@ func Classify(host string) (model.Match, bool) {
|
||||
switch {
|
||||
case strings.HasSuffix(host, ".amazonaws.com"):
|
||||
return classifyAWS(&s)
|
||||
case strings.HasSuffix(host, ".cloudfront.net"):
|
||||
return classifyCloudFront(&s)
|
||||
case strings.HasSuffix(host, ".core.windows.net"):
|
||||
return classifyAzureCore(&s)
|
||||
case strings.HasSuffix(host, ".database.windows.net"):
|
||||
|
||||
Reference in new issue
Block a user