This commit is contained in:
nihilist 2025-01-29 08:07:03 +01:00
parent 2a285d90d7
commit ec7321d1ed
45 changed files with 95 additions and 3 deletions

BIN
opsec/darknetlantern/13.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 137 KiB

BIN
opsec/darknetlantern/14.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 107 KiB

View file

@ -562,6 +562,29 @@ Marking row0for deletion, as it has invalid inputs
<p>And from here as you can see, the link in question got removed, and since it is now in your blacklist.csv file, it won't ever get added to your csv files again since you:</p>
<img src="11.png" class="imgRz">
<p>If you prefer to only run a read-only php page with all the links at once you can either use the search query <b>"."</b> or use the static.php page as follows:</p>
<img src="14.png" class="imgRz">
<p>you can also use this optional nginx config that makes static.php your new default index page:</p>
<pre><code class="nim">
server {
listen 4443;
listen [::]:4443;
server_name uptime.nowherejezfoltodf4jiyl6r56jnzintap5vyjlia7fkirfsnfizflqd.onion;
root /srv/darknet-onion-webring/www/;
location ~ \.php$ {
include snippets/fastcgi-php.conf;
fastcgi_pass unix:/var/run/php/php8.2-fpm.sock;
}
#index index.php;
# optional read-only static php file without the searchbar, to display all links by default :
index static.php;
}
</pre></code>
</div>
</div><!-- /row -->
@ -573,13 +596,82 @@ Marking row0for deletion, as it has invalid inputs
<div class="row">
<div class="col-lg-8 col-lg-offset-2">
<h2><b> How to participate in the webring ? (WIP)</b></h2> </br> </br>
<p>In order to participate in the webring that i am running, the only requirement i have is that you should bring some new onion links i don't already have, and you shouldn't list porn links. So if you are running all you need is to do is show up in the Darknet Exploration simplex chatroom i'm running, and let me know that you are running a darknet lantern instance:</p>
<p>In order to participate in the webring that i am running, the only requirements i have is that your webring instance should have the core functionnalities (you list links you didn't verify yet, you also list the ones you verified, and you list the other webring participants), you should bring some new onion links i don't already have, and you shouldn't list porn links.</p>
<p><u>Sidenote:</u> you are free to fork the project, and change how the front-end looks to customize it, but the CSV format (especially the columns order and their titles, and the values format) and the paths(ex: http://URL.onion/participants/URL.onion/verified.csv) need to remain the same </p>
<p>So if you are running a functionnal lantern instance all you need is to do is show up <a href="https://simplex.chat/contact#/?v=2-7&smp=smp%3A%2F%2FL5jrGV2L_Bb20Oj0aE4Gn-m5AHet9XdpYDotiqpcpGc%3D%40nowhere.moe%2FDkWtBNDdIPVjaap5trLwtmBBEUjyqxSZ%23%2F%3Fv%3D1-3%26dh%3DMCowBQYDK2VuAyEAcQLIsWEJ0xCv9sMSYVQV_sfMTkK_pisAtN55jgH08T8%253D%26srv%3Dt3srl5etd5y7nfvamlkdsjmm2okfu7db2jp4crxvf3tkwo42odme3kid.onion&data=%7B%22groupLinkId%22%3A%22iK4_U76rW6AdmZZfgVDDVQ%3D%3D%22%7D">in the Darknet Exploration simplex chatroom</a> i'm running, and let me know that you are running a darknet lantern instance:</p>
<p>After that i'll go over your darknet lantern instance to check for the new links you are bringing to the table, and if there are no porn links in there:</p>
<p>Also one thing that you may want to edit, this is your default banner.png:</p>
<img src="12.png" class="imgRz">
<p>If you want to change it you can upload your custom banner.png image in your instance folder in <b>/srv/darknet-lantern/www/participants/lantern.nowherejezblahblah.onion/banner.png</b></p>
<p>If you want to change it you can upload your custom banner.png image in your instance folder in <b>/srv/darknet-lantern/www/participants/lantern.nowherejezblahblah.onion/banner.png</b> but be careful, the python scripts are going to check <b>if your banner has the 240x60 resolution</b>, if it does not it won't be accepted by the other webring participants, and it will simply be replaced by the default banner image (coming from the templates folder)</p>
<pre><code class="nim">
[ laptop-privateVM ] [ /dev/pts/8 ] [blog/opsec/darknetlantern]
→ scp banner.png yourserver:/srv/darknet-lantern/www/participants/yourinstancename.onion/banner.png
</pre></code>
<p>If that's OK for me, i'll add it to my darknet lantern instance by doing the following:</p>
<p>And that's it! you are now a new webring participant !</p>
<pre><code class="nim">
Select Option? (0-11): 5
5
[+] Add a new webring participant (and download their files into their directory (without trusting them yet!))
What is the onion domain of the new webring participant? (ex: lantern.nowherejezfoltodf4jiyl6r56jnzintap5vyjlia7fkirfsnfizflqd.onion) lanterntest.nowherejezfoltodf4jiyl6r56jnzintap5vyjlia7fkirfsnfizflqd.onion
http://lanterntest.nowherejezfoltodf4jiyl6r56jnzintap5vyjlia7fkirfsnfizflqd.onion/participants/lanterntest.nowherejezfoltodf4jiyl6r56jnzintap5vyjlia7fkirfsnfizflqd.onion/
[+] Checking if all of the required csv files exists for new webring participant lanterntest.nowherejezfoltodf4jiyl6r56jnzintap5vyjlia7fkirfsnfizflqd.onion:
[+] Webring Participant is valid, adding it.
What is the Webring instance name ? Nowhere3
Description for the webring participant ? (Optional)
[+] New row added! now writing the csv file:/srv/darknet-lantern/www/participants/lantern.nowhevi57f4lxxd6db43miewcsgtovakbh6v5f52ci7csc2yjzy5rnid.onion/webring-participants.csv
[+] DOWNLOADING http://lanterntest.nowherejezfoltodf4jiyl6r56jnzintap5vyjlia7fkirfsnfizflqd.onion/participants/lanterntest.nowherejezfoltodf4jiyl6r56jnzintap5vyjlia7fkirfsnfizflqd.onion/verified.csv
[+] SAVING IT INTO /srv/darknet-lantern/www/participants/lanterntest.nowherejezfoltodf4jiyl6r56jnzintap5vyjlia7fkirfsnfizflqd.onion/verified.csv
[+] file written, let's read it
Instance,Category,Name,URL,Sensitive,Description,Status,Score
[+] DOWNLOADING http://lanterntest.nowherejezfoltodf4jiyl6r56jnzintap5vyjlia7fkirfsnfizflqd.onion/participants/lanterntest.nowherejezfoltodf4jiyl6r56jnzintap5vyjlia7fkirfsnfizflqd.onion/unverified.csv
[+] SAVING IT INTO /srv/darknet-lantern/www/participants/lanterntest.nowherejezfoltodf4jiyl6r56jnzintap5vyjlia7fkirfsnfizflqd.onion/unverified.csv
[+] file written, let's read it
Instance,Category,Name,URL,Sensitive,Description,Status,Score
[+] DOWNLOADING http://lanterntest.nowherejezfoltodf4jiyl6r56jnzintap5vyjlia7fkirfsnfizflqd.onion/participants/lanterntest.nowherejezfoltodf4jiyl6r56jnzintap5vyjlia7fkirfsnfizflqd.onion/blacklist.csv
[+] SAVING IT INTO /srv/darknet-lantern/www/participants/lanterntest.nowherejezfoltodf4jiyl6r56jnzintap5vyjlia7fkirfsnfizflqd.onion/blacklist.csv
[+] file written, let's read it
blacklisted-words
porn
[+] DOWNLOADING http://lanterntest.nowherejezfoltodf4jiyl6r56jnzintap5vyjlia7fkirfsnfizflqd.onion/participants/lanterntest.nowherejezfoltodf4jiyl6r56jnzintap5vyjlia7fkirfsnfizflqd.onion/sensitive.csv
[+] SAVING IT INTO /srv/darknet-lantern/www/participants/lanterntest.nowherejezfoltodf4jiyl6r56jnzintap5vyjlia7fkirfsnfizflqd.onion/sensitive.csv
[+] file written, let's read it
sensitive-words
Market
market
drug
[+] DOWNLOADING http://lanterntest.nowherejezfoltodf4jiyl6r56jnzintap5vyjlia7fkirfsnfizflqd.onion/participants/lanterntest.nowherejezfoltodf4jiyl6r56jnzintap5vyjlia7fkirfsnfizflqd.onion/webring-participants.csv
[+] SAVING IT INTO /srv/darknet-lantern/www/participants/lanterntest.nowherejezfoltodf4jiyl6r56jnzintap5vyjlia7fkirfsnfizflqd.onion/webring-participants.csv
[+] file written, let's read it
Name,URL,Description,Trusted,Status,Score
[+] Banner is valid
[-] Rows to delete: []
[-] Rows to delete: []
</pre></code>
<p>Once added, you'll be able to see from my lantern instance that i added the new instance as a webring participant:</p>
<img src="13.png" class="imgRz">
<p>And from there, if you are the maintainer of a webring like i am, you can make that new webring participant official by doing a git push to the git repository, <b>so that whoever else wants to run a darknet lantern instance will already have the webring participant ready to be listed with their files saved in the www/participants directory.</b></p>
<pre><code class="nim">
[ Datura ] [ /dev/pts/3 ] [/srv/darknet-lantern]
→ git add -A
[ Datura ] [ /dev/pts/3 ] [/srv/darknet-lantern]
→ git commit
[ Datura ] [ /dev/pts/3 ] [/srv/darknet-lantern]
→ torsocks git push
</pre></code>
<p>And that's it! you are now an official member of the darknet webring :)</p>
</div>
</div><!-- /row -->