本帖最后由 谢花郎 于 2019-9-9 17:55 编辑
装了宝塔的任务管理器,发现有奇怪的启动项。不知道是否被入侵了。
rc.local显示
- #!/bin/sh -e
- #
- # rc.local
- #
- # This script is executed at the end of each multiuser runlevel.
- # Make sure that the script will "exit 0" on success or any other
- # value on error.
- #
- # In order to enable or disable this script just change the execution
- # bits.
- #
- # By default this script does nothing.
- /etc/init.d/qemu-guest-agent start
- sh /root/change_other.sh && rm -rf /root/change_other.sh
- exit 0
复制代码 /etc/init.d/start.sh,这个显示
- #! /bin/sh
- ### BEGIN INIT INFO
- # Provides: OnceDoc
- # Required-Start: $network $remote_fs $local_fs
- # Required-Stop: $network $remote_fs $local_fs
- # Default-Start: 2 3 4 5
- # Default-Stop: 0 1 6
- # Short-Description: start and stop node
- # Description: OnceDoc
- ### END INIT INFO
- sh /root/change.sh
- rm -rf /root/change.sh
- exit 0
复制代码 不知道什么这个change.sh为什么要删除呢。
|
|