1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Help! My Site Was Hacked

Discussion in 'General Programming Chat' started by PinkChicken, Dec 2, 2009.

  1. PinkChicken

    PinkChicken Newbie

    Joined:
    Jun 21, 2009
    Messages:
    23
    Likes Received:
    9
    Location:
    Cape Town
    I'm not sure if this is the right place to post but here goes.

    My site was hacked and the sods injected an identical line of code at the bottom of every html and htm page. There are thousands of pages to repair and I don't have a backup to restore.

    Does anyone have a suggestion as to how I can automate the task of removing the line of code from each page.

    And yes, I have upgraded the security so it doesn't happen again.:cool:
     
  2. cagefighter

    cagefighter Junior Member

    Joined:
    Nov 13, 2009
    Messages:
    109
    Likes Received:
    101
    Occupation:
    Retired Professional Fighter, Now Trainer and Web
    Location:
    New York/Atlanta
    All i can say is yes there is a script, but off the top of my head i cant remember what its called. But it can go though your entire html, php, asp, htm etc codes on ur server and find what ever code that scum bag put on ur site and delete it (of course u have to put in the script what to look for kinda like find and replace in note pad or front page) Just feel bad i cant tell u the freakin name of the script, search around its out there..
     
  3. ukescuba

    ukescuba Jr. VIP Jr. VIP Premium Member

    Joined:
    Feb 24, 2008
    Messages:
    994
    Likes Received:
    634
    Occupation:
    Mobile Marketer & QR Code Junkie
    Location:
    San Antonio, TX
    Home Page:
    in the simplest form if the code you want to remove is the same on each page you can always download the site, and use dreamweaver to find and replace the code... it has options to do this across an entire site or local folder, etc

    however before you reupload your site you need to be looking at your web logs to find out the source of how the files where able to be changed...
     
  4. stillbloggin

    stillbloggin Newbie

    Joined:
    Dec 28, 2009
    Messages:
    11
    Likes Received:
    1
    I feel your pain. I discovered my site hacked about 6 months ago. Really pee'd me off. Too bad for the hackers........as I have found a way to monetize off all their hard work. hehehehehehe. All thanks to the inspirational motivations of BHW MEMBERS! Lemme see if I can find a link to a script. BRB
     
  5. booster2ooo

    booster2ooo Junior Member

    Joined:
    Jan 17, 2009
    Messages:
    104
    Likes Received:
    30
    Could you explain a bit more what happened ? Which script do you use that has been hacked ? What kind of vuln has been exploited ? Any other information ?
    Thx :)
     
  6. stillbloggin

    stillbloggin Newbie

    Joined:
    Dec 28, 2009
    Messages:
    11
    Likes Received:
    1
    Dont know if this is what your after.

    http://www.mztools.com/v3/features.aspx