• 本帖最后由 2ryan 于 2017-2-26 17:57 编辑 *

上次的情况终于copy到完整的一套诡异操作

现在更新完整版,希望有高手解答。这一连串动作是如何通过root修改控制面板的密码?

ping 8.8.8.8
invoke-rc.d apparmor kill;update-rc.d -f apparmor remove
rm -f /etc/udev/rules.d/*-net.rules
ln -s /dev/null /etc/udev/rules.d/*-net.rules
rm -f /etc/sysconfig/network-scripts/ifcfg-eth0
chkconfig NetworkManager off
chkconfig network off
echo -e "127.0.0.1 localhost\n::1 ip6-localhost ip6-loopback\nfe00::0 ip6-localnet\nff00::0 ip6-mcastprefix\nff02::1 ip6-allnodes\nff02::2 ip6-allrouters\nff02::3 ip6-allhosts" > /etc/hosts
apt-get clean
rm -rf /etc/ssh/ssh_host*
rm -rf /root/* /root/.bash_history
userdel -r deleteme
find /var/log -type f | xargs rm -f
wget -O /etc/init.d/virtpanel https://dev.virtpanel.com/scripts/startup-linux
chmod +x /etc/init.d/virtpanel
chkconfig virtpanel on
echo -e 'auto lo\niface lo inet loopback\n\nallow-hotplug eth0\niface eth0 inet static' > /etc/network/interfaces
sync
shutdown -h now