資源簡介
HttpWatch Http抓包 C#源碼
操作步驟:
1 打開軟件,選中你的ip地址 點擊 Start
2 打開IE瀏覽器,輸入任意網址 即可監聽請求
代碼片段和文件信息
using?System;
using?System.Collections.Generic;
using?System.Text;
using?System.IO;
namespace?Alibaba.Security.HttpWatch
{
?public???class?Chunk
????{
????????public?static?byte[]?doUnchunk(byte[]?writeData)
????????{
????????????if?((writeData?==?null)?||?(writeData.Length?==?0))
????????????{
????????????????return?new?byte[0];
????????????}
????????????MemoryStream?stream?=?new?MemoryStream(writeData.Length);
????????????int?index?=?0;
????????????bool?flag?=?false;
????????????while?(!flag?&&?(index?<=?(writeData.Length?-?3)))
????????????{
????????????????string?s?=?Encoding.ASCII.GetString(writeData?index?Math.Min(0x20?writeData.Length?-?index));
????????????????int?length?=?s.IndexOf(“\r\n“?StringComparison.Ordinal);
????????????????if?(length?<=?0)
???
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件?????312320??2011-09-28?22:51??obj\Debug\Alibaba.Security.HttpWatch.exe
?????文件??????88556??2011-09-28?22:51??obj\Debug\Alibaba.Security.HttpWatch.Frm_main.resources
?????文件?????316928??2011-09-28?22:51??obj\Debug\Alibaba.Security.HttpWatch.pdb
?????文件????????180??2011-09-28?22:51??obj\Debug\Alibaba.Security.HttpWatch.Properties.Resources.resources
?????文件???????5828??2011-09-28?22:51??obj\Debug\DesignTimeResolveAssemblyReferencesInput.cache
?????文件???????1048??2011-09-28?22:51??obj\Debug\GenerateResource.read.1.tlog
?????文件???????1662??2011-09-28?22:51??obj\Debug\GenerateResource.write.1.tlog
?????文件???????1351??2011-09-28?22:52??obj\Debug\HttpWatch.csproj.FileListAbsolute.txt
?????文件????????180??2011-09-28?22:51??obj\Debug\Standard.ImageInspector.resources
?????文件????????180??2011-09-28?22:51??obj\Debug\SystemMonitor.DataChart.resources
?????文件???????1213??2011-09-28?06:02??Properties\AssemblyInfo.cs
?????文件???????2890??2011-09-28?06:02??Properties\Resources.Designer.cs
?????文件???????5817??2011-09-28?06:02??Properties\Resources.resx
?????文件???????5387??2011-09-28?06:02??Standard\frmPrompt.cs
?????文件??????17439??2011-09-28?06:02??Standard\HexBoxView.cs
?????文件???????6090??2011-09-28?06:02??Standard\HexViewer.cs
?????文件??????18819??2011-09-28?06:02??Standard\ImageInspector.cs
?????文件???????6016??2011-09-28?06:02??Standard\ImageInspector.resx
?????文件???????3253??2011-09-28?06:02??Standard\ImageViewer.cs
?????文件??????15798??2011-09-28?06:02??Standard\TextView.cs
?????文件???????5424??2011-09-28?06:02??Standard\TextViewer.cs
?????文件????????144??2011-09-28?06:02??app.config
?????文件??????86358??2011-09-28?06:02??Burn.ico
?????文件???????2120??2011-09-28?06:02??Chunk.cs
?????文件????????251??2011-09-28?06:02??Config.cs
?????文件??????10208??2011-09-28?06:02??DataChart.cs
?????文件???????5814??2011-09-28?06:02??DataChart.resx
?????文件??????20867??2011-09-28?06:02??DoneWincap.cs
?????文件??????37893??2011-09-28?06:02??Frm_main.cs
?????文件??????31962??2011-09-28?06:02??Frm_main.Designer.cs
............此處省略42個文件信息
評論
共有 條評論