Skip to main content

Create Your Own Onion Website

Well, if you're into cooking, this is not it. It's a hidden service within Tor, or the onion router. Ever heard of facebookcorewwwi.onion? This blog post is about this kind of onion. If you're also familiar with the silk road then you are on the right spot. Onion sites are well hidden inside Tor and it's difficult for anyone to track.

A bit of an Intro

Hosting your own domain can be a bit tricky. First off, you need money. Well, of course, you do. You need to sign up for a hosting company. GoDaddy is one good example. There are lots though and I don't need to put it here. It seems I'm advertising GoDaddy. I only got 2 accounts, GoDaddy and ASmallOrange, SmallOrange is crap, although a bit cheaper than GoDaddy. I have Vultur but I don't know how to get my custom domain so that doesn't count. Had PesoHosting but, will get your high blood pressure rolling just mentioning it here. After you get an account, and that's after you pay for like a few dollars and get FTP account. You upload your script to the hosting server and you get a website running. This is not to mention, you login to cPanel, create an FTP account, install FTP client, configuration your account to the FTP client and upload your scripts. Also if you're connecting locally to your MySQL server, you need to not forget to configure the proper config to your server it won't connect. So anyway, hosting is a bit techy. Well, yes, same as goes for onion hosting. But did I mention you only need Tor with it. And a bit of server and scripting language so yeah I find it interesting. And I don't need a credit card and a GoDaddy account. Worth a try.

You only need Tor browser. In simple terms, it's just a Firefox browser that connects to the Tor network. Install it and viola, you're done. No, no not really. We need a bit more. Just start it for now. It should look like this.


If you installed to the default directory, you should get something like this in your desktop.


Edit the torrc with Notepad++. Again I'm not advertising any software but I do like it so you should install it. And send your donations to my account. Seriously, Notepad++ can be a good handy editor at times like this. Add these lines at the bottom.

HiddenServiceDir C:\Users\nebulom\tor_service
HiddenServicePort 8888 127.0.0.1:8888

Now that's some weird shit. But it's just a config saying "Hey Tor, look for my hidden service in that directory and my service port is that, 8888 above. So yes, I am running my apache on that port. You can do port 80 or anything you want. I just like it that way, nothing fancy. I just like it since few years ago Skype is messing with the port 80. Stupid Skype!

Now on that directory, it creates a hostname and private_key files. Open the hostname file and copy the contents. Paste it in your Tor and viola, you have a running onion site. Now spread to your friends. It could contain something like this inside your index.html in your root htdocs directory.

<h1>Envy you, friends Romans and countrymen. I have my onion site running!</h1>


You can also host your awesome website in there. Like selling drugs, who knows. Good luck you all!!!

Comments

Popular posts from this blog

Restoring .dat data to MSSQL

This is just a document in case I forgot to restore data files to MSSQL. I had this problem before when a colleague gave me a .dat files to be restored to SQL server. I had a 2008 version of the server and had no trouble restoring it. The problem is, I forgot how I did it when I had a new PC and I upgraded it to 2012 SQL server. But this is a simple task (although I had a full day remembering how I did it and I had no luck finding the solution from google). First off, click restore, like so I had trouble with the database whether or not to add a new database and restore the file to it, or not. Simple answer is no need. With the next image you can see that the configuration is very simple. Just set it to device as the source and find the .mdf file. It automatically displays a suggestion for the database name and you're done. Click OK and wait a couple of minutes for SQL server to restore the data. [EDIT] In case you are restoring a backup file without an extension. You c...

How to Backup using SQL Server Data

 Sometimes Task->Generate Scripts takes too time to backup especially when you want to backup only selected tables in the database. This can be done easily with bcp, issuing the command in your power shell dumps the data in tab-delimited values into a file. \> bcp "DATABASE.dbo.TABLE" out "C:\Downloads\TABLE.sql" -c -S "HOSTNAME" -U USERNAME -P PASSWORD Hope this helps, this is very useful for migrating data and for seeders where some tables are only needed to be seeded into the database as dependent values for other tables. We are heavily using this technique for testing. As for reference, here's our use case Dump data into .sql files Seed using QueryFromFile Run automation; this can insert new values to other tables based from the seed data from .sql file Rollback new values We need to rollback each time since we want to have data the same as it was so we can run each time and expect the same results for our testing. If not, there should be err...

Monero is your friendly neighbor - no not really, I mean friendly CPU miner

Monero is another one of those crypto currency that was really big news in 2017. Now the year ends and hoping for a fresh start in 2018. Just got my masternode up and so far so good. X11 is the algo chosen by Sucre so it's not really friendly to CPU. Now, back to Monero. Its algorithm is Cryptonite and it's friendly to miners that only has CPU. First off, get your monero wallet here . As for me, I do use FreeWallet so I don't worry other app/web for every wallet that I have. Anyway, if you get your monero wallet address, that's OK. All we have to do is to find pool to mine. I use MineXMR as it's simpler. You can choose whatever you like, just search for "monero mining pools" and you get bunch to choose from. Get the miner here, extract it to your location of choice and edit the config.json file. {     "algo": "cryptonight",  // cryptonight (default) or cryptonight-lite     "av": 0,                // algorithm var...