1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Got Hacked. How to fix it?

Discussion in 'Security' started by cientificoloco, May 23, 2007.

  1. #1
    Hello. My site got hacked (the second in my signature). Both root and cpanel. I'm running a phpld 2.1 directory. Submit.php still loads, so the stuff is there apparently but index.php has been replaced or deleted.

    What's the best way to fix it and prevent further hacks like this?

    Thanks a lot,
     
    cientificoloco, May 23, 2007 IP
  2. Davidj

    Davidj Peon

    Messages:
    124
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Restore the content from backup. If you don't have a backup there's a lesson to be learned from this.

    Backup frequently!
     
    Davidj, May 23, 2007 IP
  3. cientificoloco

    cientificoloco Well-Known Member

    Messages:
    1,742
    Likes Received:
    47
    Best Answers:
    0
    Trophy Points:
    110
    #3
    I agree, but first I need to be able to get into my site. Can't even ftp
     
    cientificoloco, May 23, 2007 IP
  4. cientificoloco

    cientificoloco Well-Known Member

    Messages:
    1,742
    Likes Received:
    47
    Best Answers:
    0
    Trophy Points:
    110
    #4
    its fine now, got ftp access and am replacing files.
     
    cientificoloco, May 23, 2007 IP
  5. stugs

    stugs Peon

    Messages:
    157
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #5
    What's to say it won't get hacked again? If the site was hacked previously, putting the potentially exploitable code back on the site is just insurance it will get hacked again.

    Look for new version of the application you're running.
     
    stugs, May 25, 2007 IP