In the past few days I was solving a problem on a site and the problem was this; The site has an iframe virus, the site pings teleporn.net and most links redirect to ask.com or teleporn.net which is a banned site, the site was banned because it installs a virus on your system without knowing it. This problem has bothered me most of the time because I am having a hard time where to fix the teleporn.net redirection. So how did I solve the problem? First thing was that I investigated every file that I have. And there I found out that a script was appended on the PHP and HTML files I have on the server. To have a picture how the script looks like, I have an image below:

![]()

So I downloaded all the files on my local computer and I have an avast antivirus which is also cool to use though its annoying sometimes. Let it scan the downloaded files and everytime it detects the script I just erased the apended script and make sure you don’t just comment the script because it will still be detected as a virus.
I cleaned all the files removing the iframe and the script that was appended. As I have observed it writes mostly on index.php, index.html, login.php, login.html, auth.php files. This was causing the redirection and ping of the teleporn.net site which is a banned site. Sooner your will be banned as well for linking to the site and this will be a very bad reputation for your site.
How did the ask.com redirection link fixed? Look at your .htaccess file erase everything that has the code below:

After deleting the code seen above then the link would be fine now. So that way I solved all of the problems thanks to AVAST anti virus that it helped me a lot in solving the problem. You should also check some every directory because there are .htaccess files that are being created with redirection of banned sites. You can also try using other anti virus that can detect the script that is being appended. This is is more faster than doing it manually.
I hope I have helped someone who has the same problem I have though searches on this kind of problem very low. I hope this will be a great help for you. Send me a comment if how it works for you.
Did find the post very useful? Maybe you want to buy me a glass of beer!






0 Comments until now.
Comment!