mirror of
http://git.nowherejezfoltodf4jiyl6r56jnzintap5vyjlia7fkirfsnfizflqd.onion/nihilist/darknet-lantern.git
synced 2025-05-17 04:36:57 +00:00
updated
This commit is contained in:
parent
ad084d5201
commit
9602b0ffb2
4 changed files with 76 additions and 16 deletions
|
@ -93,26 +93,33 @@ def main():
|
|||
searchterm = input("What is the index of the entry that you want to trust ?")
|
||||
case "5":
|
||||
print("[+] Add/Remove words in the sensitive list (ex: drug)")
|
||||
# print("do you want to 1) add words or 2) remove words ?")
|
||||
# while option is not 1 or 2:
|
||||
# option=input("do you want to 1) add words or 2) remove words ?")
|
||||
# done = False
|
||||
# while(done == False):
|
||||
print("do you want to 1) add words or 2) remove words ?")
|
||||
option="0"
|
||||
|
||||
done = False
|
||||
while(done == False):
|
||||
while option not any((1,2,"exit")):
|
||||
option=input("do you want to 1) add words or 2) remove words ? (type exit to exit)")
|
||||
# display the contents of sensitive.csv file
|
||||
# if option == 1:
|
||||
# word=input("which word do you want to add? (write 0 to exit")
|
||||
# if word = 0
|
||||
#then done= True to get out of the while loop
|
||||
# else
|
||||
if option == 1:
|
||||
word=input("which word do you want to add? (write 0 to exit")
|
||||
if word == "0":
|
||||
done = True
|
||||
#True to get out of the while loop
|
||||
else
|
||||
print("checking if word is valid")
|
||||
#check if word is valid in a while loop (dont check if
|
||||
# if invalid! remove word at index
|
||||
#else:
|
||||
# index=input("which word do you want to remove? (index 0 to (max index) (write exit to exit)")
|
||||
# if index = exit
|
||||
#then done= True to get out of the while loop
|
||||
# else
|
||||
# check if index is valid or not
|
||||
else:
|
||||
index=input("which word do you want to remove? (index 0 to (max index) (write exit to exit)")
|
||||
if index == "exit":
|
||||
done = True
|
||||
#True to get out of the while loop
|
||||
else
|
||||
print("checking if index is valid")
|
||||
#check if index is valid or not
|
||||
# if valid! remove word at index
|
||||
# if invalid! just pass to ask for another word
|
||||
|
||||
case "6":
|
||||
print("[+] Add/Remove words in the blacklist list (ex: porn)")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue