id: admiralcloud-detect

info:
  name: AdmiralCloud - Detect
  author: righettod
  severity: info
  description: |
    AdmiralCloud was detected.
  reference:
    - https://www.admiralcloud.com/en/
  metadata:
    verified: true
    max-request: 1
    shodan-query: http.title:"AdmiralCloud"
  tags: tech,admiralcloud,detect

http:
  - method: GET
    path:
      - "{{BaseURL}}"

    redirects: true
    max-redirects: 2
    matchers:
      - type: dsl
        dsl:
          - 'status_code == 200'
          - 'contains_any(to_lower(body), "content=\"admiralcloud", "<title>admiralcloud")'
        condition: and

    extractors:
      - type: regex
        part: body
        group: 1
        regex:
          - '\s+([0-9\.]+)</title>'
# digest: 4b0a00483046022100bbaad2b611f9faedda107d6eee0249a96a3774b24a73466f7a61d6dae1a2a082022100afaa9f8a0bef12e00c668ff3b3dcb8df107aff03e304a9908df6e016ea1e1ca4:922c64590222798bb761d5b6d8e72950