mirror of
https://github.com/DarkSecDevelopers/HiddenEye-Legacy.git
synced 2024-03-22 21:12:55 +08:00
Created method to check if "serveo" tunnel is online
This commit is contained in:
parent
5ca3c9ffda
commit
59278d5665
|
@ -84,6 +84,12 @@ def start_ngrok(port):
|
|||
|
||||
|
||||
def start_serveo(port):
|
||||
def is_online():
|
||||
serveo = requests.get("http://serveo.net")
|
||||
if "temporarily disabled" in serveo.text:
|
||||
return False
|
||||
else:
|
||||
return True
|
||||
|
||||
def random(port):
|
||||
run_command('clear')
|
||||
|
|
Loading…
Reference in New Issue
Block a user