Skip to content

Instantly share code, notes, and snippets.

@ko31
Created February 15, 2017 12:41
Show Gist options
  • Save ko31/e1717e5b897640cc8444310001eded19 to your computer and use it in GitHub Desktop.
Save ko31/e1717e5b897640cc8444310001eded19 to your computer and use it in GitHub Desktop.
サーバー内にあるWordPress本体の改ざんをチェックする
find . -type f -name 'wp-config.php' -exec bash -c '_wp=$(echo {} | sed -e s/[^\/]*$//); echo -n "${_wp}: "; wp --path=${_wp} core verify-checksums' \; 2>/dev/null
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment