Results 1 to 5 of 5
  1. #1
    Join Date
    Apr 2009

    .js file getting injected?

    One of my .js file is getting injected, adding malicious code to the top. I replaced the file and changed file permission to 444 about 3 weeks ago but just right now, the malicous code was added again.

    My computer is spyware free and I have strong password, what can be the cause of this?

    I need to find out how it's able to add the code. My temporary solution is to do a cron wget to replace the .js file every day, how do I set it up in DirectAdmin?

  2. #2
    I suggest to check FTP and Apache access log for your website. Sometime this happens if there is XSS vulnerability in your code.

    || Web Hosting Blog - Web Hosting security & latest web hosting industry Announcements
    || Web Hosting Discussion - A Web Hosting community

  3. #3
    Check whether there are any .php files in your images folder.

  4. #4
    Join Date
    Aug 2009
    Likely your FTP password compromised, try changing it.

  5. #5
    did you check other file for updates ?
    find -mtime -4

    Sibername Canadian Domain Name and Web Site Hosting Services
    Register with - an ICANN/CIRA/EURID Accredited Registrar

Similar Threads

  1. Someone SQL'd injected my database. What can i do?
    By tearbleu in forum Hosting Security and Technology
    Replies: 3
    Last Post: 07-17-2008, 08:24 PM
  2. (For Sale) - - + More
    By Immolate in forum Domain Name Offers
    Replies: 0
    Last Post: 02-13-2008, 09:46 AM
  3. - - & More..
    By Immolate in forum Domain Name Offers
    Replies: 2
    Last Post: 02-02-2008, 12:13 AM
  4. - Accepting offers.
    By Immolate in forum Domain Name Offers
    Replies: 3
    Last Post: 10-10-2007, 03:07 PM
  5. Script injected and need help to remove!
    By sameera in forum Employment / Job Offers
    Replies: 5
    Last Post: 11-14-2006, 06:01 AM

Posting Permissions

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