mirror of
https://github.com/cmehay/docker-tor-hidden-service.git
synced 2025-05-02 03:24:25 +00:00
8 lines
225 B
Bash
8 lines
225 B
Bash
#!/bin/sh
|
|
|
|
#Define Variables
|
|
PORT=`onions | awk -F: '{ print $NF }'`
|
|
ONION=`ls -l /var/lib/tor/hidden_service/*/hostname | cut -c58- && cat /var/lib/tor/hidden_service/*/hostname`
|
|
|
|
#Displace v3address:port
|
|
echo $ONION:$PORT
|