diff --git a/test-globalprotect-login.py b/test-globalprotect-login.py index 4c325b2..f964a83 100755 --- a/test-globalprotect-login.py +++ b/test-globalprotect-login.py @@ -124,6 +124,7 @@ elif xml is not None and xml.tag == 'prelogin-response' and None not in (xml.fin else: print("Got SAML POST, saved to:\n\t%s" % tf.name) elif sam == 'REDIRECT': + sr = a2b_base64(sr) if args.browse: print("Got SAML REDIRECT, browsing to %s" % sr) webbrowser.open(sr)