Learn hacking online with SAMHACKERSWORLD free ethical hacking course. We will teach you everything you need to start your career in penetration testing. If you are a beginner and need to learn how to hack, the information provided in this post can surely help you out. Why wait? Become a hacker today!

Breaking

LightBlog

Thursday 11 January 2018

HOW TO SETUP/RUN A DARKNET (.ONION) WEBSITE

Things You Will Need

Download
  1. XAMPP Server 
  2. Tor Bundle

Getting Things Ready.

Install Xampp and fire up Apache, My SQL & FileZilla
Note down the Port of ApacheServer (in most cases it’s 80)

Extract Tor Bundle , and browse inside Tor Browser Folder 
Path – Tor Browser\Browser\TorBrowser\Data\Tor\torrc
Open this file in Notepad or any other text editor, and paste in this code underneath, without editing any pre-written paths
#Hidden Services

HiddenServiceDir C:\darknet

HiddenServicePort 80 127.0.0.1:80
Save the document and go to C drive and make a folder named darknet. 
Obviously you can change the path of HiddenServiceDir as you like , and also check for hidden service port, in this case the port is 80, and 127.0.0.1 is the address of localhost (xampp server landing page)

Connecting to .onion

Start Tor Browser and let it connect to tor circuit, once done go back to C:\darknet  (the folder you’ve just made)- in the folder you’ll find 2 files “Hostname” & “Private_Key”
Open up “Hostname” in Notepad, you’ll find a .onion domain.
Open Up Tor Browser and paste in the .onion domain and you’ll be redirected to your localhost page.
If You want to use any other of your static website page..
You will have to replace the index file of xammp server with the index.html your website
Path – C:\xampp\htdocs  
Paste the index.html webpage of ur website in the mentioned folder.

Have You Ever run a .onion website ? Do you know any other ways to do it ? Let us know your thoughts in the comments section down below. 

No comments:

Post a Comment

Adbox