Clean Wordpress Posts of MALWARE

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

Just change the script tag to whatever your malware is injecting.

Copy this code and paste it in your HTML
  1. UPDATE wp_posts set post_content=REPLACE(post_content,'<script src=""></script>','<!--Cleaned-->') WHERE LOCATE('<script src=""></script>',post_content)

Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.