Title: Can&#039;t delete &quot;malicious executable code&quot;
Last modified: August 30, 2016

---

# Can't delete "malicious executable code"

 *  Resolved [Alex](https://wordpress.org/support/users/doctor-doubledrop/)
 * (@doctor-doubledrop)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/cant-delete-malicious-executable-code/)
 * Hi, wordfance allerts me about this:
    “public_html/wp-content/cache/object/000000/
   d55/3b1/d553b1cad681765460a6d0eded03aaf2.php”
 * I’ve select the “Tools:Delete this file (can’t be undone).”
    but I’ve this error:
 * “An error occurred
    An invalid file was requested for deletion.”
 * what do I need to do?
 * [https://wordpress.org/plugins/wordfence/](https://wordpress.org/plugins/wordfence/)

Viewing 3 replies - 1 through 3 (of 3 total)

 *  [WFBrian](https://wordpress.org/support/users/wfbrian/)
 * (@wfbrian)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/cant-delete-malicious-executable-code/#post-6390321)
 * Hi,
 * If you have FTP access or similar to your site you could navigate directly to
   that directory and delete the file in question. Check with your hosting provider
   if you are not sure how to access via FTP.
 * Thanks,
    Brian
 *  Thread Starter [Alex](https://wordpress.org/support/users/doctor-doubledrop/)
 * (@doctor-doubledrop)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/cant-delete-malicious-executable-code/#post-6390363)
 * Hi, Iw as not able to delete the file via FTP too.. btw today I managed to delete
   it.. maybe the problem was that the file was reading by wordfence and was not
   possible to delete it.. just another little question if possible.. yesterday 
   I’ve started a scan manually but today it was still running.. how many time do
   it need to scan the site?
 *  [WFBrian](https://wordpress.org/support/users/wfbrian/)
 * (@wfbrian)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/cant-delete-malicious-executable-code/#post-6390408)
 * Wordfence will scan your site automatically and alert you to problems. If/when
   Wordfence alerts you to an issue, fix the problem, and then run a manual scan
   to confirm the issue is resolved.
 * -Brian

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Can't delete "malicious executable code"’ is closed to new replies.

 * ![](https://ps.w.org/wordfence/assets/icon.svg?rev=2070865)
 * [Wordfence Security - Firewall, Malware Scan, and Login Security](https://wordpress.org/plugins/wordfence/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wordfence/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wordfence/)
 * [Active Topics](https://wordpress.org/support/plugin/wordfence/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wordfence/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wordfence/reviews/)

## Tags

 * [code](https://wordpress.org/support/topic-tag/code/)
 * [malicious](https://wordpress.org/support/topic-tag/malicious/)

 * 3 replies
 * 2 participants
 * Last reply from: [WFBrian](https://wordpress.org/support/users/wfbrian/)
 * Last activity: [10 years, 9 months ago](https://wordpress.org/support/topic/cant-delete-malicious-executable-code/#post-6390408)
 * Status: resolved