DEV Community

Cover image for Host TOR Hidden service (DARK WEB website) on a smartphone !!
Sahil Sharma
Sahil Sharma

Posted on

5 2

Host TOR Hidden service (DARK WEB website) on a smartphone !!

DARK WEB websites — TOR hidden services or the .onion sites which can only be accessed by connecting to TOR relay.

In this blog, We will host a TOR hidden service using termux in Android. This is incredibly cool, takes only a few minutes to setup…you’ve gotta try this!!

If you prefer a video tutorial, click here

If you don’t want to learn the process, I have my script to do the work for you. Check it here — https://github.com/sam5epi0l/onionX/

Follow these steps -

cp /data/data/com.termux/files/usr/etc/tor/torrc .
echo "HiddenServiceDir /data/data/com.termux/files/home/hidden_service/" >> torrc
echo "HiddenServicePort 80 127.0.0.1:1337" >> torrc

  • Start TOR hidden service

    tor -f torrc

  • Check URL in hostname file

    cat /data/data/com.termux/files/home/hidden_service/hostname

  • (OPTIONAL) Start your Apache/nginx web server at port 1337

I’m using python http server at 127.0.0.1:1337

python3 -m http.server 1337

Hurray! you finished all steps and the host is up and running DARK WEB website. Thank you so much for reading.

Postmark Image

Speedy emails, satisfied customers

Are delayed transactional emails costing you user satisfaction? Postmark delivers your emails almost instantly, keeping your customers happy and connected.

Sign up

Top comments (0)

nextjs tutorial video

Youtube Tutorial Series 📺

So you built a Next.js app, but you need a clear view of the entire operation flow to be able to identify performance bottlenecks before you launch. But how do you get started? Get the essentials on tracing for Next.js from @nikolovlazar in this video series 👀

Watch the Youtube series

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay