C# winform的WebBrowser非常规编程(强烈推荐)
本文章被今日头条推荐
1、在WebBrowser中实现抓取301和302协议
在WebBrowser中抓取301和302协议目前官方提供的组件远远不够,需要借助HttpMonitor.dll。这个组件由美国人开发,目前项目宿主在
http://www.codeproject.com/Articles/157329/Http-Monitor-for-Webbrowser-Control 上,这个项目在vs2010上报错,经过我的调整,目前可以正常编译。组件下载
编译过程中可以联系我。qq 840189859
用之前要求注册组件。注册过程需要严格按照下面的步骤
将HttpMonitor.dll拷贝到C:\Windows\SysWOW64
用管理员身份运行命令行,按照步骤输入以下命令
命令1:
C:
命令2
cd C:\Windows\SysWOW64
命令3
regsvr32 HttpMonitor.dll
如果显示注册成功就成功,否则会显示错误,注册失败。
在注册过程中,会遭到360安全卫士,杀毒软件等的阻拦,建议关闭。
2、在WebBrowser实现链接的篡改。
我们在WebBrowser有时候需要篡改链接,比如说我们需要在每个链接上都加上?id=12113221312312。没有接触过这类似的需求,网上这类的需求和实现方式都少。
我们来实现下
WebBrowser有Navigating事件
private void webBrowser1_Navigating(object sender, WebBrowserNavigatingEventArgs e)
我们在Navicating事件上加如下代码
private void webBrowser1_Navigating(object sender, WebBrowserNavigatingEventArgs e){
string url = e.Url.ToString(); if (url.ToLower().Contains("id=")) { //可以随意跳转 e.Cancel = false; } else { e.Cancel = true; string newUrtl = String.Format("{0}?{1}", url,"id=12113221312312"); webBrowser1.Navigate(newUrtl); }
}
代码解释
如果连接中没有id=停止跳转。加上id=12113221312312进行跳转。
另外请打击查看软件截图
抓取到的数据举例:
![](https://images.cnblogs.com/OutliningIndicators/ContractedBlock.gif)
http://192.168.0.2:8080/sso/js/common_rosters.js REQUEST HEADERS - RESPONSE HEADERS - HTTP/1.1 200 OK ETag: W/"6612-1477622585251" Content-Type: application/javascript Content-Length: 6612 Last-Modified: Fri, 28 Oct 2016 02:43:05 GMT CACHE PATH - C:\Users\malia_000\AppData\Local\Microsoft\Windows\INetCache\IE\1GGZZZMD\common_rosters[1].js -------------- http://192.168.0.2:8080/sso/js/passwordstrength.js REQUEST HEADERS - RESPONSE HEADERS - HTTP/1.1 200 OK ETag: W/"3506-1477622585263" Content-Type: application/javascript Content-Length: 3506 Last-Modified: Fri, 28 Oct 2016 02:43:05 GMT CACHE PATH - C:\Users\malia_000\AppData\Local\Microsoft\Windows\INetCache\IE\1GGZZZMD\passwordstrength[1].js -------------- http://192.168.0.2:8080/sso/css/jquery-ui-themes.css REQUEST HEADERS - RESPONSE HEADERS - HTTP/1.1 200 OK ETag: W/"28572-1477622584980" Content-Type: text/css Content-Length: 28572 Last-Modified: Fri, 28 Oct 2016 02:43:04 GMT CACHE PATH - C:\Users\malia_000\AppData\Local\Microsoft\Windows\INetCache\IE\1GGZZZMD\jquery-ui-themes[1].css -------------- http://192.168.0.2:8080/sso/css/axure_rp_page.css REQUEST HEADERS - RESPONSE HEADERS - HTTP/1.1 200 OK ETag: W/"3225-1477622584973" Content-Type: text/css Content-Length: 3225 Last-Modified: Fri, 28 Oct 2016 02:43:04 GMT CACHE PATH - C:\Users\malia_000\AppData\Local\Microsoft\Windows\INetCache\IE\1GGZZZMD\axure_rp_page[1].css -------------- http://192.168.0.2:8080/sso/css/styles.css REQUEST HEADERS - RESPONSE HEADERS - HTTP/1.1 200 OK ETag: W/"5413-1477622584984" Content-Type: text/css Content-Length: 5413 Last-Modified: Fri, 28 Oct 2016 02:43:04 GMT CACHE PATH - C:\Users\malia_000\AppData\Local\Microsoft\Windows\INetCache\IE\1GGZZZMD\styles[1].css -------------- http://192.168.0.2:8080/sso/css/styles1.css REQUEST HEADERS - RESPONSE HEADERS - HTTP/1.1 200 OK ETag: W/"3815-1477622584986" Content-Type: text/css Content-Length: 3815 Last-Modified: Fri, 28 Oct 2016 02:43:04 GMT CACHE PATH - C:\Users\malia_000\AppData\Local\Microsoft\Windows\INetCache\IE\1GGZZZMD\styles1[1].css -------------- http://192.168.0.2:8080/sso/js/jquery-1.7.1.min.js REQUEST HEADERS - RESPONSE HEADERS - HTTP/1.1 200 OK ETag: W/"93868-1477622585257" Content-Type: application/javascript Content-Length: 93868 Last-Modified: Fri, 28 Oct 2016 02:43:05 GMT CACHE PATH - C:\Users\malia_000\AppData\Local\Microsoft\Windows\INetCache\IE\1GGZZZMD\jquery-1.7.1.min[1].js -------------- http://192.168.0.2:8080/sso/js/jquery-ui-1.8.10.custom.min.js REQUEST HEADERS - RESPONSE HEADERS - HTTP/1.1 200 OK ETag: W/"72277-1477622585260" Content-Type: application/javascript Content-Length: 72277 Last-Modified: Fri, 28 Oct 2016 02:43:05 GMT CACHE PATH - C:\Users\malia_000\AppData\Local\Microsoft\Windows\INetCache\IE\1GGZZZMD\jquery-ui-1.8.10.custom.min[1].js -------------- http://192.168.0.2:8080/sso/js/axure/axQuery.js REQUEST HEADERS - RESPONSE HEADERS - HTTP/1.1 200 OK ETag: W/"12768-1477622585089" Content-Type: application/javascript Content-Length: 12768 Last-Modified: Fri, 28 Oct 2016 02:43:05 GMT CACHE PATH - C:\Users\malia_000\AppData\Local\Microsoft\Windows\INetCache\IE\1GGZZZMD\axQuery[1].js -------------- http://192.168.0.2:8080/sso/login2?service=http://192.168.0.2:8080/EverbrightXL_trust_web_portals FROM - http://192.168.0.2:8080/sso/js/axutils.js REQUEST HEADERS - GET /sso/js/axutils.js HTTP/1.1 Accept: */* Referer: http://192.168.0.2:8080/sso/login2?message={'interfaceVersion':'1.0.0','systemCode':'20101','extend':'20101','userLoginName':'su','userPassWord':'123456','reqIP':'192.168.1.1','reqCharSet':'UTF-8','reqTime':'<%=date2%>','chnlCode':'BS','signType':'MD5','signMsg':'test'} Accept-Language: en-US,en;q=0.8,zh-Hans-CN;q=0.5,zh-Hans;q=0.3 UA-CPU: AMD64 Accept-Encoding: gzip, deflate User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.2; Win64; x64; Trident/7.0; .NET4.0E; .NET4.0C; .NET CLR 3.5.30729; .NET CLR 2.0.50727; .NET CLR 3.0.30729) Host: 192.168.0.2:8080 Connection: Keep-Alive Cookie: JSESSIONID=93C8B0FEB138574BC599B3752085F6F8 RESPONSE HEADERS - -------------- http://192.168.0.2:8080/sso/js/axure/annotation.js REQUEST HEADERS - RESPONSE HEADERS - HTTP/1.1 200 OK ETag: W/"6520-1477622585086" Content-Type: application/javascript Content-Length: 6520 Last-Modified: Fri, 28 Oct 2016 02:43:05 GMT CACHE PATH - C:\Users\malia_000\AppData\Local\Microsoft\Windows\INetCache\IE\1GGZZZMD\annotation[1].js -------------- http://192.168.0.2:8080/sso/js/axure/axQuery.std.js REQUEST HEADERS - RESPONSE HEADERS - HTTP/1.1 200 OK ETag: W/"30730-1477622585093" Content-Type: application/javascript Content-Length: 30730 Last-Modified: Fri, 28 Oct 2016 02:43:05 GMT CACHE PATH - C:\Users\malia_000\AppData\Local\Microsoft\Windows\INetCache\IE\U8BWLIJO\axQuery.std[1].js -------------- http://192.168.0.2:8080/sso/js/scripts/messagecenter.js REQUEST HEADERS - RESPONSE HEADERS - HTTP/1.1 200 OK ETag: W/"7172-1477622585246" Content-Type: application/javascript Content-Length: 7172 Last-Modified: Fri, 28 Oct 2016 02:43:05 GMT CACHE PATH - C:\Users\malia_000\AppData\Local\Microsoft\Windows\INetCache\IE\U8BWLIJO\messagecenter[1].js -------------- http://192.168.0.2:8080/sso/js/scripts/axure/doc.js REQUEST HEADERS - RESPONSE HEADERS - HTTP/1.1 200 OK ETag: W/"26952-1477622585175" Content-Type: application/javascript Content-Length: 26952 Last-Modified: Fri, 28 Oct 2016 02:43:05 GMT CACHE PATH - C:\Users\malia_000\AppData\Local\Microsoft\Windows\INetCache\IE\U8BWLIJO\doc[1].js -------------- http://192.168.0.2:8080/sso/js/data/document.js REQUEST HEADERS - RESPONSE HEADERS - HTTP/1.1 200 OK ETag: W/"46413-1477622585155" Content-Type: application/javascript Content-Length: 46413 Last-Modified: Fri, 28 Oct 2016 02:43:05 GMT CACHE PATH - C:\Users\malia_000\AppData\Local\Microsoft\Windows\INetCache\IE\U8BWLIJO\document[1].js -------------- http://192.168.0.2:8080/sso/js/scripts/axure/events.js REQUEST HEADERS - RESPONSE HEADERS - HTTP/1.1 200 OK ETag: W/"58560-1477622585181" Content-Type: application/javascript Content-Length: 58560 Last-Modified: Fri, 28 Oct 2016 02:43:05 GMT CACHE PATH - C:\Users\malia_000\AppData\Local\Microsoft\Windows\INetCache\IE\U8BWLIJO\events[1].js -------------- http://192.168.0.2:8080/sso/js/scripts/axure/action.js REQUEST HEADERS - RESPONSE HEADERS - HTTP/1.1 200 OK ETag: W/"37114-1477622585161" Content-Type: application/javascript Content-Length: 37114 Last-Modified: Fri, 28 Oct 2016 02:43:05 GMT CACHE PATH - C:\Users\malia_000\AppData\Local\Microsoft\Windows\INetCache\IE\U8BWLIJO\action[1].js -------------- http://192.168.0.2:8080/sso/js/scripts/axure/expr.js REQUEST HEADERS - RESPONSE HEADERS - HTTP/1.1 200 OK ETag: W/"17330-1477622585184" Content-Type: application/javascript Content-Length: 17330 Last-Modified: Fri, 28 Oct 2016 02:43:05 GMT CACHE PATH - C:\Users\malia_000\AppData\Local\Microsoft\Windows\INetCache\IE\9FTP5DFT\expr[1].js -------------- http://192.168.0.2:8080/sso/js/scripts/axure/geometry.js REQUEST HEADERS - RESPONSE HEADERS - HTTP/1.1 200 OK ETag: W/"11409-1477622585189" Content-Type: application/javascript Content-Length: 11409 Last-Modified: Fri, 28 Oct 2016 02:43:05 GMT CACHE PATH - C:\Users\malia_000\AppData\Local\Microsoft\Windows\INetCache\IE\9FTP5DFT\geometry[1].js -------------- http://192.168.0.2:8080/sso/js/scripts/axure/flyout.js REQUEST HEADERS - RESPONSE HEADERS - HTTP/1.1 200 OK ETag: W/"9519-1477622585187" Content-Type: application/javascript Content-Length: 9519 Last-Modified: Fri, 28 Oct 2016 02:43:05 GMT CACHE PATH - C:\Users\malia_000\AppData\Local\Microsoft\Windows\INetCache\IE\9FTP5DFT\flyout[1].js -------------- http://192.168.0.2:8080/sso/js/scripts/axure/ie.js REQUEST HEADERS - RESPONSE HEADERS - HTTP/1.1 200 OK ETag: W/"11979-1477622585195" Content-Type: application/javascript Content-Length: 11979 Last-Modified: Fri, 28 Oct 2016 02:43:05 GMT CACHE PATH - C:\Users\malia_000\AppData\Local\Microsoft\Windows\INetCache\IE\9FTP5DFT\ie[1].js -------------- http://192.168.0.2:8080/sso/js/scripts/axure/model.js REQUEST HEADERS - RESPONSE HEADERS - HTTP/1.1 200 OK ETag: W/"1747-1477622585202" Content-Type: application/javascript Content-Length: 1747 Last-Modified: Fri, 28 Oct 2016 02:43:05 GMT CACHE PATH - C:\Users\malia_000\AppData\Local\Microsoft\Windows\INetCache\IE\9FTP5DFT\model[1].js -------------- http://192.168.0.2:8080/sso/js/scripts/axure/repeater.js REQUEST HEADERS - RESPONSE HEADERS - HTTP/1.1 200 OK ETag: W/"63546-1477622585209" Content-Type: application/javascript Content-Length: 63546 Last-Modified: Fri, 28 Oct 2016 02:43:05 GMT CACHE PATH - C:\Users\malia_000\AppData\Local\Microsoft\Windows\INetCache\IE\9FTP5DFT\repeater[1].js -------------- http://192.168.0.2:8080/sso/js/scripts/axure/sto.js REQUEST HEADERS - RESPONSE HEADERS - HTTP/1.1 200 OK ETag: W/"7707-1477622585211" Content-Type: application/javascript Content-Length: 7707 Last-Modified: Fri, 28 Oct 2016 02:43:05 GMT CACHE PATH - C:\Users\malia_000\AppData\Local\Microsoft\Windows\INetCache\IE\OWXEU893\sto[1].js -------------- http://192.168.0.2:8080/sso/js/scripts/axure/utils.temp.js REQUEST HEADERS - RESPONSE HEADERS - HTTP/1.1 200 OK ETag: W/"4051-1477622585220" Content-Type: application/javascript Content-Length: 4051 Last-Modified: Fri, 28 Oct 2016 02:43:05 GMT CACHE PATH - C:\Users\malia_000\AppData\Local\Microsoft\Windows\INetCache\IE\OWXEU893\utils.temp[1].js -------------- http://192.168.0.2:8080/sso/js/scripts/axure/variables.js REQUEST HEADERS - RESPONSE HEADERS - HTTP/1.1 200 OK ETag: W/"6672-1477622585223" Content-Type: application/javascript Content-Length: 6672 Last-Modified: Fri, 28 Oct 2016 02:43:05 GMT CACHE PATH - C:\Users\malia_000\AppData\Local\Microsoft\Windows\INetCache\IE\OWXEU893\variables[1].js -------------- http://192.168.0.2:8080/sso/js/scripts/axure/drag.js REQUEST HEADERS - RESPONSE HEADERS - HTTP/1.1 200 OK ETag: W/"11272-1477622585178" Content-Type: application/javascript Content-Length: 11272 Last-Modified: Fri, 28 Oct 2016 02:43:05 GMT CACHE PATH - C:\Users\malia_000\AppData\Local\Microsoft\Windows\INetCache\IE\OWXEU893\drag[1].js -------------- http://192.168.0.2:8080/sso/js/scripts/axure/move.js REQUEST HEADERS - RESPONSE HEADERS - HTTP/1.1 200 OK ETag: W/"2645-1477622585205" Content-Type: application/javascript Content-Length: 2645 Last-Modified: Fri, 28 Oct 2016 02:43:05 GMT CACHE PATH - C:\Users\malia_000\AppData\Local\Microsoft\Windows\INetCache\IE\OWXEU893\move[1].js -------------- http://192.168.0.2:8080/sso/js/scripts/axure/visibility.js REQUEST HEADERS - RESPONSE HEADERS - HTTP/1.1 200 OK ETag: W/"17466-1477622585228" Content-Type: application/javascript Content-Length: 17466 Last-Modified: Fri, 28 Oct 2016 02:43:05 GMT CACHE PATH - C:\Users\malia_000\AppData\Local\Microsoft\Windows\INetCache\IE\OWXEU893\visibility[1].js -------------- http://192.168.0.2:8080/sso/js/scripts/axure/style.js REQUEST HEADERS - RESPONSE HEADERS - HTTP/1.1 200 OK ETag: W/"40226-1477622585214" Content-Type: application/javascript Content-Length: 40226 Last-Modified: Fri, 28 Oct 2016 02:43:05 GMT CACHE PATH - C:\Users\malia_000\AppData\Local\Microsoft\Windows\INetCache\IE\OWXEU893\style[1].js -------------- http://192.168.0.2:8080/sso/js/scripts/axure/adaptive.js REQUEST HEADERS - RESPONSE HEADERS - HTTP/1.1 200 OK ETag: W/"15479-1477622585164" Content-Type: application/javascript Content-Length: 15479 Last-Modified: Fri, 28 Oct 2016 02:43:05 GMT CACHE PATH - C:\Users\malia_000\AppData\Local\Microsoft\Windows\INetCache\IE\OWXEU893\adaptive[1].js -------------- http://192.168.0.2:8080/sso/js/scripts/axure/tree.js REQUEST HEADERS - RESPONSE HEADERS - HTTP/1.1 200 OK ETag: W/"7389-1477622585217" Content-Type: application/javascript Content-Length: 7389 Last-Modified: Fri, 28 Oct 2016 02:43:05 GMT CACHE PATH - C:\Users\malia_000\AppData\Local\Microsoft\Windows\INetCache\IE\OWXEU893\tree[1].js -------------- http://192.168.0.2:8080/sso/js/scripts/axure/init.temp.js REQUEST HEADERS - RESPONSE HEADERS - HTTP/1.1 200 OK ETag: W/"6631-1477622585197" Content-Type: application/javascript Content-Length: 6631 Last-Modified: Fri, 28 Oct 2016 02:43:05 GMT CACHE PATH - C:\Users\malia_000\AppData\Local\Microsoft\Windows\INetCache\IE\OWXEU893\init.temp[1].js -------------- http://192.168.0.2:8080/sso/js/scripts/axure/legacy.js REQUEST HEADERS - RESPONSE HEADERS - HTTP/1.1 200 OK ETag: W/"5676-1477622585200" Content-Type: application/javascript Content-Length: 5676 Last-Modified: Fri, 28 Oct 2016 02:43:05 GMT CACHE PATH - C:\Users\malia_000\AppData\Local\Microsoft\Windows\INetCache\IE\OWXEU893\legacy[1].js -------------- http://192.168.0.2:8080/sso/js/scripts/axure/viewer.js REQUEST HEADERS - RESPONSE HEADERS - HTTP/1.1 200 OK ETag: W/"2627-1477622585225" Content-Type: application/javascript Content-Length: 2627 Last-Modified: Fri, 28 Oct 2016 02:43:05 GMT CACHE PATH - C:\Users\malia_000\AppData\Local\Microsoft\Windows\INetCache\IE\OWXEU893\viewer[1].js -------------- http://192.168.0.2:8080/sso/login2?message={'interfaceVersion':'1.0.0','systemCode':'20101','extend':'20101','userLoginName':'su','userPassWord':'123456','reqIP':'192.168.1.1','reqCharSet':'UTF-8','reqTime':'<%=date2%>','chnlCode':'BS','signType':'MD5','signMsg':'test'} REQUEST HEADERS - GET /sso/login2?message={'interfaceVersion':'1.0.0','systemCode':'20101','extend':'20101','userLoginName':'su','userPassWord':'123456','reqIP':'192.168.1.1','reqCharSet':'UTF-8','reqTime':'<%=date2%>','chnlCode':'BS','signType':'MD5','signMsg':'test'} HTTP/1.1 Accept: image/jpeg, application/x-ms-application, image/gif, application/xaml+xml, image/pjpeg, application/x-ms-xbap, */* Accept-Language: en-US,en;q=0.8,zh-Hans-CN;q=0.5,zh-Hans;q=0.3 UA-CPU: AMD64 Accept-Encoding: gzip, deflate User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.2; Win64; x64; Trident/7.0; .NET4.0E; .NET4.0C; .NET CLR 3.5.30729; .NET CLR 2.0.50727; .NET CLR 3.0.30729) Host: 192.168.0.2:8080 Connection: Keep-Alive RESPONSE HEADERS - HTTP/1.1 200 OK Server: Apache-Coyote/1.1 Pragma: no-cache Expires: Thu, 01 Jan 1970 00:00:00 GMT Cache-Control: no-cache Cache-Control: no-store Set-Cookie: JSESSIONID=93C8B0FEB138574BC599B3752085F6F8; Path=/sso Content-Type: text/html;charset=UTF-8 Content-Language: en-US Transfer-Encoding: chunked Date: Mon, 31 Oct 2016 08:58:43 GMT JSESSIONID=93C8B0FEB138574BC599B3752085F6F8; Path=/sso CACHE PATH - C:\Users\malia_000\AppData\Local\Microsoft\Windows\INetCache\IE\9FTP5DFT\login2[1].htm -------------- http://192.168.0.2:8080/sso/js/axure/globals.js REQUEST HEADERS - RESPONSE HEADERS - HTTP/1.1 200 OK ETag: W/"156-1477622585114" Content-Type: application/javascript Content-Length: 156 Last-Modified: Fri, 28 Oct 2016 02:43:05 GMT CACHE PATH - C:\Users\malia_000\AppData\Local\Microsoft\Windows\INetCache\IE\1GGZZZMD\globals[1].js -------------- http://192.168.0.2:8080/sso/js/axutils.js TO - http://192.168.0.2:8080/sso/login2?service=http://192.168.0.2:8080/EverbrightXL_trust_web_portals REQUEST HEADERS - GET /sso/js/axutils.js HTTP/1.1 Accept: */* Referer: http://192.168.0.2:8080/sso/login2?message={'interfaceVersion':'1.0.0','systemCode':'20101','extend':'20101','userLoginName':'su','userPassWord':'123456','reqIP':'192.168.1.1','reqCharSet':'UTF-8','reqTime':'<%=date2%>','chnlCode':'BS','signType':'MD5','signMsg':'test'} Accept-Language: en-US,en;q=0.8,zh-Hans-CN;q=0.5,zh-Hans;q=0.3 UA-CPU: AMD64 Accept-Encoding: gzip, deflate User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.2; Win64; x64; Trident/7.0; .NET4.0E; .NET4.0C; .NET CLR 3.5.30729; .NET CLR 2.0.50727; .NET CLR 3.0.30729) Host: 192.168.0.2:8080 Connection: Keep-Alive Cookie: JSESSIONID=93C8B0FEB138574BC599B3752085F6F8 JSESSIONID=93C8B0FEB138574BC599B3752085F6F8 RESPONSE HEADERS - HTTP/1.1 302 Found Server: Apache-Coyote/1.1 Location: http://192.168.0.2:8080/sso/login2?service=http://192.168.0.2:8080/EverbrightXL_trust_web_portals Content-Type: text/html Transfer-Encoding: chunked Date: Mon, 31 Oct 2016 08:58:43 GMT -------------- http://192.168.0.2:8080/sso/js/axutils.js REQUEST HEADERS - GET /sso/login2?service=http://192.168.0.2:8080/EverbrightXL_trust_web_portals HTTP/1.1 Accept: */* Referer: http://192.168.0.2:8080/sso/login2?message={'interfaceVersion':'1.0.0','systemCode':'20101','extend':'20101','userLoginName':'su','userPassWord':'123456','reqIP':'192.168.1.1','reqCharSet':'UTF-8','reqTime':'<%=date2%>','chnlCode':'BS','signType':'MD5','signMsg':'test'} Accept-Language: en-US,en;q=0.8,zh-Hans-CN;q=0.5,zh-Hans;q=0.3 UA-CPU: AMD64 Accept-Encoding: gzip, deflate User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.2; Win64; x64; Trident/7.0; .NET4.0E; .NET4.0C; .NET CLR 3.5.30729; .NET CLR 2.0.50727; .NET CLR 3.0.30729) Host: 192.168.0.2:8080 Connection: Keep-Alive Cookie: JSESSIONID=93C8B0FEB138574BC599B3752085F6F8 JSESSIONID=93C8B0FEB138574BC599B3752085F6F8 RESPONSE HEADERS - HTTP/1.1 200 OK Server: Apache-Coyote/1.1 Pragma: no-cache Expires: Thu, 01 Jan 1970 00:00:00 GMT Cache-Control: no-cache Cache-Control: no-store Content-Type: text/html;charset=UTF-8 Content-Language: en-US Transfer-Encoding: chunked Date: Mon, 31 Oct 2016 08:58:43 GMT -------------- http://192.168.0.2:8080/sso/images/login/u4.png REQUEST HEADERS - RESPONSE HEADERS - HTTP/1.1 200 OK ETag: W/"2504-1477622585036" Content-Type: image/png Content-Length: 2504 Last-Modified: Fri, 28 Oct 2016 02:43:05 GMT CACHE PATH - C:\Users\malia_000\AppData\Local\Microsoft\Windows\INetCache\IE\OWXEU893\u4[1].png -------------- http://192.168.0.2:8080/sso/images/login/u011.png REQUEST HEADERS - RESPONSE HEADERS - HTTP/1.1 200 OK ETag: W/"2984-1477622585003" Content-Type: image/png Content-Length: 2984 Last-Modified: Fri, 28 Oct 2016 02:43:05 GMT CACHE PATH - C:\Users\malia_000\AppData\Local\Microsoft\Windows\INetCache\IE\OWXEU893\u011[1].png -------------- http://192.168.0.2:8080/sso/images/login/u0.png REQUEST HEADERS - RESPONSE HEADERS - HTTP/1.1 200 OK ETag: W/"193183-1477622585000" Content-Type: image/png Content-Length: 193183 Last-Modified: Fri, 28 Oct 2016 02:43:05 GMT CACHE PATH - C:\Users\malia_000\AppData\Local\Microsoft\Windows\INetCache\IE\OWXEU893\u0[1].png -------------- http://192.168.0.2:8080/sso/images/login/u09.png REQUEST HEADERS - RESPONSE HEADERS - HTTP/1.1 200 OK ETag: W/"2966-1477622585022" Content-Type: image/png Content-Length: 2966 Last-Modified: Fri, 28 Oct 2016 02:43:05 GMT CACHE PATH - C:\Users\malia_000\AppData\Local\Microsoft\Windows\INetCache\IE\OWXEU893\u09[1].png -------------- http://192.168.0.2:8080/sso/images/login/u013.jpg REQUEST HEADERS - RESPONSE HEADERS - HTTP/1.1 200 OK ETag: W/"3213-1477622585007" Content-Type: image/jpeg Content-Length: 3213 Last-Modified: Fri, 28 Oct 2016 02:43:05 GMT CACHE PATH - C:\Users\malia_000\AppData\Local\Microsoft\Windows\INetCache\IE\9FTP5DFT\u013[1].jpg -------------- http://192.168.0.2:8080/sso/login2;jsessionid=93C8B0FEB138574BC599B3752085F6F8?message={'interfaceVersion':'1.0.0','systemCode':'20101','extend':'20101','userLoginName':'su','userPassWord':'123456','reqIP':'192.168.1.1','reqCharSet':'UTF-8','reqTime':'<%=date2%>','chnlCode':'BS','signType':'MD5','signMsg':'test'} TO - http://192.168.0.2:8080/ss1 REQUEST HEADERS - POST /sso/login2;jsessionid=93C8B0FEB138574BC599B3752085F6F8?message={'interfaceVersion':'1.0.0','systemCode':'20101','extend':'20101','userLoginName':'su','userPassWord':'123456','reqIP':'192.168.1.1','reqCharSet':'UTF-8','reqTime':'<%=date2%>','chnlCode':'BS','signType':'MD5','signMsg':'test'} HTTP/1.1 Accept: image/jpeg, application/x-ms-application, image/gif, application/xaml+xml, image/pjpeg, application/x-ms-xbap, */* Referer: http://192.168.0.2:8080/sso/login2?message={'interfaceVersion':'1.0.0','systemCode':'20101','extend':'20101','userLoginName':'su','userPassWord':'123456','reqIP':'192.168.1.1','reqCharSet':'UTF-8','reqTime':'<%=date2%>','chnlCode':'BS','signType':'MD5','signMsg':'test'} Accept-Language: en-US,en;q=0.8,zh-Hans-CN;q=0.5,zh-Hans;q=0.3 Content-Type: application/x-www-form-urlencoded UA-CPU: AMD64 Accept-Encoding: gzip, deflate User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.2; Win64; x64; Trident/7.0; .NET4.0E; .NET4.0C; .NET CLR 3.5.30729; .NET CLR 2.0.50727; .NET CLR 3.0.30729) Host: 192.168.0.2:8080 Content-Length: 152 Connection: Keep-Alive Cache-Control: no-cache Cookie: JSESSIONID=93C8B0FEB138574BC599B3752085F6F8 JSESSIONID=93C8B0FEB138574BC599B3752085F6F8 RESPONSE HEADERS - HTTP/1.1 302 Found Server: Apache-Coyote/1.1 Pragma: no-cache Expires: Thu, 01 Jan 1970 00:00:00 GMT Cache-Control: no-cache Cache-Control: no-store Set-Cookie: CASPRIVACY=""; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/sso Set-Cookie: TGC="vMkEY2tO/Pjru4BAlmW3qNKDtJEZaliCxxih7Du9t43aemLflQqbnCv3V7dIelyt5AHawnGPHaU4n/mqCrJbBm6c6GBMLQuDH1/5YRdEgqqskgmfCpSTe+KTs6j90JMG0302jNe9uXUjZMxGA2/glQ=="; Version=1; Path=/sso Location: http://192.168.0.2:8080/ss1 Content-Type: text/html;charset=UTF-8 Content-Language: en-US Content-Length: 0 Date: Mon, 31 Oct 2016 08:58:46 GMT CASPRIVACY=""; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/sso -------------- http://192.168.0.2:8080/ss1 FROM - http://192.168.0.2:8080/sso/login2;jsessionid=93C8B0FEB138574BC599B3752085F6F8?message={'interfaceVersion':'1.0.0','systemCode':'20101','extend':'20101','userLoginName':'su','userPassWord':'123456','reqIP':'192.168.1.1','reqCharSet':'UTF-8','reqTime':'<%=date2%>','chnlCode':'BS','signType':'MD5','signMsg':'test'} REQUEST HEADERS - GET /ss1 HTTP/1.1 Accept: image/jpeg, application/x-ms-application, image/gif, application/xaml+xml, image/pjpeg, application/x-ms-xbap, */* Referer: http://192.168.0.2:8080/sso/login2?message={'interfaceVersion':'1.0.0','systemCode':'20101','extend':'20101','userLoginName':'su','userPassWord':'123456','reqIP':'192.168.1.1','reqCharSet':'UTF-8','reqTime':'<%=date2%>','chnlCode':'BS','signType':'MD5','signMsg':'test'} Accept-Language: en-US,en;q=0.8,zh-Hans-CN;q=0.5,zh-Hans;q=0.3 UA-CPU: AMD64 Accept-Encoding: gzip, deflate User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.2; Win64; x64; Trident/7.0; .NET4.0E; .NET4.0C; .NET CLR 3.5.30729; .NET CLR 2.0.50727; .NET CLR 3.0.30729) Host: 192.168.0.2:8080 Connection: Keep-Alive Cache-Control: no-cache RESPONSE HEADERS - HTTP/1.1 404 Not Found Server: Apache-Coyote/1.1 Content-Type: text/html;charset=utf-8 Content-Length: 957 Date: Mon, 31 Oct 2016 08:58:46 GMT --------------
大功告成。