How to make the perfect TOR VM in VirtualBox
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12345678910111213141516
  1. #!/bin/bash
  2. systemctl stop rsyslog
  3. find /var/log -type f -print -delete
  4. #find /home/user -mindepth 1 -depth -print -delete
  5. find /root -mindepth 1 -depth -print -delete
  6. for user in /root /home/user
  7. do
  8. FILE=${user}/.bash_history
  9. echo "rm/ln/dev-null ${FILE}"
  10. rm -f ${FILE}
  11. ln -s /dev/null ${FILE}
  12. done