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,discovery

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: 4a0a00473045022029b64989795296d03eb16fef98d159c10099ce8991df6c54ecdd7b936da9b3bc0221009b006c9d08941779a6b9ee7e2b3df4f605bab9929e87c8f37b472d2611ad8430:922c64590222798bb761d5b6d8e72950