简体   繁体   English

在Godaddy共享的托管被黑的index.php和login.php被自动更改

[英]shared hosting at godaddy hacked index.php and login.php automatically changed

yesterday many web application that i have hosted at godaddy shared hosting got defaced (hacked). 昨天,我在godaddy共享托管上托管的许多Web应用程序遭到破坏(被黑)。 They changed the index.php and login.php to follwing source code : 他们将index.php和login.php更改为以下源代码:

Deface By black sQl 由黑色sQl污损

HACKED BY black sQl WARNING!!! 被黑色shack警告!!!! Lets start to secure your website 让我们开始保护您的网站
But Remember This 但是请记住这一点
SECUIRITY IS AN ILLUSION!! 安全是一种错觉!
BD Black Hackers Cyber Army BD黑色黑客网络军
black sql::!hR V1Ru5::3lack D4G0N::TLM-V1Ru5 黑色sql ::!hR V1Ru5 :: 3lack D4G0N :: TLM-​​V1Ru5

i donot know how they did that as it is just the login page there is no usage of get and the username and password are only the fields the user can input and they are also cleaned before they enter any function. 我不知道他们是怎么做到的,因为这只是登录页面,没有使用get,用户名和密码只是用户可以输入的字段,在输入任何功能之前也会对其进行清理。

i checked the raw access logs and found some suspicious entries there. 我检查了原始访问日志,发现其中有一些可疑条目。 those are as following : 如下:

46.118.158.19 - - [29/Sep/2017:06:27:29 -0700] "GET / HTTP/1.1" 200 522 " http://pochtovyi-index.ru/ " "Opera/8.00 (Windows NT 5.1; U; en)" 46.118.158.19--[29 / Sep / 2017:06:27:29 -0700]“ GET / HTTP / 1.1” 200 522“ http://pochtovyi-index.ru/ ”“ Opera / 8.00(Windows NT 5.1; U; en)”

188.163.72.15 - - [29/Sep/2017:06:48:37 -0700] "GET / HTTP/1.1" 200 522 " https://educontest.net/ " "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.2; SV1; .NET CLR 1.1.4322; .NET CLR 2.0.50727)" 188.163.72.15--[29 / Sep / 2017:06:48:37 -0700]“ GET / HTTP / 1.1” 200 522“ https://educontest.net/ ”“ Mozilla / 4.0(兼容; MSIE 6.0; Windows NT 5.2; SV1; .NET CLR 1.1.4322; .NET CLR 2.0.50727)”

can anybody help me how to secure this kind of intrusion? 有人可以帮助我如何保护这种入侵吗?

It depends on how he has gained access. 这取决于他如何获得访问权限。

Major steps to take into consideration are: 要考虑的主要步骤是:

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM