Skip to content

bp0lr/firecheck

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

firecheck

A tool written in go to check permissions (R W D) on firebase instances.

Installing

Requires Go

go get -u github.com/bp0lr/firecheck

How To Use:

Examples:

  • firecheck -u "https://testdb-1ec08.firebaseio.com"
  • firecheck -u "https://testdb-1ec08.firebaseio.com" -H "foo: bar" -o result.txt -s
  • cat urls.txt | firecheck -o result.txt -s

Options:

-H, --header stringArray   Add custom Headers to the request
-o, --output string        Output file to save the results to
-p, --proxy string         Add a HTTP proxy
-r, --random-agent         Set a random User Agent
-s, --simple               Display only the url without R W D
-u, --url string           The firebase url to test
-m, --user string          Add your username for write POC
-v, --verbose              Display extra info about what is going on
-w, --workers int          Workers amount (default 50)

Practical Use

Try this tool in conbination with others for max results.

one line example:

cat urls.txt | getJS --complete --resolve | fget -w 50 -r -f -o . && find results/ -iname '*.js' -exec bash -c "js-beautify --quiet -o {}.ok.js {} > /dev/null 2>&1" \; && find results/ -type f -name "*.js" \! -name "*.ok.js" -exec rm -f {} \; && for D in `find results/ -type d`; do for file in `find ${D} -type f`; do gf firebase_secrets ${file} | awk -F: '{print $3}' >> gf.txt; done; done && cat gf.txt | httpx -silent | firecheck -v -o firebase.txt

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages