Juanma

Results 8 comments of Juanma

Thank you for your reply, I'm sysadmin and I dont know so much about python programming, when i'm trying to do what you say, I'm not able to because the...

I have tried both script with the import and the json.dump but the output its the same with and without the both lines.. the import is placed at the start...

No problem ;P, this is the output: Connected to HTTPS on vpn.company.com { "3312": [ { "30": [ "Company_Checker" ] } ], "18": [ [ 2 ] ], "3315": [...

sure, here's the output: Connected to HTTPS on vpn.company.com { "timestamp": "1459078085", "interval": "10", "SESSION_POLICIES": "", "SESSION": "", "connId": "0", "msg": "AAAAE8AAAKAAAAWDAAAM5MAAAAwAAAWDAAAM8MAAAGgAAAWDAAAM8cAAAB4AAAWDVGVsZWZvbmljYV9DaGVja2VyAAAAAAzmwAAAOwAABYNObyBydWxlcyBhcmUgY29uZmlndXJlZCBmb3IgdGhlIExpbnV4IHBsYXRmb3JtLgAAAAASwAAAEAAABYMAAAACAAAM84AAABAAAAWDAAAAAQ==" } { "3312": [ { "30": [ "Company_Checker"...

I have changed useragent inside tnnc.py because I was having the same issue just changing it in openconnect and now the output is this one: Connected to HTTPS on vpn.company.com...

Well now I have the following issue.. after request me the login and password I got the following message and ask me again for the password. Got HTTP response: HTTP/1.1...

Well I changed that and now openconnect just crashed: Connected to HTTPS on vpn.company.com Unknown form ID 'frm' Dumping unknown HTML form: ``` ``` Failed to obtain WebVPN cookie I...

After that change, the script just stuck or freeze at this point: python ./juniper-vpn.py --host vpn.company.com --username username --stdin DSID=%DSID% openconnect --juniper -b --no-cert-check --useragent 'Mozilla/5.0 (Windows NT 6.1; WOW64;...