• 大小: 3.22M
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2020-12-14
  • 语言: C#
  • 标签: 抓包  

资源简介

wifi抓包

资源截图

代码片段和文件信息

using System;
using SharpPcap;
using PacketDotNet;

namespace CapturingAndParsingPackets
{
    class MainClass
    {
        // used to stop the capture loop
        private static bool stopCapturing = false;

        public static void Main(string[] args)
        {
            // Print SharpPcap version
            string ver = SharpPcap.Version.VersionString;
            Console.WriteLine(“PacketDotNet example using SharpPcap {0}“ ver);

            // Retrieve the device list
            var devices = CaptureDeviceList.Instance;

            // If no devices were found print an error
            if(devices.Count < 1)
            {
                Console.WriteLine(“No devices were found on this machine“);
                return;
            }

            Console.WriteLine();
         

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     文件          58  2015-10-23 00:03  .gitignore
     文件        5458  2015-10-23 00:03  ArchitectureNotes
     目录           0  2015-10-23 00:03  Examples\
     目录           0  2016-02-25 17:39  Examples\CapturingAndParsingPackets\
     目录           0  2016-02-25 17:39  Examples\CapturingAndParsingPackets\bin\
     目录           0  2016-02-25 17:41  Examples\CapturingAndParsingPackets\bin\Debug\
     文件        6144  2016-02-25 17:41  Examples\CapturingAndParsingPackets\bin\Debug\CapturingAndParsingPackets.exe
     文件       13824  2016-02-25 17:41  Examples\CapturingAndParsingPackets\bin\Debug\CapturingAndParsingPackets.pdb
     文件      243712  2015-10-23 00:03  Examples\CapturingAndParsingPackets\bin\Debug\log4net.dll
     文件      215040  2016-02-25 17:41  Examples\CapturingAndParsingPackets\bin\Debug\PacketDotNet.dll
     文件      683520  2016-02-25 17:41  Examples\CapturingAndParsingPackets\bin\Debug\PacketDotNet.pdb
     文件       72704  2015-10-23 00:03  Examples\CapturingAndParsingPackets\bin\Debug\SharpPcap.dll
     文件      186730  2015-10-23 00:03  Examples\CapturingAndParsingPackets\bin\Debug\SharpPcap.xml
     文件        2133  2015-10-23 00:03  Examples\CapturingAndParsingPackets\CapturingAndParsingPackets.csproj
     文件        3376  2015-10-23 00:03  Examples\CapturingAndParsingPackets\Main.cs
     目录           0  2016-02-25 17:39  Examples\CapturingAndParsingPackets\obj\
     目录           0  2016-02-25 17:41  Examples\CapturingAndParsingPackets\obj\Debug\
     文件        1402  2016-02-25 17:41  Examples\CapturingAndParsingPackets\obj\Debug\CapturingAndParsingPackets.csproj.FileListAbsolute.txt
     文件       13231  2016-02-25 17:41  Examples\CapturingAndParsingPackets\obj\Debug\CapturingAndParsingPackets.csprojResolveAssemblyReference.cache
     文件        6144  2016-02-25 17:41  Examples\CapturingAndParsingPackets\obj\Debug\CapturingAndParsingPackets.exe
     文件       13824  2016-02-25 17:41  Examples\CapturingAndParsingPackets\obj\Debug\CapturingAndParsingPackets.pdb
     文件        6516  2016-02-25 17:39  Examples\CapturingAndParsingPackets\obj\Debug\DesignTimeResolveAssemblyReferencesInput.cache
     目录           0  2016-02-25 17:39  Examples\CapturingAndParsingPackets\obj\Debug\TempPE\
     目录           0  2016-02-25 17:39  Examples\CapturingAndParsingWiFiPackets\
     文件         114  2015-10-23 00:03  Examples\CapturingAndParsingWiFiPackets\app.config
     目录           0  2016-02-25 17:39  Examples\CapturingAndParsingWiFiPackets\bin\
     目录           0  2016-02-25 17:41  Examples\CapturingAndParsingWiFiPackets\bin\Debug\
     文件        7680  2016-02-25 17:41  Examples\CapturingAndParsingWiFiPackets\bin\Debug\CapturingAndParsingWiFiPackets.exe
     文件         114  2015-10-23 00:03  Examples\CapturingAndParsingWiFiPackets\bin\Debug\CapturingAndParsingWiFiPackets.exe.config
     文件       13824  2016-02-25 17:41  Examples\CapturingAndParsingWiFiPackets\bin\Debug\CapturingAndParsingWiFiPackets.pdb
     文件      243712  2015-10-23 00:03  Examples\CapturingAndParsingWiFiPackets\bin\Debug\log4net.dll
............此处省略390个文件信息

评论

共有 条评论