Update plugin.py

This commit is contained in:
gutosie
2022-02-25 13:13:51 +02:00
committed by GitHub
parent a94313ee02
commit 0ccbc5a8e8

View File

@@ -1724,7 +1724,7 @@ def main(session, **kwargs):
else:
if not fileExists('/tmp/ver.txt'):
if fileExists('/usr/bin/curl'):
os.system('cd /tmp; curl -O --ftp-ssl https://raw.githubusercontent.com/gutosie/neoboot/master/ver.txt; curl -O --ftp-ssl https://raw.githubusercontent.com/gutosie/neoboot/master/.neouser; cd /')
os.system('cd /tmp; curl -O --ftp-ssl -k https://raw.githubusercontent.com/gutosie/neoboot/master/ver.txt; curl -O --ftp-ssl https://raw.githubusercontent.com/gutosie/neoboot/master/.neouser; cd /')
if not fileExists('/tmp/ver.txt'):
if fileExists('/usr/bin/wget'):
os.system('cd /tmp; wget --no-check-certificate https://raw.githubusercontent.com/gutosie/neoboot/master/ver.txt; curl -O --ftp-ssl https://raw.githubusercontent.com/gutosie/neoboot/.neouser; cd /')