Website as hidden service: how do?
hack

Website as hidden service: how do?

Dabitch
Dabitch

Was talking to a pal about ssh as hidden service. “It’s simple” he said, and practically dared me to do it. But I didn’t really want ssh, I thought let's do http instead because Adland. Oh okay. So you want to try it too? Lets go.

sudo apt-get install tor

Simple, right?

sudo nano /etc/tor/torrc to add the following

HiddenServiceDir /var/lib/tor/ssh_hidden_service/
HiddenServicePort 80 127.0.0.1:80

Now, that’s port 80. Do 22 if you want to cloak your ssh.

now: service tor reload

and check what your hostname is:

sudo cat /var/lib/tor/ssh_hidden_service/hostname

Now that you know your name, you’ll have to add a SERVERALIAS in your apache conf somewhere, wherever you keep that stuff. Could be apache.conf, or in apache2/conf-enabled/000-default.conf or even in your .htaccess depending on how homey play dat. Reload apache after adding the serveralias.

ta-dah, you’re done.

So anyway, that’s how Adland became available on the dark web, the world’s first ad news source to be accessible as a Tor hidden service

My friend also made a post, but in Swedish: “SSH som hidden service