From dfa98d9dac0675854c2d8477c0ce3a9e7bbe3580 Mon Sep 17 00:00:00 2001 From: Jan-Jaap Korpershoek Date: Fri, 25 Oct 2024 10:14:33 +0200 Subject: [PATCH] Change pyrebase to pyrebase4 The pyrebase repo has not been updated for 4 years (at the time of writing) and no longer works on recent python versions (3.10+). Pyrebase4 is more recent and seems to be maintained. --- .../gcp-security/gcp-services/gcp-firebase-enum.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pentesting-cloud/gcp-security/gcp-services/gcp-firebase-enum.md b/pentesting-cloud/gcp-security/gcp-services/gcp-firebase-enum.md index 8b0e7c48db..a9d6e9beed 100644 --- a/pentesting-cloud/gcp-security/gcp-services/gcp-firebase-enum.md +++ b/pentesting-cloud/gcp-security/gcp-services/gcp-firebase-enum.md @@ -50,6 +50,7 @@ If you have credentials to access the Firebase database you can use a tool such ```python #Taken from https://blog.assetnote.io/bug-bounty/2020/02/01/expanding-attack-surface-react-native/ +#Install pyrebase: pip install pyrebase4 import pyrebase config = { @@ -66,7 +67,7 @@ db = firebase.database() print(db.get()) ``` -To test other actions on the database, such as writing to the database, refer to the Pyrebase documentation which can be found [here](https://github.com/thisbejim/Pyrebase). +To test other actions on the database, such as writing to the database, refer to the Pyrebase4 documentation which can be found [here](https://github.com/nhorvath/Pyrebase4). ### Access info with APPID and API Key