mirror of
http://git.nowherejezfoltodf4jiyl6r56jnzintap5vyjlia7fkirfsnfizflqd.onion/nihilist/darknet-lantern.git
synced 2025-05-16 20:26:58 +00:00
fix
This commit is contained in:
parent
e217a0bb7e
commit
91af49035e
1 changed files with 6 additions and 6 deletions
|
@ -59,10 +59,10 @@ def main():
|
||||||
# check if the instance URL domain is valid
|
# check if the instance URL domain is valid
|
||||||
#print_colors(urlpath,instance)
|
#print_colors(urlpath,instance)
|
||||||
if IsOnionValid(instance):
|
if IsOnionValid(instance):
|
||||||
print_colors("[+] Instance Name:",instance,IsOnionValid(instance))
|
print_colors(f'[+] Instance Name: {instance} {IsOnionValid(instance)}')
|
||||||
isitvalid="y"
|
isitvalid="y"
|
||||||
else:
|
else:
|
||||||
print_colors(f'[-] Invalid instance name in ~/.darknet_participant_url: {instance}' )
|
print_colors(f'[-] Invalid instance name in ~/.darknet_participant_url: {instance}',is_error=True )
|
||||||
return False
|
return False
|
||||||
else:
|
else:
|
||||||
print_colors("[+] Instance Path doesn't exist yet")
|
print_colors("[+] Instance Path doesn't exist yet")
|
||||||
|
@ -71,9 +71,9 @@ def main():
|
||||||
instancepath=rootpath+'www/participants/'+instance
|
instancepath=rootpath+'www/participants/'+instance
|
||||||
# check if the instance URL domain is valid
|
# check if the instance URL domain is valid
|
||||||
if IsOnionValid(instance):
|
if IsOnionValid(instance):
|
||||||
print_colors("[+] Instance Name: ",instance,IsUrlValid(instance))
|
print_colors(f'[+] Instance Name: {instance} {IsUrlValid(instance)}')
|
||||||
else:
|
else:
|
||||||
print_colors(f'[-] Invalid instance name in ~/.darknet_participant_url: {instance}' )
|
print_colors(f'[-] Invalid instance name in ~/.darknet_participant_url: {instance}',is_error=True )
|
||||||
return False
|
return False
|
||||||
|
|
||||||
|
|
||||||
|
@ -89,7 +89,7 @@ def main():
|
||||||
print_colors("[+] file written, let's read it")
|
print_colors("[+] file written, let's read it")
|
||||||
f = open(urlpath,"r")
|
f = open(urlpath,"r")
|
||||||
print_colors(f.read())
|
print_colors(f.read())
|
||||||
print_colors("[+] Initial Setup Completed!")
|
print_colors("[+] Initial Setup Completed!",highlight=True)
|
||||||
myinstance = instance
|
myinstance = instance
|
||||||
|
|
||||||
instancepath=rootpath+'www/participants/'+instance
|
instancepath=rootpath+'www/participants/'+instance
|
||||||
|
@ -116,7 +116,7 @@ def main():
|
||||||
bldf = pd.read_csv(blcsvfile)
|
bldf = pd.read_csv(blcsvfile)
|
||||||
sedf = pd.read_csv(secsvfile)
|
sedf = pd.read_csv(secsvfile)
|
||||||
webpdf = pd.read_csv(webpcsvfile)
|
webpdf = pd.read_csv(webpcsvfile)
|
||||||
print_colors("[+] file exists, your Webring URL is", instance)
|
print_colors("[+] file exists, your Webring URL is ", instance)
|
||||||
isitvalid = "y"
|
isitvalid = "y"
|
||||||
|
|
||||||
while True:
|
while True:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue