mirror of
https://github.com/os-mnemo/pan-globalprotect-okta
synced 2026-07-31 07:44:38 +02:00
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:
+12
-6
@@ -526,14 +526,20 @@ def paloalto_getconfig(conf, s, saml_username, prelogin_cookie):
|
|||||||
log('getconfig request [vpn_url]')
|
log('getconfig request [vpn_url]')
|
||||||
url = '{0}/global-protect/getconfig.esp'.format(conf.get('vpn_url'))
|
url = '{0}/global-protect/getconfig.esp'.format(conf.get('vpn_url'))
|
||||||
data = {
|
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,
|
'user': saml_username,
|
||||||
'passwd': '',
|
'passwd': '',
|
||||||
'inputStr': '',
|
|
||||||
'clientVer': '4100',
|
|
||||||
'clientos': 'Windows',
|
|
||||||
'clientgpversion': '4.1.0.98',
|
'clientgpversion': '4.1.0.98',
|
||||||
'computer': 'DESKTOP',
|
|
||||||
'os-version': 'Microsoft Windows 10 Pro, 64-bit',
|
|
||||||
# 'host-id': '00:11:22:33:44:55'
|
# 'host-id': '00:11:22:33:44:55'
|
||||||
'prelogin-cookie': prelogin_cookie,
|
'prelogin-cookie': prelogin_cookie,
|
||||||
'ipv6-support': 'yes'
|
'ipv6-support': 'yes'
|
||||||
@@ -658,4 +664,4 @@ def main():
|
|||||||
|
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
sys.exit(main())
|
sys.exit(main())
|
||||||
|
|||||||
Reference in New Issue
Block a user