WordPress.org

Ready to get started?Download WordPress

Forums

Hacked... (6 posts)

  1. Razvan92
    Member
    Posted 1 year ago #

    Hi, I have a strange problem... I don't understand how someone could inject in my website an adfly code in footer or header. He don't know ftp password or cpanel password.
    I delete this cod but he appear in 1-2 minutes.
    I exported my posts, I create a new database and a new instalation of wordpress and I imported the posts.
    But after a few time the code apperats again.
    Please help me and sorry for my language. :D
    Thanks.

  2. Rab
    Member
    Posted 1 year ago #

  3. Razvan92
    Member
    Posted 1 year ago #

    Thank you, but what's the explication? Only this domain is affected and the subdomain. I have another two sites on server and are not affected.

  4. Rab
    Member
    Posted 1 year ago #

    It could be any number of things, without analysing logs, symptoms, permissions etc you're not going to find the route of the problem. Your web hosts may be able to assist.

  5. Razvan92
    Member
    Posted 1 year ago #

    In error logs I have this:

    [13-Dec-2012 02:42:19] PHP Warning:  preg_match() expects parameter 2 to be string, array given in /home/xxxxxxxxx/public_html/site.com/wp-content/plugins/wordfence/lib/wfDB.php on line 146
    [13-Dec-2012 02:42:19] PHP Warning:  mysql_real_escape_string() expects parameter 1 to be string, array given in /home/xxxxxxx/public_html/site.com/wp-content/plugins/wordfence/lib/wfDB.php on line 149
    
    [12-Dec-2012 17:14:49] WordPress database error MySQL server has gone away for query SELECT ID, post_content, meta_id FROM x_posts, x_postmeta WHERE x_posts.ID = x_postmeta.post_id AND x_postmeta.meta_key = '_pingme' LIMIT 1 made by do_action_ref_array, call_user_func_array, do_all_pings
    [12-Dec-2012 17:14:49] WordPress database error MySQL server has gone away for query SELECT ID, post_content, meta_id FROM x_posts, x_postmeta WHERE x_posts.ID = x_postmeta.post_id AND x_postmeta.meta_key = '_encloseme' LIMIT 1 made by do_action_ref_array, call_user_func_array, do_all_pings
    [12-Dec-2012 17:14:49] WordPress database error MySQL server has gone away for query SELECT ID FROM x_posts WHERE to_ping <> '' AND post_status = 'publish' made by do_action_ref_array, call_user_func_array, do_all_pings
    [12-Dec-2012 17:14:55] WordPress database error MySQL server has gone away for query SELECT option_value FROM x_options WHERE option_name = '_transient_doing_cron' LIMIT 1 made by _get_cron_lock
    [12-Dec-2012 20:54:51] PHP Warning:  preg_match() expects parameter 2 to be string, array given in /home/xxxxxxx/public_html/site.com/wp-content/plugins/wordfence/lib/wfDB.php on line 146

    I deleted this plugin before been hacked.

  6. Razvan92
    Member
    Posted 1 year ago #

    And this in themes:

    [14-Dec-2012 13:46:04] PHP Fatal error:  Call to undefined function  get_option() in /home/wwwwww/public_html/site.com/wp-content/themes/tema/header.php on line 5
    [21-Dec-2012 18:52:43] PHP Fatal error:  Call to undefined function  get_option() in /home/wwwwww/public_html/site.com/wp-content/themes/tema/index.php on line 3

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.