fuck fuck fuck no. this whole site should be blacklisted
fuck fuck fuck no. this whole site should be blacklisted
* installed unattended-upgrades (from a random github repo instead of apt repos
* passes --yes to apt-get, which may remove important packages
* reconfigures /sbin/iptables to link to /usr/sbin/iptables-legacy
* saves the current iptables rules (some of which may have been set temporarily by root)
* overwrites existing dhcpd config if it already exists
* overwrites existing openvpn-related config if it already exists (including syslog)
Random scripts from the internet should always at least be casually reviewed. Posting something like this just encourages people to trust random scripts on the internet, which is going to end poorly eventually.
curl into a shell, because YOLO.
For the love of $deity, at least pass the -o option or do something like the following before running this - substitute in your editor of choice.
`curl -L https://install.pivpn.dev | bbedit`