找回密码
 立即注册
搜索
热搜: 活动 交友 discuz
查看: 65|回复: 8

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

[复制链接]

18

主题

726

回帖

1566

积分

金牌会员

积分
1566
发表于 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

主题

218

回帖

460

积分

中级会员

积分
460
发表于 2018-11-19 14:19:31 | 显示全部楼层


习惯就好 套路云轻量Ubuntu .bash_history也有
回复

使用道具 举报

157

主题

1567

回帖

3709

积分

论坛元老

积分
3709
发表于 2018-11-19 14:19:39 | 显示全部楼层
镜像里面以前的。。
回复

使用道具 举报

303

主题

3626

回帖

8229

积分

论坛元老

积分
8229
发表于 2018-11-19 14:20:16 | 显示全部楼层
这些命令 你挨个百度一编  你看哪个是后门?
回复

使用道具 举报

18

主题

726

回帖

1566

积分

金牌会员

积分
1566
 楼主| 发表于 2018-11-19 14:23:36 | 显示全部楼层

fl20002 发表于 2018-11-19 14:20

这些命令 你挨个百度一编  你看哪个是后门?

其实我感觉没有,不过还是放上来给大佬们帮我看看稳妥
回复

使用道具 举报

24

主题

283

回帖

654

积分

高级会员

积分
654
发表于 2018-11-19 14:20:00 | 显示全部楼层
这明显是制作模板镜像时的残留嘛。而且操作太过冗余,看来不是啥高手做的。
回复

使用道具 举报

119

主题

1687

回帖

3759

积分

论坛元老

积分
3759
发表于 2018-11-19 14:24:45 | 显示全部楼层
这个是不是他们做镜像的时候留下来的,没清理,导致你每次重装都有这些
回复

使用道具 举报

20

主题

1517

回帖

3126

积分

论坛元老

积分
3126
发表于 2018-11-19 14:29:55 | 显示全部楼层
明显没操作hostory -c
回复

使用道具 举报

71

主题

818

回帖

1915

积分

金牌会员

积分
1915
发表于 2018-11-19 14:52:00 | 显示全部楼层
CAC家的
https://www.hostloc.com/thread-326064-1-1.html
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Archiver|手机版|小黑屋|Discuz! X

GMT+8, 2025-5-7 12:31 , Processed in 0.019693 second(s), 4 queries , Gzip On, Redis On.

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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