• 大小: 0.49M
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2020-12-26
  • 语言: C#
  • 标签: http  c  源码  

资源简介

网络抓包工具源码,方便大家使用

资源截图

代码片段和文件信息

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个文件信息

评论

共有 条评论