Created
July 29, 2022 19:52
-
-
Save Roni-Carta/4b9849775f99977643bfb089d600272c to your computer and use it in GitHub Desktop.
wp-wordlist helps you create wordlist of all the Wordpress' Themes and Plugins available
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
wp-wordlist() | |
{ | |
option="$1" | |
if [[ "$option" == *"plugin"* ]]; then | |
curl -s https://plugins.svn.wordpress.org/ | tail -n +5 | sed -e 's/<[^>]*>//g' -e 's/\///' -e 's/ \+//gp' | grep -v "Powered by Apache" | sort -u | |
elif [[ "$option" == *"theme"* ]]; then | |
curl -s https://themes.svn.wordpress.org/ | tail -n +5 | sed -e 's/<[^>]*>//g' -e 's/\///' -e 's/ \+//gp' | grep -v "Powered by Apache" | sort -u | |
fi | |
} | |
wp-wordlist "$1" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment