Skip to content

Instantly share code, notes, and snippets.

@Blake-
Created March 8, 2017 23:45
Show Gist options
  • Save Blake-/96a73ff79b4533e15b919a2f47968b3f to your computer and use it in GitHub Desktop.
Save Blake-/96a73ff79b4533e15b919a2f47968b3f to your computer and use it in GitHub Desktop.
Find all WordPress installs on a server and record the version
find /home/ -name 'version.php' -path '*wp-includes/*' -print -exec grep '$wp_version =' {} \; -exec echo '' \; > all-wp-versions-2.txt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment