From 58c22bace7d094c1bcc355b928442b27d9a1e4bb Mon Sep 17 00:00:00 2001 From: nihilist Date: Sun, 16 Feb 2025 14:11:48 +0100 Subject: [PATCH] added how to update your lantern automatically --- opsec/darknetlantern/index.html | 39 ++++++++++++++++++++++++++++++++- 1 file changed, 38 insertions(+), 1 deletion(-) diff --git a/opsec/darknetlantern/index.html b/opsec/darknetlantern/index.html index 4281eee..e74a6f4 100644 --- a/opsec/darknetlantern/index.html +++ b/opsec/darknetlantern/index.html @@ -616,6 +616,43 @@ server { +

Since v1.0.1, you can now automate the updating of your lantern instance despite the www/participants folder changing (thanks to the changes made to .gitignore):

+

+[ Datura ] [ /dev/pts/28 ] [~]
+→ /usr/bin/torsocks /usr/bin/git -C /srv/darknet-lantern/ pull
+
+warning: redirecting to http://git.nowherejezfoltodf4jiyl6r56jnzintap5vyjlia7fkirfsnfizflqd.onion/nihilist/darknet-lantern/
+remote: Enumerating objects: 24, done.
+remote: Counting objects: 100% (24/24), done.
+remote: Compressing objects: 100% (19/19), done.
+remote: Total 19 (delta 14), reused 0 (delta 0), pack-reused 0 (from 0)
+Unpacking objects: 100% (19/19), 2.06 KiB | 421.00 KiB/s, done.
+From http://git.nowherejezfoltodf4jiyl6r56jnzintap5vyjlia7fkirfsnfizflqd.onion/nihilist/darknet-onion-webring
+   5928fd3..dc0c2ef  main       -> origin/main
+Updating 5928fd3..dc0c2ef
+Fast-forward
+ README.md                                                                                          |  37 ++++++++++++++++++++++++++++++++-----
+ scripts/lantern.py                                                                                 |   6 ++++--
+ www/participants/lantern.nowherejezfoltodf4jiyl6r56jnzintap5vyjlia7fkirfsnfizflqd.onion/banner.png | Bin 14119 -> 0 bytes
+ www/participants/lantern.nowhevi57f4lxxd6db43miewcsgtovakbh6v5f52ci7csc2yjzy5rnid.onion/banner.png | Bin 8952 -> 0 bytes
+ www/participants/zhd7yf675dav6njgc7yjwke2u5cq7d5qim2s7xwa2ukxfzubrguqmzyd.onion/banner.png         | Bin 20935 -> 0 bytes
+ 5 files changed, 36 insertions(+), 7 deletions(-)
+ delete mode 100644 www/participants/lantern.nowherejezfoltodf4jiyl6r56jnzintap5vyjlia7fkirfsnfizflqd.onion/banner.png
+ delete mode 100644 www/participants/lantern.nowhevi57f4lxxd6db43miewcsgtovakbh6v5f52ci7csc2yjzy5rnid.onion/banner.png
+ delete mode 100644 www/participants/zhd7yf675dav6njgc7yjwke2u5cq7d5qim2s7xwa2ukxfzubrguqmzyd.onion/banner.png
+
+
+

You can automatically perform that git pull using cronjobs like so:

+

+[ Datura ] [ /dev/pts/28 ] [~]
+→ crontab -e
+
+#lantern
+*/3 0 * * * python3 /srv/darknet-lantern/scripts/uptimechecker.py
+0 0 * * * /usr/bin/torsocks /usr/bin/git -C /srv/darknet-lantern/ pull
+
+
+

That way it'll update your lantern software once a day, at midnight.

@@ -627,7 +664,7 @@ server {
-

How to participate in the webring ? (WIP)



+

How to participate in the webring ?



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.

Sidenote: 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) those NEED to remain the same to be able to remain compatible with the other lantern instances.