Nick Lanham
Nick Lanham
hrmm, and you're doing this via just `cargo install` and then running `click`? there was an old bug in cargo that caused `cargo run` to have this exact behavior, but...
odd, okay, I will try and investigate this further. thanks for the info!
Awesome, thanks for the pointers. Our Okta stuff seems to require a bunch of javascript nonsense, so the pan-globalprotect-okta script doesn't quite work, but I'm gonna work to modify it...
So, I can't seem to get this going. By hacking up the scripts a bit, I'm able to use a combo of my browser and python to get the auth-usercookie....
Thanks for the replies. I'm using the updated script and still getting the same error. At the core: ``` Unexpected 512 result from server Invalid username or password. ``` I've...
So after trying every combination of things I can think of, I'm not able to get any further than some variation of: ``` ./test-globalprotect-login.py -v -u "[email protected]" -p "" https://[vpn-server]/global-protect/getconfig.esp...
Arg! This seemed very promising, but trying to log into the gateway still just gives me a 512 as: ``` HTTP/1.1 512 Date: Sun, 02 Sep 2018 19:48:01 GMT Content-Type:...
@Atoms, you mean in the python script, like: ```python cmd = '\nprintf "{1}" | openconnect --dump -vvv --protocol=gp -u "{0}" --usergroup portal:portal-userauthcookie --passwd-on-stdin {2}' ``` I've tried that and it...
HA, got it! :) Turns out it wants a ``` clientos='Windows' ``` arg as part of the POST body for the `/ssl-vpn/login.esp` request, and then everything "just works". There are...
yep. if clientos is missing or linux64 i get the 512, otherwise all works just fine.