Fixed tags, added checks, much refactor - such wow

- Fixed host_tags retrieval (now supports multiple tags and properly handles none)
- Added status code check
- Added check for failed authorization
- Renamed target_compilation -> mdm_compilation
- Fixed and refactored squeeze_html_form()
This commit is contained in:
2022-03-26 20:01:39 +01:00
parent 87231e227f
commit d833c2a76a
2 changed files with 100 additions and 71 deletions

View File

@ -1,11 +1,11 @@
#General settings
hostname = "mein-iserv.de"
session_cookie = "IServSAT=mvuvFvCZSlpvuwhk0mmNwF1NKEQypM4d; IServSession=xEPqyJO1a5nsVd34HEpbPqQGMMQKapvw"
cookie = "IServSAT=mvuvFvCZSlpvuwhk0mmNwF1NKEQypM4d; IServSession=xEPqyJO1a5nsVd34HEpbPqQGMMQKapvw"
# Targeted device settings
target_ip = "10.1.1.1"
target_room = 123
target_compilation = 1
host_ip = "10.1.1.1"
host_room = 123
mdm_compilation = 1
[host_filter]