HTML IFRAME hack attack

Discussion in 'HTML & Website Design' started by gab1982, Dec 20, 2007.

  1. #1
    Awhile ago I knew someone who was plagued with a IFRAME hack attack, where a iframe code of size 1px in height was added to their site under the </body></html> tag, does anyone know how to get rid of this. It seemed to only affect certain pages and I don't want it affecting my site or server.

    Just curious as it can't be good for business or a websites growth.
     
    gab1982, Dec 20, 2007 IP
  2. scottlpool2003

    scottlpool2003 Well-Known Member

    Messages:
    1,708
    Likes Received:
    49
    Best Answers:
    9
    Trophy Points:
    150
    #2
    To be honest, Iframes aren't really good for webpages. Well they are for some but not for others. How come you have coding after your </body></html> tags?
     
    scottlpool2003, Dec 22, 2007 IP
  3. lkj

    lkj Peon

    Messages:
    729
    Likes Received:
    17
    Best Answers:
    0
    Trophy Points:
    0
    #3
    set-up a mod_rewrite rule and block the referring site that steals your iframe content with REFERRAL value
     
    lkj, Dec 23, 2007 IP
  4. HPA

    HPA Notable Member

    Messages:
    1,335
    Likes Received:
    63
    Best Answers:
    0
    Trophy Points:
    205
    #4
    Do even better, just add this code to the page, that he is linking to, this will redirect his homepage to your site. It means that you will be getting his traffic!

    Just add this to the page, he links! This will teach him a lesson. And you'll be getting his visitors, anyhow.
     
    HPA, Dec 23, 2007 IP
  5. alextic

    alextic Guest

    Messages:
    10
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Oh, Wow...
     
    alextic, Jan 5, 2008 IP
  6. webcycloneindia

    webcycloneindia Active Member

    Messages:
    170
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    60