gf-secrets icon indicating copy to clipboard operation
gf-secrets copied to clipboard

Secret and/or credential patterns used for gf.

:key: gf-secrets

Secret and/ credential patterns used for gf.

Requirements :sparkles:

Getting started :dizzy:

Clone this repository.

▶ git clone https://github.com/dwisiswant0/gf-secrets

Then copy all JSON pattern files into ~/.gf directory.

▶ cd gf-secrets/
▶ cp -a .gf/ $HOME

Workaround :recycle:

Finding for testing point with gau and fff.

▶ gau -subs [host] | cut -d"?" -f1 | grep -E "\.js(?:onp?)?$" | tee urls.txt
▶ sort -u urls.txt | fff -s 200 -o out/

After we save response from known URLs, it's time to digging for secrets.

Usage :speech_balloon:

▶ for i in `gf -list`; do [[ ${i} =~ "_secrets"* ]] && gf ${i}; done

You will see stdout results in your terminal if grep recursively turns match.

Contributing :busts_in_silhouette:

contributions

If you find a general pattern for secrets and/ credentials, feel free to open pull request. :green_heart:

License :page_facing_up:

The JSON files and documentation in this project are released under the MIT License.

Tools used with this project include third party materials.

Twitter Follow