avm_sid.py aktualisiert
This commit is contained in:
12
avm_sid.py
12
avm_sid.py
@@ -99,8 +99,8 @@ def send_response(box_url: str, username: str, challenge_response: str) ->str:
|
||||
|
||||
def lights_on():
|
||||
url = 'http://192.168.178.1'
|
||||
username = 'magzsmart'
|
||||
password = 'pipi123!'
|
||||
username = 'hier_user_eintragen'
|
||||
password = 'hier_pw_eintragen'
|
||||
sid = get_sid(url, username, password)
|
||||
print(f"Successful login for user: {username}")
|
||||
print(f"sid: {sid}")
|
||||
@@ -115,8 +115,8 @@ def lights_on():
|
||||
|
||||
def lights_off():
|
||||
url = 'http://192.168.178.1'
|
||||
username = 'magzsmart'
|
||||
password = 'pipi123!'
|
||||
username = 'hier_user_eintragen'
|
||||
password = 'hier_pw_eintragen'
|
||||
sid = get_sid(url, username, password)
|
||||
print(f"Successful login for user: {username}")
|
||||
print(f"sid: {sid}")
|
||||
@@ -131,8 +131,8 @@ def lights_off():
|
||||
|
||||
def main():
|
||||
url = 'http://192.168.178.1'
|
||||
username = 'magzsmart'
|
||||
password = 'pipi123!'
|
||||
username = 'hier_user_eintragen'
|
||||
password = 'hier_pw_eintragen'
|
||||
sid = get_sid(url, username, password)
|
||||
print(f"Successful login for user: {username}")
|
||||
print(f"sid: {sid}")
|
||||
|
||||
Reference in New Issue
Block a user