全球主机交流论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

IP归属甄别会员请立即修改密码
查看: 705|回复: 11
打印 上一主题 下一主题

VPS重装系统之后,发现里面有操作记录

[复制链接]
跳转到指定楼层
1#
发表于 2018-11-19 14:18:32 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
前几天买了hostdare的VPS,付完款马上就给机器了,于是上去配置了环境就退出了。
今天用history查看了一下,发现在我的操作之前,竟然有其他的操作记录。
用了这么多机子,头一回有这种情况。。。这个算正常吗?不会给我留后门什么的吧?

贴出它的操作记录:
    1  deluser -r -f testing
    2  deluser --remove-all-files testing
    3  df -h
    4  passwd
    5  exit
    6  deluser --remove-all-files testing
    7  ps aux |grep testing
    8  kill -9 1070 1075 1078
    9  deluser --remove-all-files testing
   10  ps aux |grep testing
   11  nano /etc/default/grub
   12  ifconfig
   13  cat /etc/network/interfaces
   14  service networking restart
   15  /etc/init.d/networking stop
   16  /etc/init.d/networking start
   17  ifconfig
   18  /etc/init.d/networking start
   19  dmesg
   20  /etc/init.d/networking start
   21  journalctl -xe
   22  cat /etc/network/interfaces
   23  cd /etc/udev/rules.d/
   24  ls
   25  nano /etc/default/grub
   26  update-grub
   27  /etc/init.d/networking restart
   28  init 6
   29  ifconfig
   30  df -h
   31  free -m
   32  shutdown -h now
   33  df -h
   34  du -sh /*
   35  apt-get remove lxc
   36  apt-get remove lxcfs
   37  df-h
   38  df -h
   39  du -sh /*
   40  df -h
   41  du -sh /*
   42  cd /usr/
   43  du -sh *
   44  nano /etc/ssh/sshd_config
   45  cat /etc/resolv.conf
   46  rm -f /etc/resolv.conf
   47  touch  /etc/resolv.conf
   48  ll -h  /etc/resolv.conf
   49  service networking restart
   50  ll -h  /etc/resolv.conf
   51  /etc/init.d/networking stop
   52  /etc/init.d/networking start
   53  ll -h  /etc/resolv.conf
   54  apt-get remove lxcfs
   55  apt-get remove lxc
   56  df -h
   57  du -sh /*
   58  cd /usr/
   59  du -sh *
   60  cd
   61  cat /etc/resolv.conf
   62  exit
2#
发表于 2018-11-19 14:19:31 | 只看该作者
习惯就好 套路云轻量Ubuntu .bash_history也有
3#
发表于 2018-11-19 14:19:39 | 只看该作者
镜像里面以前的。。
4#
发表于 2018-11-19 14:20:16 | 只看该作者
这些命令 你挨个百度一编  你看哪个是后门?
5#
 楼主| 发表于 2018-11-19 14:23:36 | 只看该作者
fl20002 发表于 2018-11-19 14:20
这些命令 你挨个百度一编  你看哪个是后门?

其实我感觉没有,不过还是放上来给大佬们帮我看看稳妥
6#
发表于 2018-11-19 14:24:45 | 只看该作者
这明显是制作模板镜像时的残留嘛。而且操作太过冗余,看来不是啥高手做的。
7#
发表于 2018-11-19 14:29:55 | 只看该作者
这个是不是他们做镜像的时候留下来的,没清理,导致你每次重装都有这些

点评

看来是了  发表于 2018-11-19 14:52
8#
发表于 2018-11-19 14:41:06 | 只看该作者
提示: 作者被禁止或删除 内容自动屏蔽
9#
发表于 2018-11-19 14:47:51 | 只看该作者
明显没操作hostory -c
10#
发表于 2018-11-19 14:48:10 | 只看该作者
CAC家的
https://loc.wget.at/thread-326064-1-1.html

点评

明白了  发表于 2018-11-19 14:53
您需要登录后才可以回帖 登录 | 注册

本版积分规则

Archiver|手机版|小黑屋|全球主机交流论坛

GMT+8, 2025-11-16 01:17 , Processed in 0.068249 second(s), 11 queries , Gzip On, MemCache On.

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

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