module Intrigue
  module Ident
  module Check
  class Sedo < Intrigue::Ident::Check::Base
  
    def generate_checks(url)
      [
        {
          type: "fingerprint",
          category: "service",
          tags: ["Parked"],
          vendor: "Sedo",
          product: "Sedo",
          website: "https://sedo.com/us/park-domains/",
          references: [],
          version: nil,
          match_logic: :all,
          matches: [
            {
              match_type: :content_body,
              match_content: /sedoParkingUrl:dto.sedoParkingUrl/i,
            }
          ],
          description: "parking string in body",
          hide: false,
          paths: [ { path: "#{url}", follow_redirects: true } ],
          inference: false
        },
        {
          type: "fingerprint",
          category: "service",
          tags: ["Parked"],
          vendor: "Sedo",
          product: "Sedo",
          website: "https://sedo.com/us/park-domains/",
          references: [],
          version: nil,
          match_logic: :all,
          matches: [
            {
              match_type: :content_body,
              match_content: /because\ this\ domain\ has\ been\ parked\ at\ your\ registrar/i,
            }
          ],
          description: "because this domain has been parked at your registrar",
          hide: false,
          paths: [ { path: "#{url}", follow_redirects: true } ],
          inference: false
        },
        {
          type: "fingerprint",
          category: "service",
          tags: ["Parked"],
          vendor: "Sedo",
          product: "Sedo",
          website: "https://sedo.com/us/park-domains/",
          references: [],
          version: nil,
          match_logic: :all,
          matches: [
            {
              match_type: :content_body,
              match_content: /FOOTER_DOMAIN_PARKING/,
            }
          ],
          description: "FOOTER_DOMAIN_PARKING",
          hide: false,
          paths: [ { path: "#{url}", follow_redirects: true } ],
          inference: false
        }
      ]
    end
  
  end
  end
  end
  end
  
