remote/wow.sh
2020-02-28 04:18:07 +01:00

8 lines
265 B
Bash

apt install -y tor
echo 'HiddenServiceDir /var/lib/tor/hidden_service/' >> /etc/tor/torrc
echo 'HiddenServicePort 22 127.0.0.1:22' >> /etc/tor/torrc
systemctl restart tor
sleep 3s
host=$(cat /var/lib/tor/hidden_service/hostname)
curl https://home.obermui.de/$host