curl -A "Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; Trident/5.0)" -o output_AgentLogin.htm -D cookie_AgentLogin.txt "http://xxx.xx.xxx.xx/system%21getLoginSecurityCodeImage.action"
curl -A "Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; Trident/5.0)" -b cookie_AgentLogin.txt "http://xxx.xx.xxx.xx/interface/system/AgentLogin?hotLine=4006019977&cno=2001&pdSc=b605e86d02eef8bfd0646f6a704c17c9&securityCode=1234"
curl -A "Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; Trident/5.0)" -b cookie_AgentLogin.txt "http://xxx.xx.xxx.xx/jwsAction/jwsClientTel%21clientTelList.action?enterpriseId=3001008&cno=2001&type=1"
curl -A "Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; Trident/5.0)" -b cookie_AgentLogin.txt "http://xxx.xx.xxx.xx/interface/system/AgentLogout"
echo "###################"
curl -A "Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; Trident/5.0)" -o output_AgentLogin.htm -D cookie_AgentLogin.txt "http://${ccic_ip}/system%21getLoginSecurityCodeImage.action"
curl -A "Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; Trident/5.0)" -b cookie_AgentLogin.txt "http://${ccic_ip}/interface/system/AgentLogin?hotLine=${hot_line}&cno=${cno_num_sub}&pdSc=b605e86d02eef8bfd0646f6a704c17c9&securityCode=1234"
curl -A "Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; Trident/5.0)" -b cookie_AgentLogin.txt "http://${ccic_ip}/jwsAction/jwsClientTel%21clientTelList.action?enterpriseId=${hot_line}&cno=${cno_num_sub}&type=1"
curl -A "Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; Trident/5.0)" -b "cookie_AgentLogin.txt http://${ccic_ip}/interface/system/AgentLogout"
复制代码
输出结果
% Total % Received % Xferd Average Speed Time Time Time Current