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

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

    redirects: true
    max-redirects: 2

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