資源簡介
網絡抓包工具源碼,方便大家使用
代碼片段和文件信息
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)
???
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2017-05-06?11:01??httpwatch\
?????文件?????????144??2011-09-28?06:02??httpwatch\app.config
?????目錄???????????0??2011-09-28?22:49??httpwatch\Be\
?????目錄???????????0??2011-09-28?22:49??httpwatch\Be\Windows\
?????目錄???????????0??2011-09-28?22:49??httpwatch\Be\Windows\Forms\
?????文件????????1953??2011-09-28?06:02??httpwatch\Be\Windows\Forms\ByteCollection.cs
?????文件?????????742??2011-09-28?06:02??httpwatch\Be\Windows\Forms\BytePositionInfo.cs
?????目錄???????????0??2011-09-28?22:49??httpwatch\Be\Windows\Forms\Design\
?????文件????????1640??2011-09-28?06:02??httpwatch\Be\Windows\Forms\Design\HexFontEditor.cs
?????文件????????2619??2011-09-28?06:02??httpwatch\Be\Windows\Forms\DynamicByteProvider.cs
?????文件????????4424??2011-09-28?06:02??httpwatch\Be\Windows\Forms\FileByteProvider.cs
?????文件??????111547??2011-09-28?06:02??httpwatch\Be\Windows\Forms\HexBox.cs
?????文件?????????132??2011-09-28?06:02??httpwatch\Be\Windows\Forms\HexCasing.cs
?????文件?????????624??2011-09-28?06:02??httpwatch\Be\Windows\Forms\IByteProvider.cs
?????文件????????3289??2011-09-28?06:02??httpwatch\Be\Windows\Forms\NativeMethods.cs
?????目錄???????????0??2011-09-28?22:49??httpwatch\bin\
?????目錄???????????0??2011-09-28?22:53??httpwatch\bin\Debug9\
?????文件???????????0??2011-09-28?22:49??httpwatch\bin\Debug9\20110928_debug_.txt
?????文件???????????0??2011-09-28?22:49??httpwatch\bin\Debug9\20110928_log.txt
?????文件??????312320??2011-09-28?22:51??httpwatch\bin\Debug9\Alibaba.Security.HttpWatch.exe
?????文件?????????144??2011-09-28?06:02??httpwatch\bin\Debug9\Alibaba.Security.HttpWatch.exe.config
?????文件??????316928??2011-09-28?22:51??httpwatch\bin\Debug9\Alibaba.Security.HttpWatch.pdb
?????文件???????11592??2011-09-28?22:52??httpwatch\bin\Debug9\Alibaba.Security.HttpWatch.vshost.exe
?????文件?????????144??2011-09-28?06:02??httpwatch\bin\Debug9\Alibaba.Security.HttpWatch.vshost.exe.config
?????文件???????86358??2011-09-28?06:02??httpwatch\Burn.ico
?????文件????????2120??2011-09-28?06:02??httpwatch\Chunk.cs
?????文件?????????251??2011-09-28?06:02??httpwatch\Config.cs
?????文件???????10208??2011-09-28?06:02??httpwatch\DataChart.cs
?????文件????????5814??2011-09-28?06:02??httpwatch\DataChart.resx
?????文件???????20867??2011-09-28?06:02??httpwatch\DoneWincap.cs
?????文件???????37893??2011-09-28?06:02??httpwatch\Frm_main.cs
............此處省略39個文件信息
評論
共有 條評論