From dc0c2ef1dd64f5bfcfead2d787e1c5dfd4569322 Mon Sep 17 00:00:00 2001 From: root Date: Sun, 16 Feb 2025 14:06:28 +0100 Subject: [PATCH] update --- README.md | 2 +- scripts/lantern.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index e6041ec..97e090f 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,8 @@ # [Darknet Lantern Project v1.0.1](http://lantern.nowherejezfoltodf4jiyl6r56jnzintap5vyjlia7fkirfsnfizflqd.onion/) ![logo](./project.png) +WARNING, BREAKING CHANGES FROM V1.0.0 TO V1.0.1, HERE IS HOW YOU CAN UPGRADE: ```sh -/!\ WARNING, BREAKING CHANGES FROM V1.0.0 TO V1.0.1 /!\ cd /srv/darknet-lantern diff --git a/scripts/lantern.py b/scripts/lantern.py index 3eeac56..1a8a176 100644 --- a/scripts/lantern.py +++ b/scripts/lantern.py @@ -117,7 +117,7 @@ def main(): print_colors(f"{rootpath}",is_error=True, bold=True) os.makedirs(instancepath) # check if all the required csv files exist in it, otherwise copy them from the templates directory - # NOTE : the templates files are EMPTY by default, this is because i want each peer to manually review lists of links, and add links themselves manually, this is to avoid allowing malicious links to slip through without intentional edits from the peer themselves. + # NOTE : the templates files are EMPTY by default, this is because each peer has to manually review lists of links, and add links themselves manually, this is to avoid allowing malicious links to slip through without intentional edits from the peer themselves. for i in ['verified.csv','unverified.csv','blacklist.csv','sensitive.csv','webring-participants.csv','banner.png']: filepath=instancepath+'/'+i if not os.path.isfile(filepath): @@ -198,7 +198,7 @@ Maintenance: newrow=[instance,category,name,url,sensi,desc,'YES','100'] print_colors(f"[+] NEWROW= {newrow}") # (rest is automatic: status, score, instance is = '' because it is your own instance) - # TODO check if the entry doesn't already exist in verified.csv and in unverified.csv + # TODO check if the entry doesnt already exist in verified.csv and in unverified.csv # if it doesnt exist, add it into unverified.csv uvdf.loc[-1] = newrow # adding a row uvdf.index = uvdf.index + 1 # shifting index