id: semantic-ui-detect

info:
  name: Semantic UI Framework - Detect
  author: Shivam Kamboj
  severity: info
  description: |
    Detects the presence of Semantic UI, a development framework that helps create beautiful, responsive layouts using human-friendly HTML.
  reference:
    - https://semantic-ui.com/
  metadata:
    verified: true
    max-request: 1
    shodan-query: html:"semantic.min.css"
  tags: tech,semantic-ui,discovery

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

    redirects: true

    matchers:
      - type: regex
        part: body
        regex:
          - '(?i)href=["''][^"'']*semantic(?:[\.-]min)?\.css'
          - '(?i)src=["''][^"'']*semantic(?:[\.-]min)?\.js'
        condition: or
# digest: 4b0a00483046022100b160aafe33cde5bde6aaca1f85a4f0ade84c9441b5bfe70b226f41be37442e52022100c495839ef174828ece79e343100dbfef8560cb66ce1f2c00d6cf0afb542861be:922c64590222798bb761d5b6d8e72950