id: python-phish

info:
  name: python phishing Detection
  author: rxerium
  severity: info
  description: |
    A python phishing website was detected
  reference:
    - https://python.org
  metadata:
    max-request: 1
  tags: phishing,python,osint
http:
  - method: GET
    path:
      - "{{BaseURL}}"

    host-redirects: true
    max-redirects: 2

    matchers-condition: and
    matchers:
      - type: word
        words:
          - 'Welcome to Python.org'
          - 'The official home of the Python Programming Language'
        condition: and


      - type: status
        status:
          - 200

      - type: dsl
        dsl:
          - '!contains(host,"python.org")'
# digest: 4b0a0048304602210080bf74140c59a130cf4d92d9d107d6f2e4c9b202983d06f766610a88f0774f1f022100979c62dfcc0774943e42c5ed834bc0248992978bfd9163d100df136de104517b:922c64590222798bb761d5b6d8e72950