Hidden services allow websites to operate completely anonymously. Neither the server nor the client knows each other's IP.
A .onion address is a hash of the hidden service's public key. Example: facebookwkhpilnemxj7asaniu7vnjjbiltxjqhye3mhbshg7kx5tfyd.onion
# /etc/tor/torrc
HiddenServiceDir /var/lib/tor/my-service/
HiddenServicePort 80 127.0.0.1:80
# Restart Tor
sudo systemctl restart tor
# Your .onion address
cat /var/lib/tor/my-service/hostnameFound an issue with this guide? Send a correction with the article URL and your example. About our learning material.
Subscribe to Code Hacker and get hands-on access to 40+ premium courses — Ethical Hacking, Kali Linux, Metasploit, Network Hacking, Bug Bounty & more!