Skip to content

Instantly share code, notes, and snippets.

@ndunks
Created December 20, 2017 08:41
Show Gist options
  • Save ndunks/c8a4c468b0372c4daee532698c1882b1 to your computer and use it in GitHub Desktop.
Save ndunks/c8a4c468b0372c4daee532698c1882b1 to your computer and use it in GitHub Desktop.
for dir in `find ~/apps/* -maxdepth 0 -type d`
do
grep -Rl --include "*.php" "eval(" "$dir/public/"
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment