How to Remove “eval(base64_decode”

, How to Remove “eval(base64_decode”, Hostripples Web Hosting

First, we must find all infested files using following command.

[email protected]# cd /home/username/public_html/

[email protected]#grep -lr --include=*.php "eval(base64_decode" *

How to Remove the code ?

grep -lr --include=*.php "eval(base64_decode" /home/username/public_html/ | xargs sed -i.bak 's/<?php eval(base64_decode[^;]*;/<?php\n/g'

Please try it.

 


Subscribe Now to stay updated.

Please fill in your email address to get most latest updates.