id: smtp2go-detect

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

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