I have a SSL enable webpage mypage/login.html. This page as for a user and pass. I want to POST my UserId and Pass from a Terminal. I donno wheather its possible using TELNET. I tried with cURL, read about it. But i din find any solution so far. Have head can write php script using curl to login. COuld any body help. Basically i want a script which will be run on user command on during system startup. main thing is to POST my user ID and pass from my Terminal to that webserver , so it Authenticates me and allows me further. Could someone help??
2条回答 默认 最新
- dongnong7524 2014-01-11 17:37关注
You can use the command line program
openssl
for that. It works just like telnet:~$ openssl s_client -connect www.google.com:443 CONNECTED(00000003) depth=2 C = US, O = GeoTrust Inc., CN = GeoTrust Global CA ... secure connection details, certificates, etc ... --- GET / HTTP/1.0 302 Found Location: https://www.google.nl/?gws_rd=cr&ei=CoLRUpfVG8a50QW59oG4CA ... rest of HTTP data / document ...
本回答被题主选为最佳回答 , 对您是否有帮助呢?解决 无用评论 打赏 举报
悬赏问题
- ¥15 随身WiFi网络灯亮但是没有网络,如何解决?
- ¥15 gdf格式的脑电数据如何处理matlab
- ¥20 重新写的代码替换了之后运行hbuliderx就这样了
- ¥100 监控抖音用户作品更新可以微信公众号提醒
- ¥15 UE5 如何可以不渲染HDRIBackdrop背景
- ¥70 2048小游戏毕设项目
- ¥20 mysql架构,按照姓名分表
- ¥15 MATLAB实现区间[a,b]上的Gauss-Legendre积分
- ¥15 delphi webbrowser组件网页下拉菜单自动选择问题
- ¥15 linux驱动,linux应用,多线程