From 4f3b7d4506f34efc1da041f2d0035cb3ca1557bc Mon Sep 17 00:00:00 2001 From: Prince Chaddha Date: Mon, 25 Apr 2022 03:04:22 +0400 Subject: [PATCH] Update and rename extract-firebase-database.yaml to firebase-database-extractor.yaml --- miscellaneous/extract-firebase-database.yaml | 19 ------------------ .../firebase-database-extractor.yaml | 20 +++++++++++++++++++ 2 files changed, 20 insertions(+), 19 deletions(-) delete mode 100644 miscellaneous/extract-firebase-database.yaml create mode 100644 miscellaneous/firebase-database-extractor.yaml diff --git a/miscellaneous/extract-firebase-database.yaml b/miscellaneous/extract-firebase-database.yaml deleted file mode 100644 index dbd9a8023f..0000000000 --- a/miscellaneous/extract-firebase-database.yaml +++ /dev/null @@ -1,19 +0,0 @@ -id: extract-firebase-database - -info: - name: Firebase Database Extract Check - author: rafaelwdornelas - severity: info - description: Extract Firebase Database - tags: firebase - -requests: - - raw: - - | - GET / HTTP/1.1 - Host: {{Hostname}} - - extractors: - - type: regex - regex: - - "([a-z0-9.-]+.firebaseio.com)" diff --git a/miscellaneous/firebase-database-extractor.yaml b/miscellaneous/firebase-database-extractor.yaml new file mode 100644 index 0000000000..3918a2a836 --- /dev/null +++ b/miscellaneous/firebase-database-extractor.yaml @@ -0,0 +1,20 @@ +id: firebase-database-extractor + +info: + name: Firebase Database Extract Check + author: rafaelwdornelas + severity: info + description: Extract Firebase Database + tags: firebase,misc + +requests: + - method: GET + path: + - "{{BaseURL}}" + + extractors: + - type: regex + part: body + regex: + - "[a-z0-9.-]+\\.firebaseio\\.com" + - "[a-z0-9.-]+\\.firebaseapp\\.com"