By amolkahat, Sun 01 December 2019, in category Meetups/conferences
Date: 2019-12-30
Venue: Red Hat India Pvt. Ltd. Pune, MH, India
Meetup Name: WoSec and InfoSecGirls workshop by Kushal Das
Hi, After long time.. I'm writing blog. Today I went to WoSec amd InfoSecGirls meetup,
and meetup was focused on Tor. Kushal was speaker he talked about
Tor Browser and it's services. Here are few things which he covered:
You can setup .onion website very easy. You just need to have tor browser installed in your system.
Edit /etc/tor/torrc file and uncomment following lines.
HiddenServiceDir /var/lib/tor/hidden_service/
> HiddenServicePort 80 127.0.0.1:80
Restart Tor service
Setup 16 bit address for our website.
HiddenServiceDir /var/lib/tor/service2/
HiddenServiceVersion 2
HiddenServicePort 80 127.0.0.1:80
Well, in above code we are creating one more service to the same website but it will be 16 bit.
Now let's see how to setup tor URL link only for specific people.
To setup tor service we uncomment few lins in /etc/tor/torrc file. Now let's go and add one more line below our service2.
HiddenServiceDir /var/lib/tor/service2/
> HiddenServiceVersion 2
> HiddenServicePort 80 127.0.0.1:80
> HiddenServiceAuthorizeClient stealth service2
It will setup this service for those users whom has the key.
(Well, key...?, which key...? will see it)
cat /var/lib/tor/service2/hostname
\<.onion url> \<secret>
Add that secret to tor Browser's torrc file.
Location: \~/Tor_Browser/Browser/TorBrowser/Data/Tor/torrc
HidServAuth nnaiiplq6zzyrfwj.onion d60/MWahqH2TUEIZLJ+HXB
And you are set. Restart Tor Browser. You are able to hit the URL.
I found Tor very interesting. I love to dig more arount it.