id: form-detection

info:
  name: Form Detection
  author: pdteam
  severity: info
  description: |
    A template to detect HTML Forms in page response.
  reference:
    - https://github.com/dirtycoder0124/formcrawler
  metadata:
    max-request: 1
  tags: form,misc,miscellaneous,vuln

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

    redirects: true
    max-redirects: 2

    matchers:
      - type: word
        part: body
        words:
          - "<form"
          - "</form>"
          - "<button"
        condition: and
# digest: 4a0a0047304502202a3baf3ad5016cae074f5fb1b0b502e63e29a28f9f3d9b764aa95fd546ca795e022100f4de710f15515d480ae3a2bbcac5994156c7647a04f87f4823920d2806bfa6a4:922c64590222798bb761d5b6d8e72950