mirror of
https://github.com/rootzoll/raspiblitz.git
synced 2025-02-25 07:07:46 +01:00
15 lines
556 B
Bash
15 lines
556 B
Bash
# 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
|