fix README, fix links, and fix "read documentation" lines

This commit is contained in:
root 2025-02-12 08:51:25 +01:00
parent 222d27a2d0
commit fa9f735db4
17 changed files with 485 additions and 908 deletions

View file

@ -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
View 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()

View file

@ -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