No functional changes, just document (commented out) more potential parameters for getconfig.esp (found in OpenConnect source code and docs)

This commit is contained in:
Tino Lange
2019-09-03 10:31:48 +02:00
parent 536a88f487
commit c9944a15c8
+12 -6
View File
@@ -526,14 +526,20 @@ def paloalto_getconfig(conf, s, saml_username, prelogin_cookie):
log('getconfig request [vpn_url]')
url = '{0}/global-protect/getconfig.esp'.format(conf.get('vpn_url'))
data = {
#'jnlpReady': 'jnlpReady',
#'ok': 'Login',
#'direct': 'yes',
'clientVer': '4100',
#'prot': 'https:',
'clientos': 'Windows',
'os-version': 'Microsoft Windows 10 Pro, 64-bit',
#'server': '',
'computer': 'DESKTOP',
#'preferred-ip': '',
'inputStr': '',
'user': saml_username,
'passwd': '',
'inputStr': '',
'clientVer': '4100',
'clientos': 'Windows',
'clientgpversion': '4.1.0.98',
'computer': 'DESKTOP',
'os-version': 'Microsoft Windows 10 Pro, 64-bit',
# 'host-id': '00:11:22:33:44:55'
'prelogin-cookie': prelogin_cookie,
'ipv6-support': 'yes'
@@ -658,4 +664,4 @@ def main():
if __name__ == '__main__':
sys.exit(main())
sys.exit(main())