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

Google labeled my site - The site ahead contains malware!

Discussion in 'Web Design' started by HappyS, Sep 1, 2015.

  1. HappyS

    HappyS Regular Member

    Joined:
    Mar 15, 2013
    Messages:
    431
    Likes Received:
    64
    Gender:
    Male
    In the webmasters tools, Google is showing some code from my WordPress site that does contain some strange infected URL. I guess it was hacked, problem is I can't find that piece of the code. Can someone help me out and point me where to find it and erase it?

    Screencap:
    [​IMG]
     
    Last edited: Sep 1, 2015
  2. Sythix

    Sythix Senior Member

    Joined:
    Sep 29, 2014
    Messages:
    960
    Likes Received:
    680
    Location:
    127.0.0.1
    Home Page:
    Can you post or PM your website URL?
     
    • Thanks Thanks x 1
  3. Boriss

    Boriss Supreme Member

    Joined:
    Nov 7, 2009
    Messages:
    1,427
    Likes Received:
    562
    Location:
    Inside a Monitor
    It's an iframe somewhere on your site.

    Go to your website. See how the page is loading, check with "Inspect element" or go through the pages if the site is small.

    Another thing you can do, if you have WordPress, install WordFence plugin and scan the site; make sure you edit the setting so WordFence can scan through plugins and themes.
     
    • Thanks Thanks x 2
  4. harizd

    harizd Regular Member

    Joined:
    Jul 24, 2009
    Messages:
    490
    Likes Received:
    99
    This iframe is likely to be either in header.php or footer.php of your WordPress theme. Also double check if you have installed any suspicious plugin that you didn't intend to.

    Go to WordPress dashboard -> Appearance -> Theme editor and check if this code is present in header or footer files.

    If you are using Chrome, 'Inspect element' could be an easier option to scan across the website as mentioned above.
     
    • Thanks Thanks x 1
  5. mitchiebear

    mitchiebear Junior Member

    Joined:
    Jun 1, 2013
    Messages:
    109
    Likes Received:
    31
    geez I had a malware attack last week and sunk my earnings pretty bad. I hope you get to fix this error malware attack soon.
     
  6. Pringles

    Pringles Jr. VIP Jr. VIP

    Joined:
    Dec 31, 2009
    Messages:
    265
    Likes Received:
    95
    It could also be in functions.php and the code could possibly be encrypted so searching for the actual URL once you are in the file may not work.

    Inspect Element as the others have suggested is a good start.
     
    • Thanks Thanks x 1
  7. VinceC

    VinceC Elite Member

    Joined:
    Jun 8, 2008
    Messages:
    1,668
    Likes Received:
    738
    Are you using free wordpress template? Try change to a clean one.
     
  8. wpbacklinks

    wpbacklinks Elite Member

    Joined:
    Mar 27, 2010
    Messages:
    3,439
    Likes Received:
    1,362
    Gender:
    Male
    Occupation:
    Affiliate Marketer
    Location:
    Everywhere
    Try use WP exploit scanner to find the code. are you using hacked themes?
     
  9. bytzu

    bytzu Junior Member

    Joined:
    Jun 30, 2011
    Messages:
    102
    Likes Received:
    142
    • Thanks Thanks x 1
  10. HappyS

    HappyS Regular Member

    Joined:
    Mar 15, 2013
    Messages:
    431
    Likes Received:
    64
    Gender:
    Male


    I am using a free not a hacked theme. I tried checking every file within Theme editor and can't find the iframe code. Also used Inspect element and it seems not visible.

    WordFence is reporting that I have malware in almost each post:
    malware2.png
     
  11. harizd

    harizd Regular Member

    Joined:
    Jul 24, 2009
    Messages:
    490
    Likes Received:
    99
    If you can PM me your URL, I will try to help.
     
    • Thanks Thanks x 1