• Resolved chaithanyakrishnapati

    (@chaithanyakrishnapati)


    I am having problems with Newstatpress.
    I scanned my website with sitecheck.sucuri.net and found these codes

    /wp-content/plugins/newstatpress/newstatpress.php</b> on line <b>969</b>

    /wp-content/plugins/newstatpress/newstatpress.php</b> on line <b>969</b>

    Status: Infected With Malware

    But when i ased my hosting provider they told me that no infection is there and virus total shows no detection at all.

    I am also getting error in visits /wp-content/plugins/newstatpress/includes/nsp_visits.php on line 210

    can you tell me how to get rid of these two errors?

    https://www.ads-software.com/plugins/newstatpress/

Viewing 1 replies (of 1 total)
  • Plugin Author ice00

    (@ice00)

    hi,

    if you have the lastest version, in line 210 there is:

    echo "<IMG style='border:0px;width:18;height:12px;' alt='".$title."' title='".$title."' SRC='" .plugins_url('newstatpress/images/domain/'.$output, nsp_BASENAME). "'> ";

    this is a html image tag for putting the country flag image (that are the one inside domain directories).

    In line 969 of newstatpress.php there is:

    $countrylang=nsp_GetLanguage($_SERVER['HTTP_ACCEPT_LANGUAGE']);

    and so:

    function nsp_GetLanguage($accepted) {
      return substr($accepted,0,2);
    }

    it gets from server the language and extract the first two chars.

    So this seems a false positive from the scanner.

Viewing 1 replies (of 1 total)
  • The topic ‘Newstatpress error and sucuri shows it as malware’ is closed to new replies.