Jump to content

Recommended Posts

I hope I am putting this in the right forum; I'm totally confused on what the problem is.  I run an EQDKP (php-based mod that allows world of warcraft gamers to track their DKP points) site here: http://www.davidbhowe.net/eqdkp3

 

As you can see, the site is working just fine (news page anyway).  However, if you click on standings on the left, it takes you here:  http://www.davidbhowe.net/eqdkp3/listmembers.php

 

So far so good... however, when the page finishes loading, I get redirected here: http://promotions.zonealarm.com/security/en-us/cdn/zaxs/20090819.htm

 

This happens to a lot of my guild members too, so I know it isn't local to my machine.  My best guess is that a security hole exists in the database or php that has allowed a bot to somehow add in that redirect.  Note, it only seems to redirect some of the time - not always.

 

Anyone have any advice?  I can't seem to find much on google that has proven useful.

 

Thank you!

-David

Link to comment
https://forums.phpfreaks.com/topic/172862-solved-weird-php-redirect-on-my-website/
Share on other sites

If you use a good text editor, you can set it to search through all of the files in your site, and find the link. Wherever it is, you should be able to find it. If you were hacked, it could be in an include, or even in an .htaccess file.

I have the same problem.

Please, could you describe how you solved this problem?

I need step by step instructions.

Thanks

 

1. connect to your server

2. open the file in which the redirect happens

3. browse through the source code and look for any code that you did not write

4. if you find nothing then look in the directory for any unknown files (like .htaccess)

5. repeat steps 2-4 for all files and directories until you find any unknown code/file

I have the same problem.

Please, could you describe how you solved this problem?

I need step by step instructions.

Thanks

 

1. connect to your server

2. open the file in which the redirect happens

3. browse through the source code and look for any code that you did not write

4. if you find nothing then look in the directory for any unknown files (like .htaccess)

5. repeat steps 2-4 for all files and directories until you find any unknown code/file

This isn't the problem. The script causing the redirect is an external file (from another url) as an include. It was included at the top of the page (advertising revenue). Look at my previous post. Just remove any includes to scripts that are not on your domain.

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.