Advertisement
Guest User

Untitled

a guest
Aug 4th, 2017
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.38 KB | None | 0 0
  1. $ sudo openconnect foo.com/bar
  2. POST https://foo.com/bar
  3. Attempting to connect to server 1.2.3.4:443
  4. Connected to 1.2.3.4:443
  5. SSL negotiation with foo.com
  6. Connected to HTTPS on foo.com
  7. Got HTTP response: HTTP/1.1 200 OK
  8. Content-Type: text/html; charset=utf-8
  9. Transfer-Encoding: chunked
  10. Cache-Control: no-cache
  11. Pragma: no-cache
  12. Connection: Keep-Alive
  13. Date: Fri, 04 Aug 2017 08:28:32 GMT
  14. X-Frame-Options: SAMEORIGIN
  15. X-Aggregate-Auth: 1
  16. HTTP body chunked (-2)
  17. XML POST enabled
  18. Please enter your username and password.
  19. Username:baz
  20. Password:
  21.  
  22. GET https://foo.com/bar
  23. Attempting to connect to server 1.2.3.4:443
  24. Connected to 1.2.3.4:443
  25. SSL negotiation with foo.com
  26. Connected to HTTPS on foo.com
  27. Got HTTP response: HTTP/1.0 200 OK
  28. Content-Length: 110
  29. Cache-Control: no-cache
  30. Pragma: no-cache
  31. Connection: Close
  32. Date: Fri, 04 Aug 2017 08:31:22 GMT
  33. HTTP body length: (110)
  34. Failed to find or parse web form in login page
  35.  
  36. $ sudo cat /etc/NetworkManager/system-connections/foo_VPN
  37. [connection]
  38. id=foo_VPN
  39. uuid=<random string>
  40. type=vpn
  41. permissions=user:sparhawk:;
  42.  
  43. [vpn]
  44. autoconnect-flags=0
  45. certsigs-flags=0
  46. cookie-flags=2
  47. enable_csd_trojan=no
  48. gateway=foo.cam/bar
  49. gateway-flags=2
  50. gwcert-flags=2
  51. lasthost-flags=0
  52. pem_passphrase_fsid=no
  53. protocol=nc
  54. xmlconfig-flags=0
  55. service-type=org.freedesktop.NetworkManager.openconnect
  56.  
  57. [ipv4]
  58. dns-search=
  59. method=auto
  60.  
  61. [ipv6]
  62. addr-gen-mode=stable-privacy
  63. dns-search=
  64. method=auto
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement