mirror of
http://git.nowherejezfoltodf4jiyl6r56jnzintap5vyjlia7fkirfsnfizflqd.onion/nihilist/darknet-lantern.git
synced 2025-05-17 04:36:57 +00:00
fix numbers of options
This commit is contained in:
parent
49e39f481c
commit
064e791407
1 changed files with 18 additions and 15 deletions
|
@ -103,12 +103,12 @@ Managing Webring Participants:
|
||||||
6) Trust/UnTrust/Blacklist a webring participant (Potentially dangerous)
|
6) Trust/UnTrust/Blacklist a webring participant (Potentially dangerous)
|
||||||
|
|
||||||
Managing Wordlists:
|
Managing Wordlists:
|
||||||
8) Add/Remove words or links in the sensitive list (ex: drug)
|
7) Add/Remove words or links in the sensitive list (ex: drug)
|
||||||
9) Add/Remove words or links in the blacklist (ex: porn)
|
8) Add/Remove words or links in the blacklist (ex: porn)
|
||||||
|
|
||||||
Maintenance:
|
Maintenance:
|
||||||
10) remove the duplicate URLs
|
9) remove the duplicate URLs for your own instance
|
||||||
11) perform sanity checks on all csv files (to mark them as sensitive / or remove the ones that are blacklisted)
|
10) perform sanity checks on all csv files for all instances (to mark them as sensitive / or remove the ones that are blacklisted)
|
||||||
|
|
||||||
0) Exit
|
0) Exit
|
||||||
""")
|
""")
|
||||||
|
@ -646,13 +646,16 @@ Maintenance:
|
||||||
|
|
||||||
|
|
||||||
################### MANAGING WORDLISTS #################
|
################### MANAGING WORDLISTS #################
|
||||||
#Wordlists:
|
#Managing Wordlists:
|
||||||
# 8) Add/Remove words in the sensitive list (ex: drug)
|
# 7) Add/Remove words or links in the sensitive list (ex: drug)
|
||||||
# 9) Add/Remove words in the blacklist (ex: porn)
|
# 8) Add/Remove words or links in the blacklist (ex: porn)
|
||||||
# 0) Exit
|
|
||||||
|
#Maintenance:
|
||||||
|
#9) remove the duplicate URLs for your own instance
|
||||||
|
#10) perform sanity checks on all csv files (all instances) (to mark them as sensitive / or remove the ones that are blacklisted)
|
||||||
#########################################################
|
#########################################################
|
||||||
|
|
||||||
case "8":
|
case "7":
|
||||||
print("[+] Add/Remove words in the sensitive list (ex: drug)")
|
print("[+] Add/Remove words in the sensitive list (ex: drug)")
|
||||||
print("do you want to 1) add words or 2) remove words ?")
|
print("do you want to 1) add words or 2) remove words ?")
|
||||||
option="0"
|
option="0"
|
||||||
|
@ -682,7 +685,7 @@ Maintenance:
|
||||||
# TODO if valid! remove word at index
|
# TODO if valid! remove word at index
|
||||||
# TODO if invalid! just pass to ask for another word
|
# TODO if invalid! just pass to ask for another word
|
||||||
|
|
||||||
case "9":
|
case "8":
|
||||||
print("[+] Add/Remove words in the blacklist list (ex: porn)")
|
print("[+] Add/Remove words in the blacklist list (ex: porn)")
|
||||||
option="0"
|
option="0"
|
||||||
|
|
||||||
|
@ -711,9 +714,9 @@ Maintenance:
|
||||||
# TODO if valid! remove word at index
|
# TODO if valid! remove word at index
|
||||||
# TODO if invalid! just pass to ask for another word
|
# TODO if invalid! just pass to ask for another word
|
||||||
|
|
||||||
# TODO CASE 10 : cleanup all duplicates in unverified + verified.csv, based on the url (check if each url appears more than once, and if they do, remove them + write to csv file)
|
# TODO CASE 9 : cleanup all duplicates in unverified + verified.csv, based on the url (check if each url appears more than once, and if they do, remove them + write to csv file)
|
||||||
case "10":
|
case "9":
|
||||||
print("[+] Cleaning up all duplicates in your own unverified + verified.csv (based on the url)")
|
print("[+] 9) Cleaning up all duplicates in your own unverified + verified.csv (based on the url)")
|
||||||
# TODO for unverified.csv, and verified.csv
|
# TODO for unverified.csv, and verified.csv
|
||||||
# TODO iterate through each row of the csv file
|
# TODO iterate through each row of the csv file
|
||||||
# TODO get the index of that row (save it as indextocheck), and the url in that row
|
# TODO get the index of that row (save it as indextocheck), and the url in that row
|
||||||
|
@ -722,8 +725,8 @@ Maintenance:
|
||||||
# ignore it if the index is "indextocheck" and if the index is already listed in rows2delete
|
# ignore it if the index is "indextocheck" and if the index is already listed in rows2delete
|
||||||
# else: add the index to "rows2delete"
|
# else: add the index to "rows2delete"
|
||||||
# go drop the rows by their index listed in "rows2delete"
|
# go drop the rows by their index listed in "rows2delete"
|
||||||
case "11":
|
case "10":
|
||||||
print("11) perform sanity checks on all csv files (to mark them as sensitive / or remove the ones that are blacklisted)")
|
print("[+] 10) perform sanity checks on all csv files (to mark them as sensitive / or remove the ones that are blacklisted)")
|
||||||
# TODO find the list of all csv files (in www/participants/*/*.csv) (templates should remain empty by default)
|
# TODO find the list of all csv files (in www/participants/*/*.csv) (templates should remain empty by default)
|
||||||
# copy what was done in option 4, to :
|
# copy what was done in option 4, to :
|
||||||
# delete the ones that have invalid entries
|
# delete the ones that have invalid entries
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue