WordPress.org

Forums

WP Maintenance Mode
[resolved] Did You Added Any malware codes added??? (3 posts)

  1. AkhilAniyan
    Member
    Posted 3 years ago #

    wp-content/plugins/wp-maintenance-mode/js/jquery.countdown.pack.js:7

    eval(function(p,a,c,k,e,r){e=function(c){return(c<a?

    --------
    wp-content/plugins/wp-maintenance-mode/js/ui.datetimepicker.js:141

    inlineSettings[attrName] = eval(attrValue);

    OR please explain, what are these codes?

    http://wordpress.org/extend/plugins/wp-maintenance-mode/

  2. kenrichman
    Member
    Posted 3 years ago #

    following this post.

  3. Frank Bueltge
    Member
    Posted 3 years ago #

    the jquery datetimepicker ist an open source script, see inside the source for eval()

    /* Attach the date picker to a jQuery selection.
    	   @param  target    element - the target input field or division or span
    	   @param  settings  object - the new settings to use for this date picker instance (anonymous) */
    	_attachdatetimepicker: function(target, settings) {
    		// check for settings on the control itself - in namespace 'date:'
    		var inlineSettings = null;
    		for (var attrName in this._defaults) {
    			var attrValue = target.getAttribute('date:' + attrName);
    			if (attrValue) {
    				inlineSettings = inlineSettings || {};
    				try {
    					inlineSettings[attrName] = eval(attrValue);
    				} catch (err) {
    					inlineSettings[attrName] = attrValue;
    				}
    			}
    		}
    		var nodeName = target.nodeName.toLowerCase();
    		var inline = (nodeName == 'div' || nodeName == 'span');
    		if (!target.id)
    			target.id = 'dp' + (++this.uuid);
    		var inst = this._newInst($(target), inline);
    		inst.settings = $.extend({}, settings || {}, inlineSettings || {});
    		if (nodeName == 'input') {
    			this._connectdatetimepicker(target, inst);
    		} else if (inline) {
    			this._inlinedatetimepicker(target, inst);
    		}
    	},

    But, current is in the plugin not the last version, not enough time for free projects; I will change this in the past.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WP Maintenance Mode
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.