What's new
Runion

This is a sample guest message. Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

How to get a custom domain name for Tor hidden service - Onion 3

sommerdev

Midle Weight
Депозит
$0
Пожалуйста, обратите внимание, что пользователь заблокирован
Hey guys this is my first tutorial in xss.is I hope you like it




you want to get a custom domain name for your onion site but as you know these sites are generated automatically by tor and this is sad, in this tutorial i will explain to you how to get a custom domain name for your onion site.

First i will mention something important:
I am going to assum your have installed tor,apache2 and git and golang on you system.
DO NOT USE WINDOWS OR MAC FOR THIS TUTORIAL.
I am using ubuntu in this tutorial.

first you have to download oniongen-go from github:

GitHub - rdkr/oniongen-go: 🔑 v3 .onion vanity URL generator written in Go
🔑 v3 .onion vanity URL generator written in Go. Contribute to rdkr/oniongen-go development by creating an account on GitHub.
github.com


Change to base directory of oniongen-go source and build oniongen-go

cd oniongen-go
go build main.go


Generate 1 addresses with ‘hack’ as a keyword in any position of the address

./main "hack" 1

Use ‘^’ to indicate the beginning or end of the address as desired keyword position

To generate 2 address with keyword at the start of address:

./main "^hack" 1

but if you want to generate 1 address with keyword at the end of address:

./main "hack^" 1



as you can see this is the folder generated by oniongen-go:




if we open this folder called hackrqypzf5vhra7s7v6wmd4dvalpsyem528lnm3g76egb4p7yd you will see these files generated:




if we open the file called hostname you will see this:



now we have to move these files to /var/lib/tor/:

sudo mv /Desktop/oniongen-go/hackrqypzf5vhra7s7v6mo6wnzwd4dvalp5yew526lnm3g76egb4p7yd /var/lib/tor/hacksite:



Set the correct owner and permissions:

sudo chown -R debian-tor: /var/lib/tor/hacksite
sudo chmod -R u+rwX,og-rwx /var/lib/tor/hacksite

Include these keys in the /etc/tor/torrc file:



We restart the service and check its status:

sudo systemctl restart tor
systemctl status tor


now we just have to open the folder hacksite and cat the file called hostname :



now we just have to open our browser and we will see our site.






that is all.
Вложения
7.png
8.png
9.png
Последнее редактирование: 08.09.2022
 
Top