Improved code to search and replace base64_decode attack from all php files


/ Published in: Bash
Save to your folder(s)



Copy this code and paste it in your HTML
  1. find . \( -name "*.php" \) -exec grep -Hn "[[:blank:]+]eval(base64_decode(.*));" {} \; -exec sed -i 's/[[:blank:]+]eval(base64_decode(.*));//g' {} \;

Report this snippet


Comments


You need to login to view comments.