Skip to content

Instantly share code, notes, and snippets.

@EdOverflow
Last active April 29, 2021 13:29
Show Gist options
  • Save EdOverflow/4d96b379da40b6c9006ac5e721450651 to your computer and use it in GitHub Desktop.
Save EdOverflow/4d96b379da40b6c9006ac5e721450651 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