mirror of
http://git.nowherejezfoltodf4jiyl6r56jnzintap5vyjlia7fkirfsnfizflqd.onion/nihilist/darknet-lantern.git
synced 2025-05-16 20:26:58 +00:00
wip doc
This commit is contained in:
parent
6dd04a41f3
commit
b9b3b9f4bd
2 changed files with 19 additions and 5 deletions
|
@ -15,7 +15,7 @@ def main():
|
|||
|
||||
|
||||
# check if ~/.darknet_participant_url exists,
|
||||
# if exists, instance= the content of ~/.darknet_participant_url (which is the url: such as uptime.nowherejez...onion)
|
||||
# if exists, instance= the content of ~/.darknet_participant_url (which is the url: such as lantern.nowherejez...onion)
|
||||
isitvalid="n"
|
||||
while isitvalid != "y":
|
||||
if os.path.isfile(urlpath):
|
||||
|
@ -32,7 +32,7 @@ def main():
|
|||
else:
|
||||
print("[+] Instance Path doesn't exist yet")
|
||||
# and ask for the instance URL domain
|
||||
instance = input("What is your Instance domain ? (ex: uptime.nowherejezfoltodf4jiyl6r56jnzintap5vyjlia7fkirfsnfizflqd.onion):")
|
||||
instance = input("What is your Instance domain ? (ex: lantern.nowherejezfoltodf4jiyl6r56jnzintap5vyjlia7fkirfsnfizflqd.onion): ")
|
||||
instancepath=rootpath+'www/participants/'+instance
|
||||
# check if the instance URL domain is valid
|
||||
if IsOnionValid(instance):
|
||||
|
@ -45,7 +45,7 @@ def main():
|
|||
# ask the user if the instance URL is valid ?
|
||||
print()
|
||||
print(instance)
|
||||
isitvalid=input("Is this your this your instance domain ? (y/n)")
|
||||
isitvalid=input("Is this your this your instance domain ? (y/n) ")
|
||||
# if yes, then write it into ~/.darknet_participant_url
|
||||
if isitvalid == "y" :
|
||||
print("OK writing the instance url to ~/.darknet_participants_url")
|
||||
|
@ -455,7 +455,7 @@ Maintenance:
|
|||
webring_participant_url = ''
|
||||
while(IsOnionValid(webring_participant_url) is not True):
|
||||
# ask for the url to the other webring participant and check if the (onion only) url is valid or not:
|
||||
webring_participant_url = input("What is the onion domain of the new webring participant? (ex: uptime.nowherejezfoltodf4jiyl6r56jnzintap5vyjlia7fkirfsnfizflqd.onion) ")
|
||||
webring_participant_url = input("What is the onion domain of the new webring participant? (ex: lantern.nowherejezfoltodf4jiyl6r56jnzintap5vyjlia7fkirfsnfizflqd.onion) ")
|
||||
# check if the directory exists locally or not,
|
||||
participantdir=rootpath+'www/participants/'+webring_participant_url
|
||||
if not os.path.isdir(participantdir): # to test on your own instance
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue