Skip to content

TheTechromancer/hu.sh

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

73 Commits
 
 
 
 
 
 

Repository files navigation

hu.sh

A privacy script for fresh installs of Linux


Use the one-liner, if you're feeling adventurous :)

bash -c "$(wget -O - https://raw.githubusercontent.com/TheTechromancer/hu.sh/master/hu.sh)"

Performs the following tasks:

  • Randomizes all MAC addresses automatically on boot (and for interfaces connected after boot)
  • Deletes and disables Bash history (~/.bash_history) for all users (up-arrow in terminal still works)
  • Deletes and disables Python history (~/.python_history) for all users
  • Deletes and disables Vim history (~/.viminfo) for all users
  • Deletes and disables wget hosts history (~/.wget-hsts) for all users
  • Deletes all journald logs & disables logging to persistant storage (systemd only)
  • Optionally, can Torify the entire system

    Usage: hu.sh [options]

      Options:

        -d         Don't Torify
        -o         Only Torify
        -a <port>  Allow incoming port (e.g. 22 for SSH; only applies if Torifying)
        -h         Help

DISCLAIMER: NOT A REPLACEMENT FOR TAILS

It is your responsibility to check for leaks and verify things are working properly

About

A privacy script for Linux

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages