7行里实质性操作就是删bash_history... 有点妙瓦底大佬的感觉 .bash_history只删除不行的,会自动恢复,要ln -s /dev/null /root/.bash_history,永久的。
让ai总结了一下 touch ~/.hushlogin; echo "unset HISTFILE" >> /root/.bashrc; history -c; rm -f /root/.bash_history; ln -s /dev/null /root/.bash_history
为什么我只能看懂后三行,🤔日常双系统 看不懂前面的有什么作用
鸡腿,收藏,吃灰,BD
纯手搓路过
7行里实质性操作就是删bash_history... 有点妙瓦底大佬的感觉
.bash_history只删除不行的,会自动恢复,要ln -s /dev/null /root/.bash_history,永久的。
@xxhh #0 敏感肌能用吗?
学习了
让ai总结了一下
touch ~/.hushlogin; echo "unset HISTFILE" >> /root/.bashrc; history -c; rm -f /root/.bash_history; ln -s /dev/null /root/.bash_history
前几行都是干扰项,把关键信息隐藏起来。楼主是懂防御性编程的
mark
最大的洁癖不是到手先DD嘛。