mirror of
https://github.com/FAUSheppy/config
synced 2025-12-09 16:18:33 +01:00
[git fast commit] 20. Apr 2018 - 00:46:33
This commit is contained in:
@@ -39,7 +39,7 @@ def pw():
|
||||
|
||||
def cip_logins(ignore=""):
|
||||
MAX_LOGINS=5
|
||||
cmd="wget -q -O- --user cip --password "+pw()+" 'https://atlantishq.de/cipactive/active_logins'"
|
||||
cmd="wget -q -O- --user cip --password "+pw()+" 'https://atlantishq.de:/cipactive/active_logins'"
|
||||
try:
|
||||
l=hl_utils.shexec(cmd).split("\n")
|
||||
except:
|
||||
@@ -163,7 +163,7 @@ last_ip="LOL"
|
||||
def ip_status():
|
||||
global last_ip
|
||||
try:
|
||||
ip="Public IP: "+ hl_utils.shexec("wget --timeout=3 -O- --quiet https://atlantishq.de/ipcheck")
|
||||
ip="Public IP: "+ hl_utils.shexec("wget --no-proxy --timeout=3 -O- --quiet https://atlantishq.de:8002/ipcheck")
|
||||
if last_ip == ip:
|
||||
return
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user