mirror of
http://git.nowherejezfoltodf4jiyl6r56jnzintap5vyjlia7fkirfsnfizflqd.onion/nihilist/darknet-lantern.git
synced 2025-05-17 04:36:57 +00:00
update
This commit is contained in:
parent
c8b94593b3
commit
24b01d3421
1 changed files with 11 additions and 7 deletions
|
@ -33,6 +33,7 @@ def main():
|
|||
if not os.path.exists(instancepath):
|
||||
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 links themselves manually, do not allow 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']:
|
||||
filepath=instancepath+'/'+i
|
||||
if not os.path.isfile(filepath):
|
||||
|
@ -252,6 +253,8 @@ Managing Wordlists:
|
|||
return False
|
||||
else:
|
||||
print("[+] Webring Participant is valid, adding it.")
|
||||
# TODO if OK then add it to your own webring-participants.csv
|
||||
# TODO also check if the line doesn't exist yet the templates csv file !!! (search for it and if length = 0 then add it)
|
||||
# create the directory in www/participants/PARTICIPANTURL/ if it's not there already
|
||||
if not os.path.exists(participantdir):
|
||||
os.makedirs(participantdir)
|
||||
|
@ -277,10 +280,7 @@ Managing Wordlists:
|
|||
print("[+] file written, let's read it")
|
||||
f = open(csvfilepath,"r")
|
||||
print(f.read())
|
||||
|
||||
|
||||
# TODO and remove all of the invalid entries !!!
|
||||
# TODO if OK then add it to the webring-participants.csv file and also in the templates csv file !!!
|
||||
# TODO and remove all of the invalid entries !!!
|
||||
#######################################################################
|
||||
#newrow=[instance,category,name,url,sensi,desc,'','']
|
||||
#print("[+] NEWROW=",newrow)
|
||||
|
@ -293,16 +293,20 @@ Managing Wordlists:
|
|||
|
||||
case "5":
|
||||
print("[+] Trust a webring participant (Potentially dangerous)")
|
||||
# TODO list the existing webring participants from webring-participants.csv and
|
||||
# TODO print a warning to tell the user that you're about to trust all of the links that are trusted by another peer, if that peer is malicious they may start trusting links that you don't trust! proceed? (answer is y otherwise skip)
|
||||
# TODO list the existing webring participants from your own webring-participants.csv and
|
||||
# TODO ask the user to pick the index (0-9?) of the instance to trust
|
||||
# TODO if index is valid, then mark the instance as trusted in webring-participants.csv
|
||||
searchterm = input("What is the index of the entry that you want to trust ?")
|
||||
case "6":
|
||||
# TODO
|
||||
print("[+] Untrust a webring participant")
|
||||
print("[+] Untrust a webring participant (safer)")
|
||||
case "7":
|
||||
# TODO
|
||||
print("[+] Remove a webring participant")
|
||||
print("[+] Remove a webring participant (in case of abuses)")
|
||||
# TODO add it to blacklist.csv
|
||||
# TODO remove it from your own webring-participants.csv
|
||||
# TODO remove it from the template webring-participants.csv
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue