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

资源简介

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

评论

共有 条评论