mirror of
http://git.nowherejezfoltodf4jiyl6r56jnzintap5vyjlia7fkirfsnfizflqd.onion/nihilist/darknet-lantern.git
synced 2025-05-16 20:26:58 +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)
|
||||
|
||||
Managing Wordlists:
|
||||
8) Add/Remove words or links in the sensitive list (ex: drug)
|
||||
9) Add/Remove words or links in the blacklist (ex: porn)
|
||||
7) Add/Remove words or links in the sensitive list (ex: drug)
|
||||
8) Add/Remove words or links in the blacklist (ex: porn)
|
||||
|
||||
Maintenance:
|
||||
10) remove the duplicate URLs
|
||||
11) perform sanity checks on all csv files (to mark them as sensitive / or remove the ones that are blacklisted)
|
||||
9) remove the duplicate URLs for your own instance
|
||||
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
|
||||
""")
|
||||
|
@ -646,13 +646,16 @@ Maintenance:
|
|||
|
||||
|
||||
################### MANAGING WORDLISTS #################
|
||||
#Wordlists:
|
||||
# 8) Add/Remove words in the sensitive list (ex: drug)
|
||||
# 9) Add/Remove words in the blacklist (ex: porn)
|
||||
# 0) Exit
|
||||
#Managing Wordlists:
|
||||
# 7) Add/Remove words or links in the sensitive list (ex: drug)
|
||||
# 8) Add/Remove words or links in the blacklist (ex: porn)
|
||||
|
||||
#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("do you want to 1) add words or 2) remove words ?")
|
||||
option="0"
|
||||
|
@ -682,7 +685,7 @@ Maintenance:
|
|||
# TODO if valid! remove word at index
|
||||
# TODO if invalid! just pass to ask for another word
|
||||
|
||||
case "9":
|
||||
case "8":
|
||||
print("[+] Add/Remove words in the blacklist list (ex: porn)")
|
||||
option="0"
|
||||
|
||||
|
@ -711,9 +714,9 @@ Maintenance:
|
|||
# TODO if valid! remove word at index
|
||||
# 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)
|
||||
case "10":
|
||||
print("[+] Cleaning up all duplicates in your own unverified + verified.csv (based on the url)")
|
||||
# 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 "9":
|
||||
print("[+] 9) Cleaning up all duplicates in your own unverified + verified.csv (based on the url)")
|
||||
# TODO for unverified.csv, and verified.csv
|
||||
# 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
|
||||
|
@ -722,8 +725,8 @@ Maintenance:
|
|||
# ignore it if the index is "indextocheck" and if the index is already listed in rows2delete
|
||||
# else: add the index to "rows2delete"
|
||||
# go drop the rows by their index listed in "rows2delete"
|
||||
case "11":
|
||||
print("11) perform sanity checks on all csv files (to mark them as sensitive / or remove the ones that are blacklisted)")
|
||||
case "10":
|
||||
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)
|
||||
# copy what was done in option 4, to :
|
||||
# delete the ones that have invalid entries
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue