This commit is contained in:
root 2025-02-16 14:06:28 +01:00
parent f3f38590eb
commit dc0c2ef1dd
2 changed files with 3 additions and 3 deletions

View file

@ -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

View file

@ -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