mirror of
https://github.com/DarkSecDevelopers/HiddenEye-Legacy.git
synced 2024-03-22 21:12:55 +08:00
Update simple_information.py
move im "def_verify_permission"
This commit is contained in:
parent
b13c9ffaee
commit
8194cd805c
@ -207,10 +207,10 @@ def global_message():
|
|||||||
print(global_localization.line_of_dots)
|
print(global_localization.line_of_dots)
|
||||||
|
|
||||||
|
|
||||||
def verify_connection(host='https://dark-sec-official.com'): # Connection check
|
def verify_connection(host='https://google.com'): # Connection check
|
||||||
run_command('clear')
|
run_command('clear')
|
||||||
try:
|
try:
|
||||||
req = requests.get(host, timeout=25)
|
req = requests.get(host, timeout=30)
|
||||||
if req.status_code == 200:
|
if req.status_code == 200:
|
||||||
print(localization.lang_verify_connection["connected"])
|
print(localization.lang_verify_connection["connected"])
|
||||||
pass
|
pass
|
||||||
|
Loading…
x
Reference in New Issue
Block a user