openconnect.exe stdin Windows Crash

Nathan & Ila Reynolds nathanila at gmail.com
Mon Mar 21 11:34:21 PDT 2016


I am executing the following command.  Openconnect.exe crashes when reading
from stdin.  How do I give the password to openconnect.exe without crashing
the program?

C:\Program Files (x86)\OpenConnect>echo "password" | openconnect.exe
--passwd-on-stdin --user=username server
WARNING: This version of openconnect is v7.06 but
         the libopenconnect library is v7.06-unknown
 ReadConsole() failed: The handle is invalid.
 POST https://server/
 Connected to ip:443
 SSL negotiation with server
 Connected to HTTPS on server
 Got HTTP response: HTTP/1.0 302 Temporary moved
 POST server
 Connected to ip:443
 SSL negotiation with server
 Connected to HTTPS on server
 XML POST enabled
 Use of the Oracle network and applications is intended solely for Oracle's
authorized users. The use of these resources by Oracle employees and
contractors is
subject to company policies, including the Code of Conduct, Acceptable Use
Policy and Information Protection Policy; access may be monitored and
logged, to the
extent permitted by law, in accordance with Oracle policies. Unauthorized
access or use may result in termination of your access, disciplinary action
and/or civ
il and criminal penalties. Further information about Oracle security and
privacy policies is available at the GIS Policy Portal.
 Password: ReadConsole() failed: The handle is invalid.

-Nathan





More information about the openconnect-devel mailing list