No description
Find a file
2025-01-16 08:52:42 +01:00
scripts updated finished option 9 and 10, only remaining 7 and 8 2025-01-16 08:52:42 +01:00
templates updated 2025-01-11 15:16:27 +01:00
www updated finished option 9 and 10, only remaining 7 and 8 2025-01-16 08:52:42 +01:00
nginx.conf fixed the nginx config 2025-01-12 14:44:01 +01:00
project.png updated 2025-01-11 15:16:27 +01:00
README.md updated finished option 9 and 10, only remaining 7 and 8 2025-01-16 08:52:42 +01:00
torrc first commit 2024-12-08 00:15:49 +01:00

Darknet Onion Webring (WIP)

# Main features:
DONE:
-py : option 6) Trust/Untrust/Blacklist a webring participant
-php : make a search engine prompt that only accepts [a-zA-Z.://], it must refuse every other character 
-py : fix uptimecheck.py to match the new csv format 
-php : if valid make it filter your own verified.csv and unverified.csv files
-py : option 9)  cleanup all duplicates in your own unverified.csv and verified.csv
-py : option 10) perform sanity checks on all csv files (to mark them as sensitive or remove the ones that are blacklisted)

TODO:
-py : option 7) Add/Remove words in the sensitive list			(assigned to anon)
-py : option 8) Add/Remove words in the blacklist				(assigned to anon)


logo

Darknet Onion Webring is powered by a Minimalistic Onion Hidden Service uptime checker, written in only PHP and Python, because javascript is NOT needed.

Why is the Darknet Onion Webring relevant ?

The Darknet depends on peers (like you and me) to run their own lists of onion links for visibility, as search engines can't crawl onion websites like they do on the clearnet. This project is there to list people's lists of onion links so that you don't have to search those links yourself.

The more people join the Darknet Onion Webring, the more visibility darknet websites will be able to have over time, just like how it would be on the clearnet while keeping the decentralisation and censorship-resistance intact. Let's make it happen.

How to join the Darknet Onion Webring ?

As detailed above, this project aims to gain traction over time as more and more people join the webring, so that a decentralized ecosystem can be formed accross online communities.

  1. run your own darknet-onion-webring instance as detailed below

1.2) Once you have a working webring instance spun up, make a 240x60 banner image like the one i made below, and upload it into the www/img/ folder:

logo

1.3) Once done, you can add a line in the webring.php page like so:

<a href="http://uptime.nowherejezfoltodf4jiyl6r56jnzintap5vyjlia7fkirfsnfizflqd.onion"><img src="img/nowhere-banner.png" class="banner"></a>
<a href="http://uptime.wdawadwdadwawaddawdawdwawadwdadwwp5dawdwadawdawadwdwaadw.onion"><img src="img/yournew-banner.png" class="banner"></a>

  1. As you keep on exploring the darknet, make sure you list the new onion links you find in the CSV files that are in www/links/, (i like to keep them separated in categories, so that they can be displayed in groups in the php pages afterward.)

Option A:

  1. If you want to contribute your findings to the master repository that i'm running, just ping me directly on simplex so that i can create you a gitea account first

  2. Then create a pull request so that i can add your own links (AND the link to your list of links too in the index.php page) to the git repo directly. (Please make sure you are keeping the sensitive websites in the same page, so the risk-based separation is kept (non-sensitive websites / sensitive websites))

Option B:

  1. If you want to go your own way just let us know that you're running your own list of onion links in the Darknet Exploration SimpleX Chatroom so that we can add the link to your list of links in our own.

  2. make sure you spread awareness of the darknet onion webring on darknet forums (there's dread for example)

How to run your own Darknet Onion Webring instance ?

  1. git clone the repository in your directory of choice:
[ Wonderland ] [ /dev/pts/23 ] [/srv/darknet-onion-webring]
→ apt install tor git torsocks -y

[ Wonderland ] [ /dev/pts/23 ] [/srv/darknet-onion-webring]
→ torsocks git clone http://git.nowherejezfoltodf4jiyl6r56jnzintap5vyjlia7fkirfsnfizflqd.onion/nihilist/darknet-onion-webring /srv/darknet-onion-webring

  1. Install nginx and php8.2-fpm
[ Wonderland ] [ /dev/pts/23 ] [/srv/darknet-onion-webring]
→ apt install php8.2-fpm nginx -y
  1. use the nginx.conf and drop it in /etc/nginx/sites-available/
[ Wonderland ] [ /dev/pts/23 ] [/srv/darknet-onion-webring]
→ ls
nginx.conf  README.md  scripts  todo.txt  torrc  www

[ Wonderland ] [ /dev/pts/23 ] [/srv/darknet-onion-webring]
→ cp nginx.conf /etc/nginx/sites-available/uptime.conf

[ Wonderland ] [ /dev/pts/23 ] [/srv/darknet-onion-webring]
→ vim /etc/nginx/sites-available/uptime.conf
  1. use mkp244o if you want to have a custom vanity v3 hidden service domain name

  2. use the torrc config to have a local socks5 port (as it will be used by the python script to check the uptime of the listed onion links)

[ Wonderland ] [ /dev/pts/23 ] [/srv/darknet-onion-webring]
→ vim /etc/tor/torrc

[ Wonderland ] [ /dev/pts/23 ] [/srv/darknet-onion-webring]
→ cat /etc/tor/torrc

HiddenServiceDir /var/lib/tor/onions/nowherejezfoltodf4jiyl6r56jnzintap5vyjlia7fkirfsnfizflqd.onion/
HiddenServicePort 80 127.0.0.1:4443
SocksPort 127.0.0.1:9050

[ Wonderland ] [ /dev/pts/23 ] [/srv/darknet-onion-webring]
→ systemctl restart tor@default

  1. enable the nginx config and validate that it can be accessed on Tor
[ Wonderland ] [ /dev/pts/23 ] [/srv/darknet-onion-webring]
→ ln -s /etc/nginx/sites-available/uptime.conf /etc/nginx/sites-enabled/

[ Wonderland ] [ /dev/pts/23 ] [/srv/darknet-onion-webring]
→ nginx -s reload

6) install the python script dependencies:
```sh
[ Wonderland ] [ /dev/pts/23 ] [/srv/darknet-onion-webring]
→ apt install python3-pandas python3-requests python3-socks

  1. test if the uptimechecker python script works, it should output the following:
[ Wonderland ] [ /dev/pts/24 ] [/srv/darknet-onion-webring]
→ python3 scripts/uptimechecker.py
[+] ONION UPTIME CHECKER
[+] Reading the CSV File: /srv/darknet-onion-webring/www/links/webring.csv
[+] Checking if each .onion link is reachable:
[+] Editing the uptime score
0
[+] http://uptime.nowherejezfoltodf4jiyl6r56jnzintap5vyjlia7fkirfsnfizflqd.onion 200
http://uptime.nowherejezfoltodf4jiyl6r56jnzintap5vyjlia7fkirfsnfizflqd.onion ✔️
[+] Reading the CSV File: /srv/darknet-onion-webring/www/links/Exchanges.csv
[+] Checking if each .onion link is reachable:
[+] Editing the uptime score
0
http://exchanger.infinityjs5qob5euyao745kp5x2hh4xquh7qs5cze3kcxv63xdwxlad.onion/ ❌
[+] Editing the uptime score
1
[+] http://robosats6tkf3eva7x2voqso3a5wcorsnw34jveyxfqi2fu7oyheasid.onion/ 200
http://robosats6tkf3eva7x2voqso3a5wcorsnw34jveyxfqi2fu7oyheasid.onion/ ✔️
[+] Editing the uptime score
2

  1. make sure the cronjob for scripts/uptimechecker.py is running at least once every 3 hours so that the csv files are automatically kept up to date.
[ Wonderland ] [ /dev/pts/23 ] [/srv/darknet-onion-webring]
→ crontab -e

*/3 0 * * * python3 /srv/darknet-onion-webring/scripts/uptimechecker.py