当前位置:论坛首页 > Linux面板 > 求助

【已回应】奇怪,服务器被入侵了吗?

发表在 Linux面板2019-9-9 17:47 [复制链接] 4 1952

本帖最后由 谢花郎 于 2019-9-9 17:55 编辑

装了宝塔的任务管理器,发现有奇怪的启动项。不知道是否被入侵了。
rc.local显示
  1. #!/bin/sh -e
  2. #
  3. # rc.local
  4. #
  5. # This script is executed at the end of each multiuser runlevel.
  6. # Make sure that the script will "exit 0" on success or any other
  7. # value on error.
  8. #
  9. # In order to enable or disable this script just change the execution
  10. # bits.
  11. #
  12. # By default this script does nothing.
  13. /etc/init.d/qemu-guest-agent start
  14. sh /root/change_other.sh &&  rm -rf /root/change_other.sh

  15. exit 0
复制代码
/etc/init.d/start.sh,这个显示
  1. #! /bin/sh
  2. ### BEGIN INIT INFO
  3. # Provides: OnceDoc
  4. # Required-Start: $network $remote_fs $local_fs
  5. # Required-Stop: $network $remote_fs $local_fs
  6. # Default-Start: 2 3 4 5
  7. # Default-Stop: 0 1 6
  8. # Short-Description: start and stop node
  9. # Description: OnceDoc
  10. ### END INIT INFO
  11. sh /root/change.sh
  12. rm -rf /root/change.sh
  13. exit 0
复制代码
不知道什么这个change.sh为什么要删除呢。

使用道具 举报 只看该作者 回复
发表于 2019-9-9 17:54:39 | 显示全部楼层
看看这个帖子就知道了

https://www.cnblogs.com/nineep/p/9469942.html
使用道具 举报 回复 支持 反对
发表于 2019-9-9 18:17:23 | 显示全部楼层
不懂,这个和change.sh有关系吗?
使用道具 举报 回复 支持 反对
发表于 2019-9-9 18:20:34 | 显示全部楼层
应该不是吧
使用道具 举报 回复 支持 反对
发表于 2019-9-9 18:21:53 | 显示全部楼层
food.x 发表于 2019-9-9 18:17
不懂,这个和change.sh有关系吗?

反正这个不是入侵就可以了。
使用道具 举报 回复 支持 反对
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

普通问题处理

论坛响应时间:72小时

问题处理方式:排队(仅解答)

工作时间:白班:9:00 - 18:00

紧急运维服务

响应时间:3分钟

问题处理方式:宝塔专家1对1服务

工作时间:工作日:9:00 - 18:30

宝塔专业团队为您解决服务器疑难问题

点击联系技术免费分析

工作时间:09:00至18:30

快速回复 返回顶部 返回列表