official darknetlantern release + fix moneroinheritance

This commit is contained in:
nihilist 2025-02-01 19:13:46 +01:00
parent 6ba40402a3
commit 81f72c07e8
57 changed files with 791 additions and 88 deletions

View file

@ -8,7 +8,7 @@
<meta name="author" content="">
<link rel="shortcut icon" href="../../../../../../assets/img/favicon.png">
<title>How to join the Darknet Lantern Webring ?</title>
<title>How to run your own Darknet Lantern for Visibility and Discoverability</title>
<!-- Bootstrap core CSS -->
<link href="../../assets/css/bootstrap.css" rel="stylesheet">
@ -61,7 +61,7 @@
<div class="row">
<div class="col-lg-8 col-lg-offset-2">
<a href="../index.html">Previous Page</a></br></br><p><img src="../../assets/img/user.png" width="50px" height="50px"> <ba>nihilist@Mainpc-PrivateVM-Debian12 - 2025-01-26</ba></p>
<h1>How to join the Darknet Lantern Webring ? </h1>
<h1>How to run your own Darknet Lantern for Visibility and Discoverability </h1>
<img src="1.png" class="imgRz">
<p>In this tutorial we're going to first explain why the Darknet Lantern is important in the current Darknet context, we'll cover what it is made of, and then we'll cover how to spin up a Darknet Lantern instance, how to maintain one's list of onion links, and lastly we'll cover how to join the Darknet Webring.</p>
@ -98,16 +98,20 @@
<div class="row">
<div class="col-lg-8 col-lg-offset-2">
<h2><b>What is the Darknet Lantern Project ?</b></h2> </br> </br>
<img src="16.png" class="imgRz">
<p>The Darknet Lantern project aims to provide 3 core functionnalities:</p>
<ol>
<li><p>Allow you to run and maintain your own list of onion links, and make it accessible for whoever wants to access it,</p></li>
<li><p>Allow you to automatically check the uptime of the onion links that you list, so that you can track which links are no longer active easily,</p></li>
<li><p>Allow you to participate in a Darknet Webring so that your community may benefit from the visibility coming from the other communities that are participating in the same Webring. </p></li>
</ol>
<p>The sourcecode for the project is available <a href="http://git.nowherejezfoltodf4jiyl6r56jnzintap5vyjlia7fkirfsnfizflqd.onion/nihilist/darknet-lantern">here</a>. At first I wrote it mainly because i was largely dissatisfied with how the uptimekuma project required javascript and how Database-corruptive the upgrades were. After i nailed down the basic "uptime checker" part, it dawned on me that the webring part was also equally essential for the Darknet ecosystem, as explained above. So that's what i have been focusing on for the last 4 weeks, and now i can proudly say that the project is reaching maturity.</p>
<img src="../darknetexploration/17.png" class="imgRz">
<p>The sourcecode for the project is available <a href="http://git.nowherejezfoltodf4jiyl6r56jnzintap5vyjlia7fkirfsnfizflqd.onion/nihilist/darknet-lantern">here</a>. At first I wrote it mainly because i was largely dissatisfied with how the uptimekuma project required javascript and how Database-corruptive the upgrades were. After i nailed down the basic "uptime checker" part, it dawned on me that the webring part was also equally essential for the Darknet ecosystem, as explained above. So that's what i have been focusing on for the last 4 weeks, and now i can proudly say that the project is reaching maturity.</p>
<img src="15.png" class="imgRz">
<p>The Darknet Lantern project is built using PHP, Python, and CSV files. You have the CSV files containing the onion links and their attributes, you have python scripts in the backend to automatically update the uptime of those links, including one main python script called lantern.py to manually maintain and edit your instance's csv files.</p>
<p> And lastly you have php files to search through those CSV files, and filter the results like a regular search engine. All in all, it has been built with minimalism in mind, i tried to keep it as simple as i could to meet the needs. To make it work you need a debian stable release (currently debian 12 bookworm), nginx, php8.2-fpm (currently), Tor, python3 and a few other python3 dependencies that you can install via the apt package manager.</p>
<p> And lastly you have the index.php and static.php files to search through those CSV files, and filter the results like a regular search engine. All in all, it has been built with minimalism in mind, i tried to keep it as simple as i could to meet the needs. To make it work you need a debian stable release (currently debian 12 bookworm), nginx, php8.2-fpm (currently), Tor, python3 and a few other python3 dependencies that you can install via the apt package manager.</p>
<p>This project has been built with anonymity in mind, by default, for the serverside. when you are checking the uptimes for both clearnet and darknet websites, <b>the requests all go through Tor to prevent the website's location from being discovered.</b></p>
<p>This project also takes into account that malicious webring participants may show up, and therefore <b>lantern comes with safeguards and checks in place to prevent any malicious inputs (meaning php, python or bash commands) from being ran from the csv values that may be received from other instances.</b> The PHP files are also preventing any php code from being ran from the CSV files even if there was one to slip through the cracks.</p>
</div>
</div><!-- /row -->
@ -585,6 +589,16 @@ server {
index static.php;
}
</pre></code>
<p>You can also edit the default banner.png image for your instance if you want to customize your instance:</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> 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>
<img src="17.png" class="imgRz">
</div>
</div><!-- /row -->
@ -597,19 +611,9 @@ server {
<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 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><u>Sidenote:</u> you are free to fork the project, and change how the front-end looks to customize it, <b>but the CSV format (especially the columns order and their titles, and the values format) and the paths</b>(ex: http://URL.onion/participants/URL.onion/verified.csv) <b>those NEED to remain the same to be able to remain compatible with the other lantern instances.</b> </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> 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>So if you are running a functionnal lantern instance, you can either <a href="https://simplex.chat/contact#/?v=2-7&smp=smp%3A%2F%2FBD4qkVq8lJUgjHt0kUaxeQBYsKaxDejeecxm6-2vOwI%3D%40b6geeakpwskovltbesvy3b6ah3ewxfmnhnshojndmpp7wcv2df7bnead.onion%2F4NTxj7pyXgVGYfHs8qDdKfW-STOA8AP1%23%2F%3Fv%3D1-3%26dh%3DMCowBQYDK2VuAyEA5FMqfn6nXs8ETbpz2iu55jr3BKHlfuesWVnko-A1Ewk%253D">send me a private message on SimpleX</a>, or you can 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 Lantern Simplex chatroom</a> i'm running, and let me know that you are running a darknet lantern instance. After that i'll go and check your darknet lantern instance to check for the new links you are bringing to the table, and if there are no porn links there, i'll add it to my darknet lantern instance by doing the following:</p>
<pre><code class="nim">
Select Option? (0-11): 5
5
@ -670,7 +674,7 @@ Name,URL,Description,Trusted,Status,Score
→ torsocks git push
</pre></code>
<p>And that's it! you are now an official member of the darknet webring :)</p>
<p>And that's it! you are now an official member of the darknet lantern webring, your community may now benefit from the visibility coming from the other webring participants' communities, while at the same time making sure that your community gets to know that those other communities exist.</p>
</div>