raspiblitz/home.admin/XXdisplayHiddenServiceQR.sh

16 lines
556 B
Bash
Raw Normal View History

2019-12-04 08:13:21 +00:00
# display QR code for chosen Hidden Service
# use the HiddenServiceDir from /etc/tor/torrc as the $1 parameter
service=$1
hiddenService=$(sudo cat /mnt/hdd/tor/$service/hostname)
echo ""
echo "Download the Tor Browser to your desktop to open the .onion Hidden Service address:"
echo "https://www.torproject.org/download/"
echo ""
echo "The Hidden Service address for $service is:"
echo "$hiddenService"
echo ""
echo "scan the QR to use it in the Tor Browser on mobile:"
qrencode -t ANSI256 $hiddenService
echo "Press ENTER to return to the menu"
read key