Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save moodiabdoul3/6ad7975e01faa3bad5cd58039740d47c to your computer and use it in GitHub Desktop.
Save moodiabdoul3/6ad7975e01faa3bad5cd58039740d47c to your computer and use it in GitHub Desktop.
#!/bin/bash
GREEN='\033[0;32m'
YELLOW='\033[0;33m'
RED='\033[0;31m'
CYAN='\033[0;36m'
END='\033[0m'
echo -e """${CYAN}
██╗ ██╗██╗██╗ ██╗ ██████╗ ██████╗ ██╗ ██╗
██║ ██╔╝██║██║ ██║ ██╔══██╗██╔═══██╗╚██╗██╔╝
█████╔╝ ██║██║ ██║ ██████╔╝██║ ██║ ╚███╔╝
██╔═██╗ ██║██║ ██║ ██╔══██╗██║ ██║ ██╔██╗
██║ ██╗██║███████╗███████╗██████╔╝╚██████╔╝██╔╝ ██╗
╚═╝ ╚═╝╚═╝╚══════╝╚══════╝╚═════╝ ╚═════╝ ╚═╝ ╚═╝${END}
${RED}~ Frogs find bugs. ~${END}
"""
for id in {0..7}; do
echo "[+] GET 201$id"
curl -Ls "https://web.archive.org/web/201${id}0301234743js_/https://www.mapbox.com/base.js/dist/base.js" > "mapbox-$id"
js-beautify "mapbox-$id" > "mapbox-$id-lol"
python /root/LinkFinder/linkfinder.py -i "mapbox-$id-lol" -o cli > "mapbox-$id-endpoints" 2> /dev/null
done
echo
echo "[+] Diff files."
for doc in {0..6}; do
docplus=$((doc + 1))
colordiff "mapbox-$doc-endpoints" "mapbox-$docplus-endpoints"
done
echo
echo "[+] Grep for passwords."
grep --color -i "password" "mapbox-7-lol"
echo
echo "[+] Grep for tokens."
grep --color -i "token" "mapbox-7-lol"
echo "In frogs we trust." | cowsay -f bud-frogs | lolcat
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment