Creating Tor Hidden Services

From Tuxamito
Jump to: navigation, search

Most GNU/Linux distributions come with the TOR package. In this tutorial I will be using a Raspberry Pi with Raspbian Stretch Lite from June 2018.

$ sudo apt install tor

/etc/tor/torrc

HiddenServiceDir /var/lib/tor/sshd/
HiddenServicePort 22 127.0.0.1:22
HiddenServiceDir /var/lib/tor/web/
HiddenServicePort 80 127.0.0.1:80


HiddenServiceDir /var/lib/tor/keys/
HiddenServicePort 22 127.0.0.1:22
HiddenServicePort 80 127.0.0.1:80


$ sudo apt install build-essential libssl-dev
$ git clone https://github.com/ReclaimYourPrivacy/eschalot.git
$ cd eschalot
make

The parameters are: -p for the search prefix -t for number of threads -v for verbose output

./eschalot -vp test -t 4 > test.txt