id: firebase-database-extractor

info:
  name: Firebase Database Extract Check
  author: rafaelwdornelas
  severity: info
  description: Extract Firebase Database
  metadata:
    max-request: 1
  tags: miscellaneous,firebase,misc,vuln

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

    extractors:
      - type: regex
        part: body
        regex:
          - "[a-z0-9.-]+\\.firebaseio\\.com"
          - "[a-z0-9.-]+\\.firebaseapp\\.com"
# digest: 4a0a00473045022100ee47853726c6441fad1f54542ce45cb5b850a36a0062570c88f840f622be1a580220636a784eda85b6db76c3d69625576201dd263709de1e291c88e3646f23bac06a:922c64590222798bb761d5b6d8e72950