id: smtp2go-detect

info:
  name: SMTP2GO Detect
  author: pikpikcu,righettod
  severity: info
  metadata:
    max-request: 1
    shodan-query: http.title:"smtp2go"
  tags: tech,smtp2go

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

    redirects: true
    max-redirects: 2

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - "<title>SMTP2GO</title>"
          - "2022 &copy; SMTP2GO."
          - "mailto:ticket@smtp2go.com"
          - 'href="https://www.smtp2go.com/"'
        condition: or

      - type: status
        status:
          - 200
# digest: 4a0a00473045022100c06e361a871f8cc3b40fd0c5faccddd12462bc3ec1290ae4c9348ede9a0a79590220160edaba456fa0594aea69ae9bbc9c4e540cd2f6f8c49ae67762fbfca2a43349:922c64590222798bb761d5b6d8e72950