Chinaunix

标题: shell 模拟会话登陆 [打印本页]

作者: byssoft    时间: 2019-11-27 08:44
标题: shell 模拟会话登陆


需求:shell脚本通过curl 模拟登陆后,访问执行一下url访问,然后退出。希望大神帮忙看看,一直没有解决,再此先感谢大神们。


1.通过账户: admin,密码: passwd ,模拟登陆 http://192.168.2.88/login/Login.jsp?logintype=1
2.模拟成功登陆后,访问一下 http://192.168.2.88/commcache/cacheMonitor.jsp?isCache=1   然后退出。






欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2