id: burp-rest-api-detect

info:
  name: Burp Rest API Server Running
  author: joanbono
  severity: info
  reference:
    - https://portswigger.net/burp/documentation/enterprise/api-reference
  metadata:
    max-request: 1
  tags: burp,tech

http:
  - method: GET
    path:
      - "{{BaseURL}}/v0.1/"

    matchers-condition: and
    matchers:
      - type: word
        words:
          - '<title>Burp API</title>'
        part: body

      - type: word
        words:
          - 'X-Burp-Version'
        part: header

      - type: status
        status:
          - 200
# digest: 490a004630440220605632fcf441db7f509a15fd7055501a96e3483dbe7e9fdc5f6765ebd8e5724d022001d69d056ad3d34e659fbc1f34a794aa8007d8c047af5cd0ab626360285acc22:922c64590222798bb761d5b6d8e72950