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

Please, help me!!! My site is redirect to another site automaticaly!

Discussion in 'Black Hat SEO' started by rehan08, Sep 2, 2011.

  1. rehan08

    rehan08 Newbie

    Joined:
    Apr 4, 2009
    Messages:
    46
    Likes Received:
    5
    Hi friends, my site
    is suddenly redirect to another site automatically! I don't know why!!! I never change anything and i check all settings. I also, contact with my hosting provider and domain provider. They told me, all is ok, they don't know why is this happen.
    First, my site is redirect to a hacking forum (which i recently joined). I give message to the site admin, but i don't get any reply. After this message, they redirect my site in a blogger blog.

    Please please help me....how they do this? and how i solve this?




    very sorry for my poor English.:eek:
     
  2. CeMPUTER

    CeMPUTER Registered Member

    Joined:
    Sep 2, 2011
    Messages:
    88
    Likes Received:
    23
    rofl you got hacked - check your index.html file for redirect code
     
  3. gergo2007

    gergo2007 Jr. VIP Jr. VIP Premium Member

    Joined:
    Nov 2, 2010
    Messages:
    805
    Likes Received:
    213
    you you got hacked. just check your index or redirect setting in your cpanel. (at hosting)
    and change your pass! Use unique passwords on every site.
     
  4. CeMPUTER

    CeMPUTER Registered Member

    Joined:
    Sep 2, 2011
    Messages:
    88
    Likes Received:
    23

    heheh gergo you again :)

    yeah hes rigth better check for backdoors r57 shells and stuff. It looks like you use wordpress - you have to UPDATE open source software since skiddies use publicated 0 days to harass everyone who does not do it.

    checklist for avoiding this in the future:

    Use absurd admin passwords like asd34.da12sda§§..!
    Always update your software
    Subscribe to the update newsgroup of your software (to be 1 step ahead)
     
  5. Checkmate

    Checkmate Elite Member

    Joined:
    Aug 9, 2010
    Messages:
    1,534
    Likes Received:
    637
    Check your .htaccess file. I would also change your password or switch hosts.

    Or perhaps your friend is keylogged etc.
     
    Last edited: Sep 2, 2011
  6. gergo2007

    gergo2007 Jr. VIP Jr. VIP Premium Member

    Joined:
    Nov 2, 2010
    Messages:
    805
    Likes Received:
    213
    ?:D
    btw i recommend you to tell your hosting provider to check all your files with an antivirus too!
     
  7. CeMPUTER

    CeMPUTER Registered Member

    Joined:
    Sep 2, 2011
    Messages:
    88
    Likes Received:
    23
    .htaccess file is smart bro!

    changing host ? you think someone hacked the whole server ? :) sweet
     
  8. gergo2007

    gergo2007 Jr. VIP Jr. VIP Premium Member

    Joined:
    Nov 2, 2010
    Messages:
    805
    Likes Received:
    213
    Yup thats possible that the whole server was hacked. :)
     
  9. FrozenSpade

    FrozenSpade Power Member

    Joined:
    Jul 20, 2008
    Messages:
    686
    Likes Received:
    331
    Occupation:
    IM
    Location:
    EU
    check the htaccess file
     
  10. ijof9

    ijof9 Power Member

    Joined:
    Mar 27, 2010
    Messages:
    536
    Likes Received:
    594
    Occupation:
    CTO
    Location:
    Western Europe
    Maybe consider taking some precautionary measures before restoring backups and checking .htaccess and index.php. You need to find out (1) how he did it, (2) how to secure it and (3) calm yourself down.

    Yesterday I bought a brand new domain (from namecheap) just to find out that it was previously owned by some russian who shitfully fucked it up in terms of Google Index. So here's another -$10.18 through the window.
     
  11. elitemarketer

    elitemarketer Junior Member

    Joined:
    Dec 20, 2009
    Messages:
    101
    Likes Received:
    10
    Destroy your CPANEL using WHM and build a new CPANEL. Reupload the last backup of your site to the root of the site.
     
  12. rehan08

    rehan08 Newbie

    Joined:
    Apr 4, 2009
    Messages:
    46
    Likes Received:
    5
    Thank you so much to all of you for reply! But, my problem is not solved :(
    I checked .htaccess and index.php file, but i don't see the redirect domain name in those file (i don't have good knowledge in programming).
    But, in .htaccess file, i saw this code-
    Is this code is ok? It looks suspicious to me.
     
  13. tiagorossi

    tiagorossi Junior Member

    Joined:
    Aug 2, 2011
    Messages:
    150
    Likes Received:
    43
    delet it all and insert the line into the .htaccess file:

    DirectoryIndex index.php
     
  14. artizhay

    artizhay BANNED BANNED

    Joined:
    Nov 21, 2010
    Messages:
    1,867
    Likes Received:
    1,335
    Do you even know anything about htaccess? Don't recommend shit just because you think it's right. Doing what you said will royally fuck up his site more than it already is. Wordpress relies on that bit of htaccess he posted to use its permalink system correctly.

    OP, can you post your index.php and your template index file? Might as well start from the root. The site redirects so quickly that it looks more like a server-side redirect rather than something like javascript or a meta-refresh. Plus I can still access your admin folder, so it's not like your whole site is redirecting, just the root directory.

    Also post the whole .htaccess file. It's possible a file was created, such as wp-backend.php or something that looks legitimate, and your site is redirected to that file which then redirects to the external site.
     
    • Thanks Thanks x 3
    Last edited: Sep 2, 2011
  15. CeMPUTER

    CeMPUTER Registered Member

    Joined:
    Sep 2, 2011
    Messages:
    88
    Likes Received:
    23
    plz ban hes obviously a troll!


    dont delete this file - i told you already check index.php ( first or last line )

    use Search to find the url its something like :
    PHP:
    header'Location: ' ) ;
    or

    PHP:
    <meta http-equiv="REFRESH" content="0;url=">

    *sight* cant write exact code since URLS are blocked
     
  16. pavan

    pavan Elite Member

    Joined:
    Mar 30, 2008
    Messages:
    1,603
    Likes Received:
    432
    if you were using wordpress then you can delete index.html file from your root
    if it doesn't help then just post the header contents of your index.php file over here
    btw which hacking forum did u join ?
     
  17. CeMPUTER

    CeMPUTER Registered Member

    Joined:
    Sep 2, 2011
    Messages:
    88
    Likes Received:
    23
    ??? what do you mean?
     
  18. pavan

    pavan Elite Member

    Joined:
    Mar 30, 2008
    Messages:
    1,603
    Likes Received:
    432
    and btw stands for by the way
     
  19. CeMPUTER

    CeMPUTER Registered Member

    Joined:
    Sep 2, 2011
    Messages:
    88
    Likes Received:
    23
    rofl i was confused about that hacking forum thing hehe
     
  20. rehan08

    rehan08 Newbie

    Joined:
    Apr 4, 2009
    Messages:
    46
    Likes Received:
    5
    This is the site-
    Now, they also banned my ip also. when i try this site, it says-
    "You don't have permission to access / on this server."