id: piwigo-detect

info:
  name: Piwigo Detect
  author: pikpikcu
  severity: info
  metadata:
    max-request: 1
    fofa-query:
      - title="piwigo"
      - icon_hash=540706145
    product: piwigo
    vendor: piwigo
    google-query: powered by piwigo
    shodan-query: http.favicon.hash:540706145
  tags: piwigo,tech

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

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - 'piwigo.org">Piwigo</a>'
          - 'Piwigo (aka PWG), see piwigo.org'
        condition: or

      - type: status
        status:
          - 200
# digest: 490a0046304402202c5822b1973f10fca034bc6e8bfd37e56ed5a94897b98ff76f501eb62eca8bf702201252f77d14538f7c9eb3630a5d6fc012fad031e6d5cca661660f01a97ebddecb:922c64590222798bb761d5b6d8e72950