Open DanielO opened 8 years ago
I had a look at tncc.py but it wants DSPREAUTH and DESIGNING cookies but I only have DSASSERTREF, DSID, and DSFirstAccess from openconnect.
Also, when I call openconnect with --csd-wrapper it doesn't seem to run the script so I can't do it that way :-/
Hi, I'm trying to use this to pass host checker tests but not having much luck. If I run, say.. ./juniper-vpn.py --user-agent 'Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/50.0.2661.75 Safari/537.36' --username username --host vpnhost connect tncc --stdin DSID=%DSID% openconnect --juniper %HOST% --cookie-on-stdin
It doesn't authenticate (the VPN host redirects to a url with "?p=failed" at the end), however I can run openconnect like so.. sudo openconnect -vv --dump-http-traffic --os=win --csd-wrapper=/tmp/testcsd --juniper https://vpnhost/dana-na/auth/url_16/welcome.cgi
and it DOES authenticate.. but I can't get past the host checker test with openconnect so I can't actually use the network.
Any suggestions?