mirror of
https://github.com/DarkSecDevelopers/HiddenEye-Legacy.git
synced 2024-03-22 21:12:55 +08:00
Added additional check for license (Just in case, may remove later)
This commit is contained in:
parent
8a7b1cf212
commit
606972d8c1
|
@ -4,8 +4,6 @@
|
||||||
# This is free software, and you are welcome to redistribute it
|
# This is free software, and you are welcome to redistribute it
|
||||||
# under certain conditions; you can read LICENSE for details.
|
# under certain conditions; you can read LICENSE for details.
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
from Defs.Checks import *
|
from Defs.Checks import *
|
||||||
from os import system, environ
|
from os import system, environ
|
||||||
import Defs.ActionManager.main_runner as main_runner
|
import Defs.ActionManager.main_runner as main_runner
|
||||||
|
@ -20,10 +18,14 @@ import sys
|
||||||
import ssl
|
import ssl
|
||||||
|
|
||||||
|
|
||||||
|
simple_informant.license_handler()
|
||||||
|
agreement = simple_informant.terms_of_service_message()
|
||||||
|
if agreement != True:
|
||||||
|
exit()
|
||||||
|
|
||||||
if(not environ.get('PYTHONHTTPSVERIFY', "") and getattr(ssl, '_create_unverified_context', None)):
|
if(not environ.get('PYTHONHTTPSVERIFY', "") and getattr(ssl, '_create_unverified_context', None)):
|
||||||
ssl._create_default_https_context = ssl._create_unverified_context
|
ssl._create_default_https_context = ssl._create_unverified_context
|
||||||
|
|
||||||
|
|
||||||
checkPermissions()
|
checkPermissions()
|
||||||
checkConnection()
|
checkConnection()
|
||||||
verCheck()
|
verCheck()
|
||||||
|
|
Loading…
Reference in New Issue
Block a user