mirror of
http://git.nowherejezfoltodf4jiyl6r56jnzintap5vyjlia7fkirfsnfizflqd.onion/nihilist/darknet-lantern.git
synced 2025-05-16 20:26:58 +00:00
fix README, fix links, and fix "read documentation" lines
This commit is contained in:
parent
222d27a2d0
commit
fa9f735db4
17 changed files with 485 additions and 908 deletions
Binary file not shown.
|
@ -367,11 +367,11 @@ Maintenance:
|
|||
|
||||
# SANITY CHECK ON THE BANNER PNG IMAGE:
|
||||
if IsBannerValid(bannerpath):
|
||||
#print_colors('[+] Banner is valid')
|
||||
print_colors('[+] Banner is valid')
|
||||
pass
|
||||
else:
|
||||
# if false, overwrite it with the template banner png file
|
||||
#print_colors('[-] Banner is not valid, replacing it with the default banner')
|
||||
print_colors('[-] Banner is not valid, replacing it with the default banner')
|
||||
os.remove(bannerpath)
|
||||
# copy templates/banner.png to bannerpath
|
||||
bannertemplatepath=templatepath+'banner.png'
|
||||
|
|
13
scripts/test.py
Normal file
13
scripts/test.py
Normal file
|
@ -0,0 +1,13 @@
|
|||
import sys
|
||||
def main():
|
||||
print(sys.argv, len(sys.argv))
|
||||
option=''
|
||||
if len(sys.argv) == 2:
|
||||
print("option = ", sys.argv[1])
|
||||
option=sys.argv[1]
|
||||
|
||||
print("option =", option)
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
|
@ -23,7 +23,7 @@ def CheckUrl(url):
|
|||
}
|
||||
try:
|
||||
status = requests.get(url,proxies=proxies, timeout=5).status_code
|
||||
#print('[+]',url,status)
|
||||
print('[+]',url,status)
|
||||
if status != 502:
|
||||
#print(url,"✔️")
|
||||
return True
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue