Skip to content
This repository has been archived by the owner on Jan 7, 2024. It is now read-only.

Commit

Permalink
Added about 20 service fingerprints
Browse files Browse the repository at this point in the history
  • Loading branch information
Cody Zacharias authored Mar 28, 2018
1 parent 82aaf67 commit f2d3e22
Showing 1 changed file with 94 additions and 24 deletions.
118 changes: 94 additions & 24 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -117,30 +117,51 @@ func Identify(url string) (service string) {

// First round
fingerprints := map[string]string{
"ERROR: The request could not be satisfied": "CLOUDFRONT",
"Fastly error: unknown domain": "FASTLY",
"There isn't a Github Pages site here.": "GITHUB",
"herokucdn.com/error-pages/no-such-app.html": "HEROKU",
"The gods are wise, but do not know of the site which you seek.": "PANTHEON",
"Whatever you were looking for doesn't currently exist at this address.": "TUMBLR",
"Do you want to register": "WORDPRESS",
"Sorry, We Couldn't Find That Page": "DESK",
"Help Center Closed": "ZENDESK",
"Oops - We didn't find your site.": "TEAMWORK",
"We could not find what you're looking for.": "HELPJUICE",
"No settings were found for this company:": "HELPSCOUT",
"The specified bucket does not exist": "S3 BUCKET",
"The thing you were looking for is no longer here, or never was": "GHOST",
"<title>404 &mdash; File not found</title>": "CARGO",
"The feed has not been found.": "FEEDPRESS",
"May be this is still fresh!": "FRESHDESK",
"Sorry, this shop is currently unavailable.": "SHOPIFY",
"You are being <a href=\"https://www.statuspage.io\">redirected": "STATUSPAGE",
"This UserVoice subdomain is currently available!": "USERVOICE",
"project not found": "SURGE",
"Unrecognized domain <strong>": "MASHERY",
"Repository not found": "BITBUCKET",
"The requested URL was not found on this server.": "UNBOUNCE",
"ERROR: The request could not be satisfied": "CLOUDFRONT",
"Fastly error: unknown domain": "FASTLY",
"There isn't a Github Pages site here.": "GITHUB",
"herokucdn.com/error-pages/no-such-app.html": "HEROKU",
"The gods are wise, but do not know of the site which you seek.": "PANTHEON",
"Whatever you were looking for doesn't currently exist at this address.": "TUMBLR",
"Do you want to register": "WORDPRESS",
"Sorry, We Couldn't Find That Page": "DESK",
"Help Center Closed": "ZENDESK",
"Oops - We didn't find your site.": "TEAMWORK",
"We could not find what you're looking for.": "HELPJUICE",
"No settings were found for this company:": "HELPSCOUT",
"The specified bucket does not exist": "S3 BUCKET",
"The thing you were looking for is no longer here, or never was": "GHOST",
"<title>404 &mdash; File not found</title>": "CARGO",
"The feed has not been found.": "FEEDPRESS",
"May be this is still fresh!": "FRESHDESK",
"Sorry, this shop is currently unavailable.": "SHOPIFY",
"You are being <a href=\"https://www.statuspage.io\">redirected": "STATUSPAGE",
"This UserVoice subdomain is currently available!": "USERVOICE",
"project not found": "SURGE",
"Unrecognized domain <strong>": "MASHERY",
"Repository not found": "BITBUCKET",
"The requested URL was not found on this server.": "UNBOUNCE",
"This page is reserved for artistic dogs.": "INTERCOM",
"<h1 class=\"headline\">Uh oh. That page doesn’t exist.</h1>": "INTERCOM",
"<p class=\"description\">The page you are looking for doesn't exist or has been moved.</p>": "WEBFLOW",
"Not found": "MAILERLITE",
"<h1>The page you were looking for doesn't exist.</h1>": "KAJABI",
"You may have mistyped the address or the page may have moved.": "THINKIFIC",
"<h1>Error 404: Page Not Found</h1>": "TAVE",
"https://www.wishpond.com/404?campaign=true": "WISHPOND",
"Oops.</h2><p class=\"text-muted text-tight\">The page you're looking for doesn't exist.": "AFTERSHIP",
"There is no portal here ... sending you back to Aha!": "AHA",
"to target URL: <a href=\"https://tictail.com": "TICTAIL",
"Start selling on Tictail.": "TICTAIL",
"<p class=\"bc-gallery-error-code\">Error Code: 404</p>": "BRIGHTCOVE",
"<h1>Oops! We couldn&#8217;t find that page.</h1>": "BIGCARTEL",
"alt=\"LIGHTTPD - fly light.\"": "ACTIVECAMPAIGN",
"Double check the URL or <a href=\"mailto:help@createsend.com": "CAMPAIGNMONITOR",
"The site you are looking for could not be found.": "ACQUIA",
"If you need immediate assistance, please contact <a href=\"mailto:support@proposify.biz": "PROPOSIFY",
"We can't find this <a href=\"https://simplebooklet.com": "SIMPLEBOOKLET",
"With GetResponse Landing Pages, lead generation has never been easier": "GETRESPONSE",
"Looks like you've traveled too far into cyberspace.": "VEND",
}

for f, _ := range fingerprints {
Expand Down Expand Up @@ -168,6 +189,32 @@ func Identify(url string) (service string) {
}
}
}
case "KAJABI":
if !bytes.Contains(body, []byte("Use title if it's in the page YAML frontmatter")) {
service = ""
}
case "THINKIFIC":
if !bytes.Contains(body, []byte("iVBORw0KGgoAAAANSUhEUgAAAf")) {
service = ""
}
case "TAVE":
if !bytes.Contains(body, []byte("tave.com")) {
service = ""
}
case "PROPOSIFY":
if !bytes.Contains(body, []byte("The page you requested was not found.")) {
service = ""
}
case "MAILERLITE":
size := len(body)
if size != 9 {
service = ""
}
case "ACTIVECAMPAIGN":
size := len(body)
if size != 844 {
service = ""
}
}

return service
Expand Down Expand Up @@ -220,6 +267,29 @@ func (s *Http) DNS() {
"mashery.com",
"bitbucket.io",
"unbouncepages.com",
"custom.intercom.help",
"proxy.webflow.com",
"landing.subscribepage.com",
"endpoint.mykajabi.com",
"thinkific.com",
"teamwork.com",
"clientaccess.tave.com",
"wishpond.com",
"aftership.com",
"ideas.aha.io",
"domains.tictail.com",
"cname.mendix.net",
"bcvp0rtal.com",
"brightcovegallery.com",
"gallery.video",
"bigcartel.com",
"activehosted.com",
"createsend.com",
"acquia-test.co",
"proposify.biz",
"simplebooklet.com",
".gr8.com",
"vendecommerce.com",
}

for _, cn := range cnames {
Expand Down

0 comments on commit f2d3e22

Please sign in to comment.