/firebase-mapping

Firebase's insecure rules scanner extracts the Firebase URL from an APK and checks if it's vulnerable.

Primary LanguagePython

Firebase's insecure rules scanner

Firebase's insecure rules scanner is a tool made for hackers and android developers. It extracts the Firebase URL from an apk and checks to see if it's vulnerable or has permissions correctly added to it.

Installation

Install it manually, by running these commands

git clone https://github.com/cTFk1ller/firebase-mapping.git
cd firebase-mapping
pip3 install -r requirements.txt

Usage

# Check if this app contains a Firebase URL.
python3 main.py -a APK_PATH 

# Use the -o option to save JSON data into a file.
# If you didn't provide the full path, the script may crash if you try to write in a higher priority directory.
python3 main.py -a APK_PATH -o FULL_PATH_OUTPUT

# Use --apk or --url; don't use both; use the -q option to run in quiet mode.
python3 main.py --url FIREBASE_URL -q

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

cTFk1ller