├── NDIS 6.30 ├── NdisCoreApi │ ├── 源.cpp │ ├── Define.h │ ├── targetver.h │ ├── NdisCoreApi.cpp │ ├── NdisCoreApi.vcxproj.user │ ├── ReadMe.txt │ ├── NdisCoreApi.vcxproj.filters │ ├── NdisCoreApi.h │ └── NdisCoreApi.vcxproj ├── NetMonitor │ ├── NetMonitor │ │ ├── NetMonitor.h │ │ ├── Ui.h │ │ ├── main.cpp │ │ ├── ControlApi.h │ │ ├── Winproc.cpp │ │ ├── res │ │ │ ├── 100.ico │ │ │ ├── 103.ico │ │ │ ├── 106.ico │ │ │ ├── Arch-Vile.bmp │ │ │ └── bitmap3.bmp │ │ ├── resource.h │ │ ├── targetver.h │ │ ├── ControlApi.cpp │ │ ├── NetMonitor.aps │ │ ├── NetMonitor.rc │ │ ├── global.h │ │ ├── Paint.h │ │ ├── Winproc.h │ │ ├── ReadMe.txt │ │ ├── NetMonitor.vcxproj.filters │ │ ├── Paint.cpp │ │ └── NetMonitor.vcxproj │ └── NetMonitor.sln ├── DNS解析.png ├── 效果图.png ├── GUl效果图.png ├── 内网扫描与攻击.png ├── MY NDIS 6.0 │ ├── 1.cat │ ├── Devio.h │ ├── Init.c │ ├── Filter.c │ ├── Struct.h │ ├── Packetcpy.h │ ├── MyDriver7.vcxproj.user │ ├── Filter.h │ ├── MyDriver7.vcxproj.filters │ ├── MyDriver7.vcxproj │ └── MyDriver7.inf ├── ConsoleTest │ ├── stdafx.h │ ├── stdafx.cpp │ ├── targetver.h │ ├── ConsoleTest.cpp │ ├── ReadMe.txt │ ├── ConsoleTest.vcxproj.filters │ └── ConsoleTest.vcxproj ├── RawPacketAnalysis │ ├── stdafx.h │ ├── stdafx.cpp │ ├── targetver.h │ ├── PacketInfo.h │ ├── Networks_User.h │ ├── RawPacketAnalysis.cpp │ ├── RawPacketAnalysis.h │ ├── ReadMe.txt │ ├── RawPacketAnalysis.vcxproj.filters │ └── RawPacketAnalysis.vcxproj ├── 56XA5{0P1`0V7EGSF{_IYZ3.png ├── IXZT0662%DEKUKTU1~M95JF.png ├── LG(TSOL~{{7{]7BEUB4LU[I.png ├── 发包测试程序(发送ARP包) │ ├── ConsoleApplication3 │ │ ├── stdafx.h │ │ ├── stdafx.cpp │ │ ├── targetver.h │ │ ├── ConsoleApplication3.cpp │ │ ├── ReadMe.txt │ │ ├── ConsoleApplication3.vcxproj.filters │ │ └── ConsoleApplication3.vcxproj │ └── ConsoleApplication3.sln ├── MyDriver7.sln └── LICENSE.txt ├── .gitattributes ├── .gitignore ├── README.md └── API.md /NDIS 6.30/NdisCoreApi/源.cpp: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /NDIS 6.30/NetMonitor/NetMonitor/NetMonitor.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "resource.h" 4 | -------------------------------------------------------------------------------- /NDIS 6.30/DNS解析.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Iamgublin/NDIS6.30-NetMonitor/HEAD/NDIS 6.30/DNS解析.png -------------------------------------------------------------------------------- /NDIS 6.30/效果图.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Iamgublin/NDIS6.30-NetMonitor/HEAD/NDIS 6.30/效果图.png -------------------------------------------------------------------------------- /NDIS 6.30/GUl效果图.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Iamgublin/NDIS6.30-NetMonitor/HEAD/NDIS 6.30/GUl效果图.png -------------------------------------------------------------------------------- /NDIS 6.30/内网扫描与攻击.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Iamgublin/NDIS6.30-NetMonitor/HEAD/NDIS 6.30/内网扫描与攻击.png -------------------------------------------------------------------------------- /NDIS 6.30/MY NDIS 6.0/1.cat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Iamgublin/NDIS6.30-NetMonitor/HEAD/NDIS 6.30/MY NDIS 6.0/1.cat -------------------------------------------------------------------------------- /NDIS 6.30/MY NDIS 6.0/Devio.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Iamgublin/NDIS6.30-NetMonitor/HEAD/NDIS 6.30/MY NDIS 6.0/Devio.h -------------------------------------------------------------------------------- /NDIS 6.30/MY NDIS 6.0/Init.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Iamgublin/NDIS6.30-NetMonitor/HEAD/NDIS 6.30/MY NDIS 6.0/Init.c -------------------------------------------------------------------------------- /NDIS 6.30/ConsoleTest/stdafx.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Iamgublin/NDIS6.30-NetMonitor/HEAD/NDIS 6.30/ConsoleTest/stdafx.h -------------------------------------------------------------------------------- /NDIS 6.30/MY NDIS 6.0/Filter.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Iamgublin/NDIS6.30-NetMonitor/HEAD/NDIS 6.30/MY NDIS 6.0/Filter.c -------------------------------------------------------------------------------- /NDIS 6.30/MY NDIS 6.0/Struct.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Iamgublin/NDIS6.30-NetMonitor/HEAD/NDIS 6.30/MY NDIS 6.0/Struct.h -------------------------------------------------------------------------------- /NDIS 6.30/NdisCoreApi/Define.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Iamgublin/NDIS6.30-NetMonitor/HEAD/NDIS 6.30/NdisCoreApi/Define.h -------------------------------------------------------------------------------- /NDIS 6.30/ConsoleTest/stdafx.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Iamgublin/NDIS6.30-NetMonitor/HEAD/NDIS 6.30/ConsoleTest/stdafx.cpp -------------------------------------------------------------------------------- /NDIS 6.30/ConsoleTest/targetver.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Iamgublin/NDIS6.30-NetMonitor/HEAD/NDIS 6.30/ConsoleTest/targetver.h -------------------------------------------------------------------------------- /NDIS 6.30/MY NDIS 6.0/Packetcpy.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Iamgublin/NDIS6.30-NetMonitor/HEAD/NDIS 6.30/MY NDIS 6.0/Packetcpy.h -------------------------------------------------------------------------------- /NDIS 6.30/NdisCoreApi/targetver.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Iamgublin/NDIS6.30-NetMonitor/HEAD/NDIS 6.30/NdisCoreApi/targetver.h -------------------------------------------------------------------------------- /NDIS 6.30/NetMonitor/NetMonitor/Ui.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Iamgublin/NDIS6.30-NetMonitor/HEAD/NDIS 6.30/NetMonitor/NetMonitor/Ui.h -------------------------------------------------------------------------------- /NDIS 6.30/RawPacketAnalysis/stdafx.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Iamgublin/NDIS6.30-NetMonitor/HEAD/NDIS 6.30/RawPacketAnalysis/stdafx.h -------------------------------------------------------------------------------- /NDIS 6.30/56XA5{0P1`0V7EGSF{_IYZ3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Iamgublin/NDIS6.30-NetMonitor/HEAD/NDIS 6.30/56XA5{0P1`0V7EGSF{_IYZ3.png -------------------------------------------------------------------------------- /NDIS 6.30/ConsoleTest/ConsoleTest.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Iamgublin/NDIS6.30-NetMonitor/HEAD/NDIS 6.30/ConsoleTest/ConsoleTest.cpp -------------------------------------------------------------------------------- /NDIS 6.30/IXZT0662%DEKUKTU1~M95JF.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Iamgublin/NDIS6.30-NetMonitor/HEAD/NDIS 6.30/IXZT0662%DEKUKTU1~M95JF.png -------------------------------------------------------------------------------- /NDIS 6.30/LG(TSOL~{{7{]7BEUB4LU[I.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Iamgublin/NDIS6.30-NetMonitor/HEAD/NDIS 6.30/LG(TSOL~{{7{]7BEUB4LU[I.png -------------------------------------------------------------------------------- /NDIS 6.30/NdisCoreApi/NdisCoreApi.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Iamgublin/NDIS6.30-NetMonitor/HEAD/NDIS 6.30/NdisCoreApi/NdisCoreApi.cpp -------------------------------------------------------------------------------- /NDIS 6.30/RawPacketAnalysis/stdafx.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Iamgublin/NDIS6.30-NetMonitor/HEAD/NDIS 6.30/RawPacketAnalysis/stdafx.cpp -------------------------------------------------------------------------------- /NDIS 6.30/RawPacketAnalysis/targetver.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Iamgublin/NDIS6.30-NetMonitor/HEAD/NDIS 6.30/RawPacketAnalysis/targetver.h -------------------------------------------------------------------------------- /NDIS 6.30/NetMonitor/NetMonitor/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Iamgublin/NDIS6.30-NetMonitor/HEAD/NDIS 6.30/NetMonitor/NetMonitor/main.cpp -------------------------------------------------------------------------------- /NDIS 6.30/RawPacketAnalysis/PacketInfo.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Iamgublin/NDIS6.30-NetMonitor/HEAD/NDIS 6.30/RawPacketAnalysis/PacketInfo.h -------------------------------------------------------------------------------- /NDIS 6.30/NetMonitor/NetMonitor/ControlApi.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Iamgublin/NDIS6.30-NetMonitor/HEAD/NDIS 6.30/NetMonitor/NetMonitor/ControlApi.h -------------------------------------------------------------------------------- /NDIS 6.30/NetMonitor/NetMonitor/Winproc.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Iamgublin/NDIS6.30-NetMonitor/HEAD/NDIS 6.30/NetMonitor/NetMonitor/Winproc.cpp -------------------------------------------------------------------------------- /NDIS 6.30/NetMonitor/NetMonitor/res/100.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Iamgublin/NDIS6.30-NetMonitor/HEAD/NDIS 6.30/NetMonitor/NetMonitor/res/100.ico -------------------------------------------------------------------------------- /NDIS 6.30/NetMonitor/NetMonitor/res/103.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Iamgublin/NDIS6.30-NetMonitor/HEAD/NDIS 6.30/NetMonitor/NetMonitor/res/103.ico -------------------------------------------------------------------------------- /NDIS 6.30/NetMonitor/NetMonitor/res/106.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Iamgublin/NDIS6.30-NetMonitor/HEAD/NDIS 6.30/NetMonitor/NetMonitor/res/106.ico -------------------------------------------------------------------------------- /NDIS 6.30/NetMonitor/NetMonitor/resource.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Iamgublin/NDIS6.30-NetMonitor/HEAD/NDIS 6.30/NetMonitor/NetMonitor/resource.h -------------------------------------------------------------------------------- /NDIS 6.30/NetMonitor/NetMonitor/targetver.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Iamgublin/NDIS6.30-NetMonitor/HEAD/NDIS 6.30/NetMonitor/NetMonitor/targetver.h -------------------------------------------------------------------------------- /NDIS 6.30/RawPacketAnalysis/Networks_User.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Iamgublin/NDIS6.30-NetMonitor/HEAD/NDIS 6.30/RawPacketAnalysis/Networks_User.h -------------------------------------------------------------------------------- /NDIS 6.30/NetMonitor/NetMonitor/ControlApi.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Iamgublin/NDIS6.30-NetMonitor/HEAD/NDIS 6.30/NetMonitor/NetMonitor/ControlApi.cpp -------------------------------------------------------------------------------- /NDIS 6.30/NetMonitor/NetMonitor/NetMonitor.aps: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Iamgublin/NDIS6.30-NetMonitor/HEAD/NDIS 6.30/NetMonitor/NetMonitor/NetMonitor.aps -------------------------------------------------------------------------------- /NDIS 6.30/NetMonitor/NetMonitor/NetMonitor.rc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Iamgublin/NDIS6.30-NetMonitor/HEAD/NDIS 6.30/NetMonitor/NetMonitor/NetMonitor.rc -------------------------------------------------------------------------------- /NDIS 6.30/NetMonitor/NetMonitor/res/Arch-Vile.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Iamgublin/NDIS6.30-NetMonitor/HEAD/NDIS 6.30/NetMonitor/NetMonitor/res/Arch-Vile.bmp -------------------------------------------------------------------------------- /NDIS 6.30/NetMonitor/NetMonitor/res/bitmap3.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Iamgublin/NDIS6.30-NetMonitor/HEAD/NDIS 6.30/NetMonitor/NetMonitor/res/bitmap3.bmp -------------------------------------------------------------------------------- /NDIS 6.30/RawPacketAnalysis/RawPacketAnalysis.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Iamgublin/NDIS6.30-NetMonitor/HEAD/NDIS 6.30/RawPacketAnalysis/RawPacketAnalysis.cpp -------------------------------------------------------------------------------- /NDIS 6.30/发包测试程序(发送ARP包)/ConsoleApplication3/stdafx.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Iamgublin/NDIS6.30-NetMonitor/HEAD/NDIS 6.30/发包测试程序(发送ARP包)/ConsoleApplication3/stdafx.h -------------------------------------------------------------------------------- /NDIS 6.30/发包测试程序(发送ARP包)/ConsoleApplication3/stdafx.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Iamgublin/NDIS6.30-NetMonitor/HEAD/NDIS 6.30/发包测试程序(发送ARP包)/ConsoleApplication3/stdafx.cpp -------------------------------------------------------------------------------- /NDIS 6.30/发包测试程序(发送ARP包)/ConsoleApplication3/targetver.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Iamgublin/NDIS6.30-NetMonitor/HEAD/NDIS 6.30/发包测试程序(发送ARP包)/ConsoleApplication3/targetver.h -------------------------------------------------------------------------------- /NDIS 6.30/NetMonitor/NetMonitor/global.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | #include 3 | #include"Ui.h" 4 | #include"NetMonitor.h" 5 | #include 6 | #include 7 | #include -------------------------------------------------------------------------------- /NDIS 6.30/NetMonitor/NetMonitor/Paint.h: -------------------------------------------------------------------------------- 1 | #include "global.h" 2 | #include "ControlApi.h" 3 | bool Paint(HWND hwnd); 4 | void InitAttackTreeView(HWND TreeView); 5 | void InitSelCardTreeView(HWND TreeView); -------------------------------------------------------------------------------- /NDIS 6.30/发包测试程序(发送ARP包)/ConsoleApplication3/ConsoleApplication3.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Iamgublin/NDIS6.30-NetMonitor/HEAD/NDIS 6.30/发包测试程序(发送ARP包)/ConsoleApplication3/ConsoleApplication3.cpp -------------------------------------------------------------------------------- /NDIS 6.30/NdisCoreApi/NdisCoreApi.vcxproj.user: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /NDIS 6.30/MY NDIS 6.0/MyDriver7.vcxproj.user: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | TestSign 5 | 6 | 7 | TestSign 8 | 9 | -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- 1 | # Auto detect text files and perform LF normalization 2 | * text=auto 3 | 4 | # Custom for Visual Studio 5 | *.cs diff=csharp 6 | 7 | # Standard to msysgit 8 | *.doc diff=astextplain 9 | *.DOC diff=astextplain 10 | *.docx diff=astextplain 11 | *.DOCX diff=astextplain 12 | *.dot diff=astextplain 13 | *.DOT diff=astextplain 14 | *.pdf diff=astextplain 15 | *.PDF diff=astextplain 16 | *.rtf diff=astextplain 17 | *.RTF diff=astextplain 18 | -------------------------------------------------------------------------------- /NDIS 6.30/NetMonitor/NetMonitor/Winproc.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | #include"global.h" 3 | #include "Paint.h" 4 | #include"..\..\NdisCoreApi\NdisCoreApi.h" 5 | #include"..\..\RawPacketAnalysis\RawPacketAnalysis.h" 6 | #include"ControlApi.h" 7 | #pragma comment(lib,"..\\..\\lib\\RawPacketAnalysis.lib") 8 | #pragma comment(lib,"..\\..\\lib\\NdisCoreApi.lib") 9 | LRESULT CALLBACK WndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam); 10 | INT_PTR CALLBACK About(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam); 11 | extern char pro[15][8]; 12 | extern BOOL InitLvHead(HWND ListView); 13 | extern int AdapterNum; 14 | extern int StartIndex; 15 | -------------------------------------------------------------------------------- /NDIS 6.30/MY NDIS 6.0/Filter.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | #include"Struct.h" 3 | extern FILTER_SET_OPTIONS FilterSetOptions; 4 | extern FILTER_SET_MODULE_OPTIONS FilterSetModuleOptions; 5 | extern FILTER_ATTACH FilterAttach; 6 | extern FILTER_DETACH FilterDetach; 7 | extern FILTER_RESTART FilterRestart; 8 | extern FILTER_PAUSE FilterPause; 9 | extern FILTER_SEND_NET_BUFFER_LISTS FilterSendNetBufferLists; 10 | extern FILTER_SEND_NET_BUFFER_LISTS_COMPLETE FilterSendNetBufferListsComplete; 11 | extern FILTER_CANCEL_SEND_NET_BUFFER_LISTS FilterCancelSendNetBufferLists; 12 | extern FILTER_RECEIVE_NET_BUFFER_LISTS FilterReceiveNetBufferLists; 13 | extern FILTER_RETURN_NET_BUFFER_LISTS FilterReturnNetBufferLists; 14 | extern FILTER_NET_PNP_EVENT FilterNetPnPEvent; 15 | extern FILTER_STATUS FilterStatus; 16 | 17 | 18 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # Windows image file caches 2 | Thumbs.db 3 | ehthumbs.db 4 | 5 | # Folder config file 6 | Desktop.ini 7 | 8 | # Recycle Bin used on file shares 9 | $RECYCLE.BIN/ 10 | 11 | # Windows Installer files 12 | *.cab 13 | *.msi 14 | *.msm 15 | *.msp 16 | 17 | # Windows shortcuts 18 | *.lnk 19 | 20 | # ========================= 21 | # Operating System Files 22 | # ========================= 23 | 24 | # OSX 25 | # ========================= 26 | 27 | .DS_Store 28 | .AppleDouble 29 | .LSOverride 30 | 31 | # Thumbnails 32 | ._* 33 | 34 | # Files that might appear in the root of a volume 35 | .DocumentRevisions-V100 36 | .fseventsd 37 | .Spotlight-V100 38 | .TemporaryItems 39 | .Trashes 40 | .VolumeIcon.icns 41 | 42 | # Directories potentially created on remote AFP share 43 | .AppleDB 44 | .AppleDesktop 45 | Network Trash Folder 46 | Temporary Items 47 | .apdisk 48 | -------------------------------------------------------------------------------- /NDIS 6.30/ConsoleTest/ReadMe.txt: -------------------------------------------------------------------------------- 1 | ======================================================================== 2 | 控制台应用程序:ConsoleTest 项目概述 3 | ======================================================================== 4 | 5 | 应用程序向导已为您创建了此 ConsoleTest 应用程序。 6 | 7 | 本文件概要介绍组成 ConsoleTest 应用程序的每个文件的内容。 8 | 9 | 10 | ConsoleTest.vcxproj 11 | 这是使用应用程序向导生成的 VC++ 项目的主项目文件,其中包含生成该文件的 Visual C++ 的版本信息,以及有关使用应用程序向导选择的平台、配置和项目功能的信息。 12 | 13 | ConsoleTest.vcxproj.filters 14 | 这是使用“应用程序向导”生成的 VC++ 项目筛选器文件。它包含有关项目文件与筛选器之间的关联信息。在 IDE 中,通过这种关联,在特定节点下以分组形式显示具有相似扩展名的文件。例如,“.cpp”文件与“源文件”筛选器关联。 15 | 16 | ConsoleTest.cpp 17 | 这是主应用程序源文件。 18 | 19 | ///////////////////////////////////////////////////////////////////////////// 20 | 其他标准文件: 21 | 22 | StdAfx.h, StdAfx.cpp 23 | 这些文件用于生成名为 ConsoleTest.pch 的预编译头 (PCH) 文件和名为 StdAfx.obj 的预编译类型文件。 24 | 25 | ///////////////////////////////////////////////////////////////////////////// 26 | 其他注释: 27 | 28 | 应用程序向导使用“TODO:”注释来指示应添加或自定义的源代码部分。 29 | 30 | ///////////////////////////////////////////////////////////////////////////// 31 | -------------------------------------------------------------------------------- /NDIS 6.30/NdisCoreApi/ReadMe.txt: -------------------------------------------------------------------------------- 1 | ======================================================================== 2 | 动态链接库:NdisCoreApi 项目概述 3 | ======================================================================== 4 | 5 | 应用程序向导已为您创建了此 NdisCoreApi DLL。 6 | 7 | 本文件概要介绍组成 NdisCoreApi 应用程序的每个文件的内容。 8 | 9 | 10 | NdisCoreApi.vcxproj 11 | 这是使用应用程序向导生成的 VC++ 项目的主项目文件,其中包含生成该文件的 Visual C++ 的版本信息,以及有关使用应用程序向导选择的平台、配置和项目功能的信息。 12 | 13 | NdisCoreApi.vcxproj.filters 14 | 这是使用“应用程序向导”生成的 VC++ 项目筛选器文件。它包含有关项目文件与筛选器之间的关联信息。在 IDE 中,通过这种关联,在特定节点下以分组形式显示具有相似扩展名的文件。例如,“.cpp”文件与“源文件”筛选器关联。 15 | 16 | NdisCoreApi.cpp 17 | 这是主 DLL 源文件。 18 | 19 | ///////////////////////////////////////////////////////////////////////////// 20 | 其他标准文件: 21 | 22 | StdAfx.h, StdAfx.cpp 23 | 这些文件用于生成名为 NdisCoreApi.pch 的预编译头 (PCH) 文件和名为 StdAfx.obj 的预编译类型文件。 24 | 25 | ///////////////////////////////////////////////////////////////////////////// 26 | 其他注释: 27 | 28 | 应用程序向导使用“TODO:”注释来指示应添加或自定义的源代码部分。 29 | 30 | ///////////////////////////////////////////////////////////////////////////// 31 | -------------------------------------------------------------------------------- /NDIS 6.30/RawPacketAnalysis/RawPacketAnalysis.h: -------------------------------------------------------------------------------- 1 | /******************************************************************************** 2 | * * 3 | * RawPacketAnalysis.h -- Raw Packet Analyse * 4 | * * 5 | * Copyright (c) Arch-Vile. All rights reserved. * 6 | * * 7 | ********************************************************************************/ 8 | #pragma once 9 | 10 | #ifndef _APIRAWANA_ 11 | #define _APIRAWANA_ 12 | #include 13 | #include"../NdisCoreApi/define.h" 14 | #include"PacketInfo.h" 15 | #ifdef RAWPACKETANALYSIS_EXPORTS 16 | #define RAWPACKETANALYSIS_API __declspec(dllexport) 17 | #else 18 | #define RAWPACKETANALYSIS_API __declspec(dllimport) 19 | #endif 20 | 21 | RAWPACKETANALYSIS_API 22 | int 23 | AnalysePacket( 24 | _In_ PIO_Packet Packet, 25 | _Inout_ PPacketInfo Info 26 | ); 27 | #endif //_APIRAWANA_ 28 | -------------------------------------------------------------------------------- /NDIS 6.30/RawPacketAnalysis/ReadMe.txt: -------------------------------------------------------------------------------- 1 | ======================================================================== 2 | 动态链接库:RawPacketAnalysis 项目概述 3 | ======================================================================== 4 | 5 | 应用程序向导已为您创建了此 RawPacketAnalysis DLL。 6 | 7 | 本文件概要介绍组成 RawPacketAnalysis 应用程序的每个文件的内容。 8 | 9 | 10 | RawPacketAnalysis.vcxproj 11 | 这是使用应用程序向导生成的 VC++ 项目的主项目文件,其中包含生成该文件的 Visual C++ 的版本信息,以及有关使用应用程序向导选择的平台、配置和项目功能的信息。 12 | 13 | RawPacketAnalysis.vcxproj.filters 14 | 这是使用“应用程序向导”生成的 VC++ 项目筛选器文件。它包含有关项目文件与筛选器之间的关联信息。在 IDE 中,通过这种关联,在特定节点下以分组形式显示具有相似扩展名的文件。例如,“.cpp”文件与“源文件”筛选器关联。 15 | 16 | RawPacketAnalysis.cpp 17 | 这是主 DLL 源文件。 18 | 19 | ///////////////////////////////////////////////////////////////////////////// 20 | 其他标准文件: 21 | 22 | StdAfx.h, StdAfx.cpp 23 | 这些文件用于生成名为 RawPacketAnalysis.pch 的预编译头 (PCH) 文件和名为 StdAfx.obj 的预编译类型文件。 24 | 25 | ///////////////////////////////////////////////////////////////////////////// 26 | 其他注释: 27 | 28 | 应用程序向导使用“TODO:”注释来指示应添加或自定义的源代码部分。 29 | 30 | ///////////////////////////////////////////////////////////////////////////// 31 | -------------------------------------------------------------------------------- /NDIS 6.30/发包测试程序(发送ARP包)/ConsoleApplication3/ReadMe.txt: -------------------------------------------------------------------------------- 1 | ======================================================================== 2 | 控制台应用程序:ConsoleApplication3 项目概述 3 | ======================================================================== 4 | 5 | 应用程序向导已为您创建了此 ConsoleApplication3 应用程序。 6 | 7 | 本文件概要介绍组成 ConsoleApplication3 应用程序的每个文件的内容。 8 | 9 | 10 | ConsoleApplication3.vcxproj 11 | 这是使用应用程序向导生成的 VC++ 项目的主项目文件,其中包含生成该文件的 Visual C++ 的版本信息,以及有关使用应用程序向导选择的平台、配置和项目功能的信息。 12 | 13 | ConsoleApplication3.vcxproj.filters 14 | 这是使用“应用程序向导”生成的 VC++ 项目筛选器文件。它包含有关项目文件与筛选器之间的关联信息。在 IDE 中,通过这种关联,在特定节点下以分组形式显示具有相似扩展名的文件。例如,“.cpp”文件与“源文件”筛选器关联。 15 | 16 | ConsoleApplication3.cpp 17 | 这是主应用程序源文件。 18 | 19 | ///////////////////////////////////////////////////////////////////////////// 20 | 其他标准文件: 21 | 22 | StdAfx.h, StdAfx.cpp 23 | 这些文件用于生成名为 ConsoleApplication3.pch 的预编译头 (PCH) 文件和名为 StdAfx.obj 的预编译类型文件。 24 | 25 | ///////////////////////////////////////////////////////////////////////////// 26 | 其他注释: 27 | 28 | 应用程序向导使用“TODO:”注释来指示应添加或自定义的源代码部分。 29 | 30 | ///////////////////////////////////////////////////////////////////////////// 31 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | NDIS6.30-NetMonitor 2 | ============= 3 | 主要内容 4 | --------------- 5 | 1. [NDIS 6.30](https://github.com/Iamgublin/C-and-assemble/tree/master/NDIS%206.30):一个基于NDIS 6.30的数据包过滤函数库,支持数据包过滤分析以及自定义数据包API(尚未文档化),包括基于NDIS 6.30核心代码(MY NDIS 6.0),数据分析(RawPacketAnalysis),以及驱动控制的API(NdisCoreApi)。ConsoleTest为控制台形式的示例程序。[发包测试程序(发送ARP包)](https://github.com/Iamgublin/NDIS6.30-NetMonitor/tree/master/NDIS%206.30/%E5%8F%91%E5%8C%85%E6%B5%8B%E8%AF%95%E7%A8%8B%E5%BA%8F%EF%BC%88%E5%8F%91%E9%80%81ARP%E5%8C%85%EF%BC%89)项目可以很好的展示如何利用这个库进行发包。`NDIS 6.30的驱动只能够在win8和以上的操作系统运行!`
6 | 7 | 从左到右分别为:源地址,目的地址,包大小,协议类型,详细信息 8 | ![效果图](https://github.com/Iamgublin/NDIS6.30-NetMonitor/blob/master/NDIS%206.30/效果图.png) 9 | 10 | 2017年4月17日更新:设计了GUI界面 11 | ![效果图](https://github.com/Iamgublin/NDIS6.30-NetMonitor/blob/master/NDIS%206.30/GUl效果图.png) 12 | 13 | 14 | 2017年4月30日更新:支持内网扫描与ARP攻击 15 | ![效果图](https://github.com/Iamgublin/NDIS6.30-NetMonitor/blob/master/NDIS%206.30/内网扫描与攻击.png) 16 | 17 | 2017年5月25日:修复了IP扫描BUG 18 | 19 | 20 | 2017年9月24日:修改了PacketInfo的结构,与底层的结构统一了,同时修复了一个驱动bug 21 | 22 | 23 | 2018年4月30日:修复IP TCP数据不正确的问题,现在可以拦截DNS数据包了 24 | ![DNS解析](https://github.com/Iamgublin/NDIS6.30-NetMonitor/blob/master/NDIS%206.30/DNS解析.png) -------------------------------------------------------------------------------- /NDIS 6.30/NetMonitor/NetMonitor.sln: -------------------------------------------------------------------------------- 1 | 2 | Microsoft Visual Studio Solution File, Format Version 12.00 3 | # Visual Studio 14 4 | VisualStudioVersion = 14.0.25420.1 5 | MinimumVisualStudioVersion = 10.0.40219.1 6 | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "NetMonitor", "NetMonitor\NetMonitor.vcxproj", "{ED266BD3-4617-45A3-957D-076715A25A72}" 7 | EndProject 8 | Global 9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 10 | Debug|x64 = Debug|x64 11 | Debug|x86 = Debug|x86 12 | Release|x64 = Release|x64 13 | Release|x86 = Release|x86 14 | EndGlobalSection 15 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 16 | {ED266BD3-4617-45A3-957D-076715A25A72}.Debug|x64.ActiveCfg = Debug|x64 17 | {ED266BD3-4617-45A3-957D-076715A25A72}.Debug|x64.Build.0 = Debug|x64 18 | {ED266BD3-4617-45A3-957D-076715A25A72}.Debug|x86.ActiveCfg = Debug|Win32 19 | {ED266BD3-4617-45A3-957D-076715A25A72}.Debug|x86.Build.0 = Debug|Win32 20 | {ED266BD3-4617-45A3-957D-076715A25A72}.Release|x64.ActiveCfg = Release|x64 21 | {ED266BD3-4617-45A3-957D-076715A25A72}.Release|x64.Build.0 = Release|x64 22 | {ED266BD3-4617-45A3-957D-076715A25A72}.Release|x86.ActiveCfg = Release|Win32 23 | {ED266BD3-4617-45A3-957D-076715A25A72}.Release|x86.Build.0 = Release|Win32 24 | EndGlobalSection 25 | GlobalSection(SolutionProperties) = preSolution 26 | HideSolutionNode = FALSE 27 | EndGlobalSection 28 | EndGlobal 29 | -------------------------------------------------------------------------------- /NDIS 6.30/ConsoleTest/ConsoleTest.vcxproj.filters: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | {4FC737F1-C7A5-4376-A066-2A32D752A2FF} 6 | cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx 7 | 8 | 9 | {93995380-89BD-4b04-88EB-625FBE52EBFB} 10 | h;hh;hpp;hxx;hm;inl;inc;xsd 11 | 12 | 13 | {67DA6AB6-F800-4c08-8B7A-83BB121AAD01} 14 | rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 头文件 23 | 24 | 25 | 头文件 26 | 27 | 28 | 29 | 30 | 源文件 31 | 32 | 33 | 源文件 34 | 35 | 36 | -------------------------------------------------------------------------------- /NDIS 6.30/发包测试程序(发送ARP包)/ConsoleApplication3.sln: -------------------------------------------------------------------------------- 1 | 2 | Microsoft Visual Studio Solution File, Format Version 12.00 3 | # Visual Studio 14 4 | VisualStudioVersion = 14.0.25420.1 5 | MinimumVisualStudioVersion = 10.0.40219.1 6 | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "ConsoleApplication3", "ConsoleApplication3\ConsoleApplication3.vcxproj", "{82AF6EF4-F7CB-45E0-9C9C-A4B53A739F93}" 7 | EndProject 8 | Global 9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 10 | Debug|x64 = Debug|x64 11 | Debug|x86 = Debug|x86 12 | Release|x64 = Release|x64 13 | Release|x86 = Release|x86 14 | EndGlobalSection 15 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 16 | {82AF6EF4-F7CB-45E0-9C9C-A4B53A739F93}.Debug|x64.ActiveCfg = Debug|x64 17 | {82AF6EF4-F7CB-45E0-9C9C-A4B53A739F93}.Debug|x64.Build.0 = Debug|x64 18 | {82AF6EF4-F7CB-45E0-9C9C-A4B53A739F93}.Debug|x86.ActiveCfg = Debug|Win32 19 | {82AF6EF4-F7CB-45E0-9C9C-A4B53A739F93}.Debug|x86.Build.0 = Debug|Win32 20 | {82AF6EF4-F7CB-45E0-9C9C-A4B53A739F93}.Release|x64.ActiveCfg = Release|x64 21 | {82AF6EF4-F7CB-45E0-9C9C-A4B53A739F93}.Release|x64.Build.0 = Release|x64 22 | {82AF6EF4-F7CB-45E0-9C9C-A4B53A739F93}.Release|x86.ActiveCfg = Release|Win32 23 | {82AF6EF4-F7CB-45E0-9C9C-A4B53A739F93}.Release|x86.Build.0 = Release|Win32 24 | EndGlobalSection 25 | GlobalSection(SolutionProperties) = preSolution 26 | HideSolutionNode = FALSE 27 | EndGlobalSection 28 | EndGlobal 29 | -------------------------------------------------------------------------------- /NDIS 6.30/发包测试程序(发送ARP包)/ConsoleApplication3/ConsoleApplication3.vcxproj.filters: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | {4FC737F1-C7A5-4376-A066-2A32D752A2FF} 6 | cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx 7 | 8 | 9 | {93995380-89BD-4b04-88EB-625FBE52EBFB} 10 | h;hh;hpp;hxx;hm;inl;inc;xsd 11 | 12 | 13 | {67DA6AB6-F800-4c08-8B7A-83BB121AAD01} 14 | rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 头文件 23 | 24 | 25 | 头文件 26 | 27 | 28 | 29 | 30 | 源文件 31 | 32 | 33 | 源文件 34 | 35 | 36 | -------------------------------------------------------------------------------- /NDIS 6.30/NdisCoreApi/NdisCoreApi.vcxproj.filters: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | {4FC737F1-C7A5-4376-A066-2A32D752A2FF} 6 | cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx 7 | 8 | 9 | {93995380-89BD-4b04-88EB-625FBE52EBFB} 10 | h;hh;hpp;hxx;hm;inl;inc;xsd 11 | 12 | 13 | {67DA6AB6-F800-4c08-8B7A-83BB121AAD01} 14 | rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 头文件 23 | 24 | 25 | 头文件 26 | 27 | 28 | 头文件 29 | 30 | 31 | 32 | 33 | 源文件 34 | 35 | 36 | 源文件 37 | 38 | 39 | -------------------------------------------------------------------------------- /NDIS 6.30/NetMonitor/NetMonitor/ReadMe.txt: -------------------------------------------------------------------------------- 1 | ======================================================================== 2 | WIN32 应用程序:NetMonitor 项目概述 3 | ======================================================================== 4 | 5 | 应用程序向导已为您创建了此 NetMonitor 应用程序。 6 | 7 | 本文件概要介绍组成 NetMonitor 应用程序的每个文件的内容。 8 | 9 | 10 | NetMonitor.vcxproj 11 | 这是使用应用程序向导生成的 VC++ 项目的主项目文件,其中包含生成该文件的 Visual C++ 的版本信息,以及有关使用应用程序向导选择的平台、配置和项目功能的信息。 12 | 13 | NetMonitor.vcxproj.filters 14 | 这是使用“应用程序向导”生成的 VC++ 项目筛选器文件。它包含有关项目文件与筛选器之间的关联信息。在 IDE 中,通过这种关联,在特定节点下以分组形式显示具有相似扩展名的文件。例如,“.cpp”文件与“源文件”筛选器关联。 15 | 16 | NetMonitor.cpp 17 | 这是主应用程序源文件。 18 | 19 | ///////////////////////////////////////////////////////////////////////////// 20 | 应用程序向导创建了下列资源: 21 | 22 | NetMonitor.rc 23 | 这是程序使用的所有 Microsoft Windows 资源的列表。它包括 RES 子目录中存储的图标、位图和光标。此文件可以直接在 Microsoft Visual C++ 中进行编辑。 24 | 25 | Resource.h 26 | 这是标准头文件,可用于定义新的资源 ID。Microsoft Visual C++ 将读取并更新此文件。 27 | 28 | NetMonitor.ico 29 | 这是用作应用程序图标 (32x32) 的图标文件。此图标包括在主资源文件 NetMonitor.rc 中。 30 | 31 | small.ico 32 | 这是一个图标文件,其中包含应用程序的图标的较小版本 (16x16)。此图标包括在主资源文件 NetMonitor.rc 中。 33 | 34 | ///////////////////////////////////////////////////////////////////////////// 35 | 其他标准文件: 36 | 37 | StdAfx.h, StdAfx.cpp 38 | 这些文件用于生成名为 NetMonitor.pch 的预编译头 (PCH) 文件和名为 StdAfx.obj 的预编译类型文件。 39 | 40 | ///////////////////////////////////////////////////////////////////////////// 41 | 其他注释: 42 | 43 | 应用程序向导使用“TODO:”注释来指示应添加或自定义的源代码部分。 44 | 45 | ///////////////////////////////////////////////////////////////////////////// 46 | -------------------------------------------------------------------------------- /NDIS 6.30/RawPacketAnalysis/RawPacketAnalysis.vcxproj.filters: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | {4FC737F1-C7A5-4376-A066-2A32D752A2FF} 6 | cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx 7 | 8 | 9 | {93995380-89BD-4b04-88EB-625FBE52EBFB} 10 | h;hh;hpp;hxx;hm;inl;inc;xsd 11 | 12 | 13 | {67DA6AB6-F800-4c08-8B7A-83BB121AAD01} 14 | rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 头文件 23 | 24 | 25 | 头文件 26 | 27 | 28 | 头文件 29 | 30 | 31 | 头文件 32 | 33 | 34 | 头文件 35 | 36 | 37 | 38 | 39 | 源文件 40 | 41 | 42 | 源文件 43 | 44 | 45 | -------------------------------------------------------------------------------- /NDIS 6.30/MY NDIS 6.0/MyDriver7.vcxproj.filters: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | {4FC737F1-C7A5-4376-A066-2A32D752A2FF} 6 | cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx 7 | 8 | 9 | {93995380-89BD-4b04-88EB-625FBE52EBFB} 10 | h;hpp;hxx;hm;inl;inc;xsd 11 | 12 | 13 | {67DA6AB6-F800-4c08-8B7A-83BB121AAD01} 14 | rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms 15 | 16 | 17 | {8E41214B-6785-4CFE-B992-037D68949A14} 18 | inf;inv;inx;mof;mc; 19 | 20 | 21 | 22 | 23 | Driver Files 24 | 25 | 26 | 27 | 28 | Source Files 29 | 30 | 31 | Source Files 32 | 33 | 34 | 35 | 36 | Header Files 37 | 38 | 39 | Header Files 40 | 41 | 42 | Header Files 43 | 44 | 45 | Header Files 46 | 47 | 48 | -------------------------------------------------------------------------------- /NDIS 6.30/NdisCoreApi/NdisCoreApi.h: -------------------------------------------------------------------------------- 1 | /******************************************************************************** 2 | * * 3 | * NdisCoreApi.h -- ApiSet Contract for ZlzNdis Kernel-Mode Driver * 4 | * * 5 | * Copyright (c) Arch-Vile. All rights reserved. * 6 | * * 7 | ********************************************************************************/ 8 | #ifdef _MSC_VER 9 | #pragma once 10 | #endif // _MSC_VER 11 | 12 | #ifndef _APICORENDIS_ 13 | #define _APICORENDIS_ 14 | #include 15 | #include"define.h" 16 | #include"..\RawPacketAnalysis\PacketInfo.h" 17 | #ifdef NDISCOREAPI_EXPORTS 18 | #define NDISCOREAPI_API __declspec(dllexport) 19 | #else 20 | #define NDISCOREAPI_API __declspec(dllimport) 21 | #endif 22 | 23 | 24 | NDISCOREAPI_API 25 | int 26 | WINAPI 27 | Net_ShowAdapter( 28 | _In_ HANDLE FilterHandle, 29 | _Out_ PIO_Packet Packet 30 | ); 31 | 32 | NDISCOREAPI_API 33 | HANDLE 34 | WINAPI 35 | Net_OpenFilter( 36 | void 37 | ); 38 | 39 | NDISCOREAPI_API 40 | int 41 | WINAPI 42 | Net_GetRawPacket( 43 | _In_ HANDLE FilterHandle, 44 | _Out_ PIO_Packet Packet, 45 | _In_ int AdapterIndex 46 | ); 47 | 48 | NDISCOREAPI_API 49 | int 50 | WINAPI 51 | Net_StartFilter( 52 | _In_ HANDLE FilterHandle, 53 | _In_opt_ int *StartFileterIndex 54 | ); 55 | 56 | NDISCOREAPI_API 57 | int 58 | WINAPI 59 | Net_StopFilter( 60 | _In_ HANDLE FilterHandle, 61 | _In_opt_ int *StopFileterIndex 62 | ); 63 | 64 | NDISCOREAPI_API 65 | int 66 | WINAPI 67 | Net_SendRawPacket( 68 | _In_ HANDLE FilterHandle, 69 | _In_ RawPacket *RawPacketToSend, 70 | _In_ int SendSize, 71 | _In_ int AdapterIndex 72 | ); 73 | 74 | NDISCOREAPI_API 75 | int 76 | WINAPI 77 | Net_SetPacketPoolMax( 78 | _In_ HANDLE FilterHandle, 79 | _In_ int PoolMax 80 | ); 81 | #endif //_APICORENDIS_ -------------------------------------------------------------------------------- /NDIS 6.30/NetMonitor/NetMonitor/NetMonitor.vcxproj.filters: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | {4FC737F1-C7A5-4376-A066-2A32D752A2FF} 6 | cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx 7 | 8 | 9 | {93995380-89BD-4b04-88EB-625FBE52EBFB} 10 | h;hh;hpp;hxx;hm;inl;inc;xsd 11 | 12 | 13 | {67DA6AB6-F800-4c08-8B7A-83BB121AAD01} 14 | rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 头文件 23 | 24 | 25 | 头文件 26 | 27 | 28 | 头文件 29 | 30 | 31 | 头文件 32 | 33 | 34 | 头文件 35 | 36 | 37 | 头文件 38 | 39 | 40 | 头文件 41 | 42 | 43 | 头文件 44 | 45 | 46 | 47 | 48 | 源文件 49 | 50 | 51 | 源文件 52 | 53 | 54 | 源文件 55 | 56 | 57 | 源文件 58 | 59 | 60 | 61 | 62 | 资源文件 63 | 64 | 65 | 66 | 67 | 资源文件 68 | 69 | 70 | 资源文件 71 | 72 | 73 | 资源文件 74 | 75 | 76 | 资源文件 77 | 78 | 79 | 资源文件 80 | 81 | 82 | 资源文件 83 | 84 | 85 | -------------------------------------------------------------------------------- /API.md: -------------------------------------------------------------------------------- 1 | #NdisCoreApi(NdisCoreApi.dll) 2 | 3 | ##HeaderFile:NdisCoreApi.h 4 | 5 | ##Lib:NdisCoreApi.lib 6 | 7 | ``` 8 | NDISCOREAPI_API 9 | int 10 | WINAPI 11 | Net_ShowAdapter( 12 | _In_ HANDLE FilterHandle, 13 | _Out_ PIO_Packet Packet 14 | ); 15 | ``` 16 | Show The NetWork Adapter In This Computer 17 | *input: 18 | FilterHandle:FilterObject Handle Returned By Net_OpenFilter 19 | Packet:PIO_Packet struct 20 | *output:success 1 failed 0 21 | 22 | 23 | ``` 24 | NDISCOREAPI_API 25 | HANDLE 26 | WINAPI 27 | Net_OpenFilter( 28 | void 29 | ); 30 | ``` 31 | Return The FilterObject Handle 32 | *input:NO 33 | *output:FilterObject Handle 34 | 35 | ``` 36 | NDISCOREAPI_API 37 | int 38 | WINAPI 39 | Net_GetRawPacket( 40 | _In_ HANDLE FilterHandle, 41 | _Out_ PIO_Packet Packet, 42 | _In_ int AdapterIndex 43 | ); 44 | ``` 45 | Get a Packet Store In The NDIS Driver 46 | *input: 47 | FilterHandle:FilterObject Handle Returned By Net_OpenFilter 48 | Packet: PIO_Packet struct 49 | AdapterIndex: The Adapter Get the Packet 50 | *output:success 1 failed 0 51 | 52 | ``` 53 | NDISCOREAPI_API 54 | int 55 | WINAPI 56 | Net_StartFilter( 57 | _In_ HANDLE FilterHandle, 58 | _In_opt_ int *StartFileterIndex 59 | ); 60 | ``` 61 | Start The Adapter to Filter the Network 62 | *input: 63 | FilterHandle:FilterObject Handle Returned By Net_OpenFilter 64 | StartFileterIndex:The Filter Index You want to Start if is NULL, will start all 65 | *output:success 1 failed 0 66 | 67 | ``` 68 | NDISCOREAPI_API 69 | int 70 | WINAPI 71 | Net_StopFilter( 72 | _In_ HANDLE FilterHandle, 73 | _In_opt_ int *StopFileterIndex 74 | ); 75 | ``` 76 | Stop The Adapter to Filter the Network 77 | *input: 78 | FilterHandle:FilterObject Handle Returned By Net_OpenFilter 79 | StopFileterIndex:The Filter Index You want to Stop if is NULL, will stop all 80 | *output:success 1 failed 0 81 | 82 | ``` 83 | NDISCOREAPI_API 84 | int 85 | WINAPI 86 | Net_SendRawPacket( 87 | _In_ HANDLE FilterHandle, 88 | _In_ RawPacket *RawPacketToSend, 89 | _In_ int SendSize, 90 | _In_ int AdapterIndex 91 | ); 92 | ``` 93 | Send Packet Use Ndis,Not across the WFP And TDI 94 | *input: 95 | FilterHandle:FilterObject Handle Returned By Net_OpenFilter 96 | RawPacketToSend:RawPacket struct 97 | SendSize:the Packet Length 98 | AdapterIndex:The Adapter Index To Start 99 | *output:success 1 failed 0 100 | 101 | ``` 102 | NDISCOREAPI_API 103 | int 104 | WINAPI 105 | Net_SetPacketPoolMax( 106 | _In_ HANDLE FilterHandle, 107 | _In_ int PoolMax 108 | ); 109 | ``` 110 | Set the NDIS Driver Packet Pool Max 111 | *input: 112 | FilterHandle:FilterObject Handle Returned By Net_OpenFilter 113 | PoolMax:RawPacket struct 114 | SendSize:the Pool Max Length 115 | *output:success 1 failed 0 116 | 117 | 118 | #RawPacketAnalysis(RawPacketAnalysis.dll) 119 | 120 | ##HeaderFile:RawPacketAnalysis.h 121 | 122 | ##Lib:RawPacketAnalysis.lib 123 | 124 | ``` 125 | RAWPACKETANALYSIS_API 126 | int 127 | AnalysePacket( 128 | _In_ PIO_Packet Packet, 129 | _Inout_ PPacketInfo Info 130 | ); 131 | ``` 132 | Analyse The RawPacket Return By Net_GetRawPacket 133 | *input: 134 | Packet:The Packet want to Analyse 135 | Info:The Analysis Info 136 | *output:success 1 failed 0 -------------------------------------------------------------------------------- /NDIS 6.30/NetMonitor/NetMonitor/Paint.cpp: -------------------------------------------------------------------------------- 1 | #include "Paint.h" 2 | HWND ListView, StatusBar, StaticWindow; 3 | BOOL InitLvHead(HWND ListView) 4 | { 5 | LV_COLUMN lvColumn; 6 | int i; 7 | TCHAR szString[6][20] = { TEXT("timestamp"), 8 | TEXT("Source IP"), 9 | TEXT("Dest IP"), 10 | TEXT("Data Length"), 11 | TEXT("Protocol"), 12 | TEXT("imformation") }; 13 | 14 | //initialize the columns 15 | lvColumn.mask = LVCF_FMT | LVCF_WIDTH | LVCF_TEXT;//| LVCF_SUBITEM; 16 | lvColumn.fmt = LVCFMT_LEFT;// ?? | LVCFMT_SPLITBUTTON; 17 | lvColumn.cx = 80; 18 | for (i = 0; i < 6; i++) 19 | { 20 | lvColumn.pszText = szString[i]; 21 | if (i == 5) 22 | { 23 | lvColumn.cx = 200; 24 | } 25 | SendMessage(ListView, LVM_INSERTCOLUMN, (WPARAM)i, (LPARAM)&lvColumn); 26 | } 27 | // 28 | return TRUE; 29 | }// 30 | 31 | HWND CreateListView(HINSTANCE hInstance, HWND hwndParent) 32 | { 33 | DWORD dwStyle; 34 | BOOL bSuccess = TRUE; 35 | // custom draw 36 | dwStyle = WS_TABSTOP | WS_CHILD | WS_BORDER | WS_VISIBLE | LVS_REPORT | LVS_SINGLESEL | LVS_SHOWSELALWAYS; 37 | //| LVS_EX_FULLROWSELECT | LVS_EX_DOUBLEBUFFER | LVS_EX_GRIDLINES| LVS_EX_INFOTIP | LVS_AUTOARRANGE | LVS_OWNERDATA; 38 | 39 | ListView = CreateWindowEx(WS_EX_WINDOWEDGE,//WS_EX_CLIENTEDGE,// ex style 40 | WC_LISTVIEW, // class name defined in commctrl.h 41 | NULL, // window text 42 | dwStyle, // style 43 | 0, // x position 44 | 0, // y position 45 | Cxrect, // width 46 | Cyrect/2, // height 47 | hwndParent, // parent 48 | NULL, // ID 49 | hInst, // instance 50 | NULL); // no extra data 51 | // 52 | if (ListView) 53 | { 54 | ListView_SetExtendedListViewStyleEx(ListView, LVS_EX_FULLROWSELECT, 55 | LVS_EX_FULLROWSELECT); 56 | InitLvHead(ListView); 57 | 58 | // 59 | //HWND hwndHD=ListView_GetHeader(ListView); 60 | //int all=Header_GetItemCount(hwndHD); 61 | 62 | 63 | //RECT rc; 64 | //Header_GetItemRect(hwndHD,all-1,&rc); 65 | return ListView; 66 | } 67 | else 68 | { 69 | return NULL; 70 | } 71 | }// 72 | VOID supSetMenuIcon( 73 | HMENU hMenu, 74 | UINT Item, 75 | ULONG_PTR IconData 76 | ) 77 | { 78 | MENUITEMINFO mii; 79 | RtlSecureZeroMemory(&mii, sizeof(mii)); 80 | mii.cbSize = sizeof(mii); 81 | mii.fMask = MIIM_BITMAP | MIIM_DATA; 82 | mii.hbmpItem = HBMMENU_CALLBACK; 83 | mii.dwItemData = IconData; 84 | SetMenuItemInfo(hMenu, Item, FALSE, &mii); 85 | } 86 | 87 | bool Paint(HWND hwnd) 88 | { 89 | INITCOMMONCONTROLSEX icc; 90 | icc.dwSize = sizeof(icc); 91 | icc.dwICC = ICC_LISTVIEW_CLASSES | ICC_TREEVIEW_CLASSES | ICC_BAR_CLASSES | ICC_TAB_CLASSES; 92 | if (!InitCommonControlsEx(&icc)) 93 | { 94 | return FALSE; 95 | } 96 | 97 | RECT Rect; 98 | GetClientRect(hwnd, &Rect); 99 | Cxrect = Rect.right; 100 | Cyrect = Rect.bottom; 101 | CreateListView(hInst, hwnd); 102 | 103 | StatusBar = CreateWindowEx(0, STATUSCLASSNAME, NULL, 104 | WS_VISIBLE | WS_CHILD, 0, Cyrect, Cyrect, Cxrect-20, hwnd, NULL, hInst, NULL); 105 | 106 | StaticWindow = CreateWindowEx(0, WC_STATIC, NULL, 107 | WS_VISIBLE | WS_CHILD, 0 ,Cyrect/2, Cxrect, Cyrect/2, hwnd, NULL, hInst, NULL); 108 | 109 | /*ListViewInfo a[6] = { "asdasd","127.0.0.1","192.168.0.0","41","ARP","ASDDADAD" }; 110 | for (int i = 0; i < 100; i++) 111 | { 112 | AddListView(a); 113 | }*/ 114 | SetWindowText(StatusBar, "asdadas"); 115 | HIMAGELIST ImageList = ImageList_LoadImage(hInst, MAKEINTRESOURCE(IDB_BITMAP3), 116 | 16, 1, CLR_DEFAULT, IMAGE_BITMAP, LR_CREATEDIBSECTION); 117 | HMENU menu = GetSubMenu(GetMenu(HwndWinMain), 0); 118 | supSetMenuIcon(menu, ID_SELNETCARD, 119 | (ULONG_PTR)ImageList_ExtractIcon(hInst, ImageList, 0)); 120 | /*HWND Splitter = CreateWindowEx(0, WC_STATIC, NULL, 121 | WS_VISIBLE | WS_CHILD, 0, 0, 100, 100, hwnd, NULL, hInst, NULL);*/ 122 | return TRUE; 123 | } 124 | void InitAttackTreeView(HWND TreeView) 125 | { 126 | LVCOLUMN lvColumn; 127 | lvColumn.mask = LVCF_FMT | LVCF_WIDTH | LVCF_TEXT | LVCF_SUBITEM; 128 | lvColumn.fmt = LVCFMT_LEFT; 129 | lvColumn.cx = 120; 130 | SetWindowLong(TreeView, GWL_STYLE, 131 | WS_TABSTOP | WS_CHILD | WS_BORDER | WS_VISIBLE | LVS_REPORT | LVS_SINGLESEL | LVS_SHOWSELALWAYS); 132 | int i; 133 | TCHAR szString[2][20] = { TEXT("Target IP"), 134 | TEXT("Target MAC"),}; 135 | for (i = 0; i < 2; i++) 136 | { 137 | lvColumn.pszText = szString[i]; 138 | ListView_InsertColumn(TreeView, i, &lvColumn); 139 | } 140 | // 141 | return; 142 | } 143 | void InitSelCardTreeView(HWND TreeView) 144 | { 145 | LVCOLUMN lvColumn; 146 | lvColumn.mask = LVCF_FMT | LVCF_WIDTH | LVCF_TEXT | LVCF_SUBITEM; 147 | lvColumn.fmt = LVCFMT_LEFT; 148 | lvColumn.cx = 150; 149 | SetWindowLong(TreeView, GWL_STYLE, 150 | WS_TABSTOP | WS_CHILD | WS_BORDER | WS_VISIBLE | LVS_REPORT | LVS_SINGLESEL | LVS_SHOWSELALWAYS); 151 | TCHAR szString[4][20] = { TEXT("NetCardName"), 152 | TEXT("Mac"), 153 | TEXT("DevPathName"), 154 | TEXT("IsFiltering") }; 155 | for (int i = 0; i < 4; i++) 156 | { 157 | lvColumn.pszText = szString[i]; 158 | if (i == 2) 159 | { 160 | lvColumn.cx = 200; 161 | } 162 | ListView_InsertColumn(TreeView, i, &lvColumn); 163 | } 164 | 165 | } 166 | -------------------------------------------------------------------------------- /NDIS 6.30/ConsoleTest/ConsoleTest.vcxproj: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Debug 6 | Win32 7 | 8 | 9 | Release 10 | Win32 11 | 12 | 13 | Debug 14 | x64 15 | 16 | 17 | Release 18 | x64 19 | 20 | 21 | 22 | {76491131-2F35-4525-B976-A1E7DBD342CA} 23 | Win32Proj 24 | ConsoleTest 25 | 8.1 26 | 27 | 28 | 29 | Application 30 | true 31 | v140 32 | Unicode 33 | 34 | 35 | Application 36 | false 37 | v140 38 | true 39 | Unicode 40 | 41 | 42 | Application 43 | true 44 | v140 45 | Unicode 46 | 47 | 48 | Application 49 | false 50 | v140 51 | true 52 | Unicode 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | true 74 | 75 | 76 | true 77 | $(SolutionDir)$(Platform)\$(Configuration)\..\..\DebugX64 78 | 79 | 80 | false 81 | 82 | 83 | false 84 | $(SolutionDir)$(Platform)\$(Configuration)\..\..\ReleaseX64 85 | 86 | 87 | 88 | 89 | 90 | Level3 91 | Disabled 92 | WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) 93 | 94 | 95 | Console 96 | true 97 | 98 | 99 | 100 | 101 | 102 | 103 | Level3 104 | Disabled 105 | _DEBUG;_CONSOLE;%(PreprocessorDefinitions) 106 | MultiThreadedDebug 107 | 108 | 109 | Console 110 | true 111 | RequireAdministrator 112 | 113 | 114 | 115 | 116 | Level3 117 | 118 | 119 | MaxSpeed 120 | true 121 | true 122 | WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions) 123 | 124 | 125 | Console 126 | true 127 | true 128 | true 129 | RequireAdministrator 130 | 131 | 132 | 133 | 134 | Level3 135 | 136 | 137 | MaxSpeed 138 | true 139 | true 140 | NDEBUG;_CONSOLE;%(PreprocessorDefinitions) 141 | MultiThreaded 142 | 143 | 144 | Console 145 | true 146 | true 147 | true 148 | RequireAdministrator 149 | 150 | 151 | 152 | 153 | 154 | 155 | 156 | 157 | 158 | 159 | 160 | 161 | 162 | 163 | 164 | 165 | -------------------------------------------------------------------------------- /NDIS 6.30/MY NDIS 6.0/MyDriver7.vcxproj: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Debug 6 | Win32 7 | 8 | 9 | Release 10 | Win32 11 | 12 | 13 | Debug 14 | x64 15 | 16 | 17 | Release 18 | x64 19 | 20 | 21 | Debug 22 | ARM 23 | 24 | 25 | Release 26 | ARM 27 | 28 | 29 | Debug 30 | ARM64 31 | 32 | 33 | Release 34 | ARM64 35 | 36 | 37 | 38 | {A0FB100C-0577-4389-8B61-3BD30A505B0E} 39 | {dd38f7fc-d7bd-488b-9242-7d8754cde80d} 40 | v4.5 41 | 12.0 42 | Debug 43 | Win32 44 | MyDriver7 45 | MY NDIS 6.0 46 | $(LatestTargetPlatformVersion) 47 | 48 | 49 | 50 | Windows10 51 | true 52 | WindowsKernelModeDriver10.0 53 | Driver 54 | WDM 55 | 56 | 57 | Windows10 58 | false 59 | WindowsKernelModeDriver10.0 60 | Driver 61 | WDM 62 | 63 | 64 | Windows8 65 | true 66 | WindowsKernelModeDriver10.0 67 | Driver 68 | WDM 69 | Desktop 70 | false 71 | 72 | 73 | Windows10 74 | false 75 | WindowsKernelModeDriver10.0 76 | Driver 77 | WDM 78 | 79 | 80 | Windows10 81 | true 82 | WindowsKernelModeDriver10.0 83 | Driver 84 | WDM 85 | 86 | 87 | Windows10 88 | false 89 | WindowsKernelModeDriver10.0 90 | Driver 91 | WDM 92 | 93 | 94 | Windows10 95 | true 96 | WindowsKernelModeDriver10.0 97 | Driver 98 | WDM 99 | 100 | 101 | Windows10 102 | false 103 | WindowsKernelModeDriver10.0 104 | Driver 105 | WDM 106 | 107 | 108 | 109 | 110 | 111 | 112 | 113 | 114 | 115 | 116 | DbgengKernelDebugger 117 | 118 | 119 | DbgengKernelDebugger 120 | 121 | 122 | DbgengKernelDebugger 123 | zlzndislwf 124 | 125 | 126 | DbgengKernelDebugger 127 | zlzndislwf 128 | 129 | 130 | DbgengKernelDebugger 131 | 132 | 133 | DbgengKernelDebugger 134 | 135 | 136 | DbgengKernelDebugger 137 | 138 | 139 | DbgengKernelDebugger 140 | 141 | 142 | 143 | %(PreprocessorDefinitions) 144 | 145 | 146 | ndis.lib;%(AdditionalDependencies) 147 | 148 | 149 | 150 | 151 | ndis.lib;%(AdditionalDependencies) 152 | 153 | 154 | 155 | 156 | 157 | 158 | 159 | 160 | 161 | 162 | 163 | 164 | 165 | 166 | 167 | 168 | 169 | 170 | 171 | 172 | 173 | -------------------------------------------------------------------------------- /NDIS 6.30/NdisCoreApi/NdisCoreApi.vcxproj: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Debug 6 | Win32 7 | 8 | 9 | Release 10 | Win32 11 | 12 | 13 | Debug 14 | x64 15 | 16 | 17 | Release 18 | x64 19 | 20 | 21 | 22 | {7E2943AC-8181-47CD-8A23-B973E2CD395A} 23 | Win32Proj 24 | NdisCoreApi 25 | 8.1 26 | 27 | 28 | 29 | DynamicLibrary 30 | true 31 | v140 32 | Unicode 33 | 34 | 35 | DynamicLibrary 36 | false 37 | v140 38 | true 39 | Unicode 40 | 41 | 42 | DynamicLibrary 43 | true 44 | v140 45 | Unicode 46 | 47 | 48 | DynamicLibrary 49 | false 50 | v140 51 | true 52 | Unicode 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | true 74 | 75 | 76 | true 77 | $(SolutionDir)$(Platform)\$(Configuration)\..\..\DebugX64 78 | 79 | 80 | false 81 | 82 | 83 | false 84 | $(SolutionDir)$(Platform)\$(Configuration)\..\..\ReleaseX64 85 | 86 | 87 | 88 | 89 | 90 | Level3 91 | Disabled 92 | WIN32;_DEBUG;_WINDOWS;_USRDLL;NDISCOREAPI_EXPORTS;%(PreprocessorDefinitions) 93 | 94 | 95 | Windows 96 | true 97 | 98 | 99 | 100 | 101 | 102 | 103 | Level3 104 | Disabled 105 | _DEBUG;_WINDOWS;_USRDLL;NDISCOREAPI_EXPORTS;%(PreprocessorDefinitions) 106 | MultiThreadedDebug 107 | 108 | 109 | Windows 110 | true 111 | 112 | 113 | ..\lib\$(ProjectName).lib 114 | 115 | 116 | 117 | 118 | Level3 119 | 120 | 121 | MaxSpeed 122 | true 123 | true 124 | WIN32;NDEBUG;_WINDOWS;_USRDLL;NDISCOREAPI_EXPORTS;%(PreprocessorDefinitions) 125 | 126 | 127 | Windows 128 | true 129 | true 130 | true 131 | 132 | 133 | 134 | 135 | Level3 136 | 137 | 138 | MaxSpeed 139 | true 140 | true 141 | NDEBUG;_WINDOWS;_USRDLL;NDISCOREAPI_EXPORTS;%(PreprocessorDefinitions) 142 | MultiThreaded 143 | false 144 | 145 | 146 | Windows 147 | true 148 | true 149 | true 150 | ..\lib\$(ProjectName).lib 151 | 152 | 153 | 154 | 155 | 156 | 157 | 158 | 159 | 160 | 161 | 162 | 163 | 164 | 165 | 166 | 167 | 168 | -------------------------------------------------------------------------------- /NDIS 6.30/RawPacketAnalysis/RawPacketAnalysis.vcxproj: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Debug 6 | Win32 7 | 8 | 9 | Release 10 | Win32 11 | 12 | 13 | Debug 14 | x64 15 | 16 | 17 | Release 18 | x64 19 | 20 | 21 | 22 | {E84C9229-373F-4683-8CF9-2EECB9029F93} 23 | Win32Proj 24 | RawPacketAnalysis 25 | 8.1 26 | 27 | 28 | 29 | DynamicLibrary 30 | true 31 | v140 32 | Unicode 33 | 34 | 35 | DynamicLibrary 36 | false 37 | v140 38 | true 39 | Unicode 40 | 41 | 42 | DynamicLibrary 43 | true 44 | v140 45 | Unicode 46 | 47 | 48 | DynamicLibrary 49 | false 50 | v140 51 | true 52 | Unicode 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | true 74 | 75 | 76 | true 77 | $(SolutionDir)$(Platform)\$(Configuration)\..\..\DebugX64 78 | 79 | 80 | false 81 | 82 | 83 | false 84 | $(SolutionDir)$(Platform)\$(Configuration)\..\..\ReleaseX64 85 | 86 | 87 | 88 | 89 | 90 | Level3 91 | Disabled 92 | WIN32;_DEBUG;_WINDOWS;_USRDLL;RAWPACKETANALYSIS_EXPORTS;%(PreprocessorDefinitions) 93 | 94 | 95 | Windows 96 | true 97 | 98 | 99 | 100 | 101 | 102 | 103 | Level3 104 | Disabled 105 | _DEBUG;_WINDOWS;_USRDLL;RAWPACKETANALYSIS_EXPORTS;%(PreprocessorDefinitions) 106 | MultiThreadedDebug 107 | 108 | 109 | Windows 110 | true 111 | ..\lib\$(ProjectName).lib 112 | 113 | 114 | 115 | 116 | Level3 117 | 118 | 119 | MaxSpeed 120 | true 121 | true 122 | WIN32;NDEBUG;_WINDOWS;_USRDLL;RAWPACKETANALYSIS_EXPORTS;%(PreprocessorDefinitions) 123 | 124 | 125 | Windows 126 | true 127 | true 128 | true 129 | 130 | 131 | 132 | 133 | Level3 134 | 135 | 136 | MaxSpeed 137 | true 138 | true 139 | NDEBUG;_WINDOWS;_USRDLL;RAWPACKETANALYSIS_EXPORTS;%(PreprocessorDefinitions) 140 | MultiThreaded 141 | 142 | 143 | Windows 144 | true 145 | true 146 | true 147 | ..\lib\$(ProjectName).lib 148 | 149 | 150 | 151 | 152 | 153 | 154 | 155 | 156 | 157 | 158 | 159 | 160 | 161 | 162 | 163 | 164 | 165 | 166 | 167 | -------------------------------------------------------------------------------- /NDIS 6.30/发包测试程序(发送ARP包)/ConsoleApplication3/ConsoleApplication3.vcxproj: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Debug 6 | Win32 7 | 8 | 9 | Release 10 | Win32 11 | 12 | 13 | Debug 14 | x64 15 | 16 | 17 | Release 18 | x64 19 | 20 | 21 | 22 | {82AF6EF4-F7CB-45E0-9C9C-A4B53A739F93} 23 | Win32Proj 24 | ConsoleApplication3 25 | 8.1 26 | 27 | 28 | 29 | Application 30 | true 31 | v140 32 | Unicode 33 | 34 | 35 | Application 36 | false 37 | v140 38 | true 39 | Unicode 40 | 41 | 42 | Application 43 | true 44 | v140 45 | Unicode 46 | 47 | 48 | Application 49 | false 50 | v140 51 | true 52 | Unicode 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | true 74 | 75 | 76 | true 77 | 78 | 79 | false 80 | 81 | 82 | false 83 | 84 | 85 | 86 | Use 87 | Level3 88 | Disabled 89 | WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) 90 | true 91 | 92 | 93 | Console 94 | true 95 | E:\VS2013工程文件\NDIS 6.30\lib;%(AdditionalLibraryDirectories) 96 | NdisCoreApi.lib;%(AdditionalDependencies) 97 | 98 | 99 | 100 | 101 | Use 102 | Level3 103 | Disabled 104 | _DEBUG;_CONSOLE;%(PreprocessorDefinitions) 105 | true 106 | MultiThreadedDebug 107 | 108 | 109 | Console 110 | true 111 | %(AdditionalLibraryDirectories) 112 | 113 | 114 | 115 | 116 | Level3 117 | Use 118 | MaxSpeed 119 | true 120 | true 121 | WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions) 122 | true 123 | 124 | 125 | Console 126 | true 127 | true 128 | true 129 | 130 | 131 | 132 | 133 | Level3 134 | Use 135 | MaxSpeed 136 | true 137 | true 138 | NDEBUG;_CONSOLE;%(PreprocessorDefinitions) 139 | true 140 | 141 | 142 | Console 143 | true 144 | true 145 | true 146 | 147 | 148 | 149 | 150 | 151 | 152 | 153 | 154 | 155 | 156 | 157 | 158 | Create 159 | Create 160 | Create 161 | Create 162 | 163 | 164 | 165 | 166 | 167 | -------------------------------------------------------------------------------- /NDIS 6.30/NetMonitor/NetMonitor/NetMonitor.vcxproj: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Debug 6 | Win32 7 | 8 | 9 | Release 10 | Win32 11 | 12 | 13 | Debug 14 | x64 15 | 16 | 17 | Release 18 | x64 19 | 20 | 21 | 22 | {ED266BD3-4617-45A3-957D-076715A25A72} 23 | Win32Proj 24 | NetMonitor 25 | 8.1 26 | 27 | 28 | 29 | Application 30 | true 31 | v140 32 | MultiByte 33 | 34 | 35 | Application 36 | false 37 | v140 38 | true 39 | Unicode 40 | 41 | 42 | Application 43 | true 44 | v140 45 | MultiByte 46 | 47 | 48 | Application 49 | false 50 | v140 51 | true 52 | MultiByte 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | true 74 | 75 | 76 | true 77 | $(SolutionDir)$(Platform)\$(Configuration)\..\..\DebugX64\ 78 | 79 | 80 | false 81 | 82 | 83 | false 84 | $(SolutionDir)$(Platform)\$(Configuration)\..\..\ReleaseX64\ 85 | 86 | 87 | 88 | NotUsing 89 | Level3 90 | Disabled 91 | WIN32;_DEBUG;_WINDOWS;%(PreprocessorDefinitions) 92 | true 93 | 94 | 95 | Windows 96 | true 97 | Comctl32.lib;%(AdditionalDependencies) 98 | 99 | 100 | 101 | 102 | NotUsing 103 | Level3 104 | Disabled 105 | _DEBUG;_WINDOWS;%(PreprocessorDefinitions) 106 | false 107 | MultiThreadedDebug 108 | 109 | 110 | Windows 111 | true 112 | Comctl32.lib;%(AdditionalDependencies) 113 | RequireAdministrator 114 | 115 | 116 | 117 | 118 | Level3 119 | Use 120 | MaxSpeed 121 | true 122 | true 123 | WIN32;NDEBUG;_WINDOWS;%(PreprocessorDefinitions) 124 | true 125 | 126 | 127 | Windows 128 | true 129 | true 130 | true 131 | 132 | 133 | 134 | 135 | Level3 136 | NotUsing 137 | MaxSpeed 138 | true 139 | true 140 | NDEBUG;_WINDOWS;%(PreprocessorDefinitions) 141 | false 142 | MultiThreaded 143 | 144 | 145 | Windows 146 | true 147 | true 148 | true 149 | Comctl32.lib;%(AdditionalDependencies) 150 | RequireAdministrator 151 | 152 | 153 | 154 | 155 | 156 | 157 | 158 | 159 | 160 | 161 | 162 | 163 | 164 | 165 | 166 | 167 | 168 | 169 | 170 | 171 | 172 | 173 | 174 | 175 | 176 | 177 | 178 | 179 | 180 | 181 | 182 | 183 | 184 | 185 | 186 | -------------------------------------------------------------------------------- /NDIS 6.30/MY NDIS 6.0/MyDriver7.inf: -------------------------------------------------------------------------------- 1 | ;------------------------------------------------------------------------- 2 | ; NdisLwf.INF -- Sample NDIS LightWeight Filter Driver 3 | ; 4 | ; Copyright (c) Microsoft Corporation. All rights reserved. 5 | ; 6 | ; TODO: Search for comments marked "TODO:", and follow their instructions to 7 | ; customize this INF for your driver. Then delete the "TODO:" comments. 8 | ;------------------------------------------------------------------------- 9 | 10 | [version] 11 | ; Do not change these values 12 | Signature = "$Windows NT$" 13 | Class = NetService 14 | ClassGUID = {4D36E974-E325-11CE-BFC1-08002BE10318} 15 | CatalogFile = netlwf.cat 16 | 17 | ; TODO: Customize this string for your company name 18 | Provider = %ProviderString% 19 | 20 | ; TODO: Customize this string for the driver version 21 | DriverVer = 10/01/2002,6.0.5019.0 22 | 23 | 24 | ; TODO: Include each architecture for which your driver package contains a 25 | ; compiled binary. If you do not supply a driver compiled for ia64, delete the 26 | ; NTia64 section. 27 | [Manufacturer] 28 | %ManufacturerName%=Standard,NTx86,NTia64,NTamd64 29 | 30 | ; TODO: Change the "MS_NdisLwf" name below to identify your component. 31 | ; This name can be used with netcfg.exe to install/uninstall the driver. 32 | [Standard.NTx86] 33 | %NdisLwf_Desc%=Install, ZLZ_NdisLwf 34 | 35 | [Standard.NTia64] 36 | %NdisLwf_Desc%=Install, ZLZ_NdisLwf 37 | 38 | [Standard.NTamd64] 39 | %NdisLwf_Desc%=Install, ZLZ_NdisLwf 40 | 41 | ;------------------------------------------------------------------------- 42 | ; Installation Section 43 | ;------------------------------------------------------------------------- 44 | [Install] 45 | AddReg=Inst_Ndi 46 | ; All LWFs must include the 0x40000 bit (NCF_LW_FILTER). Unlike miniports, you 47 | ; don't usually need to customize this value. 48 | Characteristics=0x40000 49 | 50 | ; TODO: You must generate your own random GUID and insert it here. Then, update 51 | ; FILTER_UNIQUE_NAME in filter.h to match this GUID identically. Both should 52 | ; have {curly braces}. 53 | NetCfgInstanceId="{5cbf81bd-5055-47cd-9055-a76b2b4e3697}" 54 | 55 | Copyfiles = zlzndislwf.copyfiles.sys 56 | 57 | [SourceDisksNames] 58 | 1=%NdisLwf_Desc%,"",, 59 | 60 | [SourceDisksFiles] 61 | ; TODO: Customize the name of your binary here. 62 | ; Also include any related files that should be installed with your driver. 63 | zlzndislwf.sys=1 64 | 65 | [DestinationDirs] 66 | DefaultDestDir=12 67 | zlzndislwf.copyfiles.sys=12 68 | 69 | [zlzndislwf.copyfiles.sys] 70 | ; TODO: Customize the name of your binary here. 71 | zlzndislwf.sys,,,2 72 | 73 | 74 | ;------------------------------------------------------------------------- 75 | ; Ndi installation support 76 | ;------------------------------------------------------------------------- 77 | [Inst_Ndi] 78 | ; TODO: Customize the name of the NT service that will start your driver. 79 | ; Then, update FILTER_SERVICE_NAME in filter.h. 80 | HKR, Ndi,Service,,"ZlzNdisLwf" 81 | ; TODO: Repeat the NT service name above here. Optionally, you may control 82 | ; other services alongside the primary service. 83 | HKR, Ndi,CoServices,0x00010000,"ZlzNdisLwf" 84 | HKR, Ndi,HelpText,,%NdisLwf_HelpText% 85 | ; TODO: Set the FilterClass here. The FilterClass controls the order in which 86 | ; filters are bound to the underlying miniport. Possible options include: 87 | ; Custom, Diagnostic, Failover, Loadbalance, Vpn, Compression, Encryption, Scheduler 88 | ; See MSDN for a description of each. 89 | HKR, Ndi,FilterClass,, compression 90 | ; TODO: Specify whether you have a Modifying or Monitoring filter. 91 | ; For a Monitoring filter, use this: 92 | ; HKR, Ndi,FilterType,0x00010001, 1 ; Monitoring filter 93 | ; For a Modifying filter, use this: 94 | ; HKR, Ndi,FilterType,0x00010001, 2 ; Modifying filter 95 | HKR, Ndi,FilterType,0x00010001,2 96 | ; Do not change these values 97 | HKR, Ndi\Interfaces,UpperRange,,"noupper" 98 | HKR, Ndi\Interfaces,LowerRange,,"nolower" 99 | ; TODO: Ensure that the list of media types below is correct. Typically, 100 | ; filters include "ethernet". Filters may also include "ppip" to include 101 | ; native WWAN stacks, but you must be prepared to handle the packet framing. 102 | ; Possible values are listed on MSDN, but common values include: 103 | ; ethernet, wan, ppip, wlan 104 | HKR, Ndi\Interfaces, FilterMediaTypes,,"ethernet, wan, ppip" 105 | ; TODO: Specify whether you have a Mandatory or Optional filter. 106 | ; For a Mandatory filter, use this: 107 | ; HKR, Ndi,FilterRunType,0x00010001, 1 ; Mandatory filter 108 | ; For an Optional filter, use this: 109 | ; HKR, Ndi,FilterRunType,0x00010001, 2 ; Optional filter 110 | HKR, Ndi,FilterRunType,0x00010001, 1 ; Mandatory filter 111 | 112 | ; By default, Mandatory filters unbind all protocols when they are 113 | ; installed/uninstalled, while Optional filters merely pause the stack. If you 114 | ; would like to override this behavior, you can include these options. These 115 | ; options only take effect with 6.30 filters on Windows "8" or later. 116 | ; To prevent a full unbind, and merely pause/restart protocols: 117 | ; HKR, Ndi,UnbindOnAttach,0x00010001, 0 ; Do not unbind during FilterAttach 118 | ; HKR, Ndi,UnbindOnDetach,0x00010001, 0 ; Do not unbind during FilterDetach 119 | ; To force a full unbind/bind (which includes pause/restart, of course): 120 | ; HKR, Ndi,UnbindOnAttach,0x00010001, 1 ; Unbind during FilterAttach 121 | ; HKR, Ndi,UnbindOnDetach,0x00010001, 1 ; Unbind during FilterDetach 122 | ; 123 | 124 | ; NDIS can start a miniport stack even if some Optional filters are 125 | ; missing. However, NDIS reserves the right to wait for the Optional 126 | ; filters to be registered, since it's faster to attach a filter if 127 | ; the protocols haven't been bound yet. 128 | ; If your Optional filter is unlikely to be started at boot, you can 129 | ; use this hint to inform NDIS to spend less time waiting for your 130 | ; filter. Note this setting is ignored for Mandatory filters; NDIS 131 | ; always waits forever for all Mandatory filters. 132 | ; HKR, Ndi,NdisBootStart,0x00010001, 0 ; Don't wait for this driver to start at boot 133 | ; Enable this setting only if your filter will be bound, but the driver 134 | ; is not usually started at boot. If your driver will typically start 135 | ; at boot, then enabling this setting would defeat the NDIS heuristic 136 | ; and slightly slow down boot. 137 | 138 | ;------------------------------------------------------------------------- 139 | ; Service installation support 140 | ;------------------------------------------------------------------------- 141 | [Install.Services] 142 | ; TODO: Customize the name of your NT service here. 143 | ; You may also want to add the SPSVCINST_STARTSERVICE flag, like this: 144 | ; AddService=ZlzNdisLwf,0x800,NdisLwf_Service_Inst ; SPSVCINST_STARTSERVICE 145 | AddService=ZlzNdisLwf,,NdisLwf_Service_Inst 146 | 147 | [NdisLwf_Service_Inst] 148 | DisplayName = %NdisLwf_Desc% 149 | ServiceType = 1 ;SERVICE_KERNEL_DRIVER 150 | ; Typically you will want your filter driver to start with SERVICE_SYSTEM_START. 151 | ; If it is an Optional filter, you may also use 3;SERVICE_DEMAND_START. 152 | StartType = 1 ;SERVICE_SYSTEM_START 153 | ErrorControl = 1 ;SERVICE_ERROR_NORMAL 154 | ; TODO: Customize this to your binary's filename. 155 | ServiceBinary = %12%\zlzndislwf.sys 156 | LoadOrderGroup = NDIS 157 | Description = %NdisLwf_Desc% 158 | AddReg = Common.Params.reg, NdisImPlatformBindingOptions.reg 159 | 160 | [Install.Remove.Services] 161 | ; TODO: Customize the name of your NT service here. 162 | ; The SPSVCINST_STOPSERVICE flag instructs SCM to stop the NT service 163 | ; before uninstalling the driver. 164 | DelService=ZlzNdisLwf,0x200 ; SPSVCINST_STOPSERVICE 165 | 166 | [Common.Params.reg] 167 | ; TODO: You can add any sort of NDIS parameters here. Filter drivers 168 | ; don't always need NDIS parameters, so it's okay to have nothing here. 169 | 170 | ; TODO: Remove the sample parameters below. 171 | 172 | ; Sample 1: "DriverParam" is a per-driver parameter. 173 | HKR, FilterDriverParams\DriverParam, ParamDesc, , "Driverparam for lwf" 174 | HKR, FilterDriverParams\DriverParam, default, , "5" 175 | HKR, FilterDriverParams\DriverParam, type, , "int" 176 | 177 | ; Sample 2: "AdapterParam" is a per-module parameter. 178 | HKR, FilterAdapterParams\AdapterParam, ParamDesc, , "Adapterparam for lwf" 179 | HKR, FilterAdapterParams\AdapterParam, default, , "10" 180 | HKR, FilterAdapterParams\AdapterParam, type, , "int" 181 | 182 | [NdisImPlatformBindingOptions.reg] 183 | ; By default, when an LBFO team or Bridge is created, all filters will be 184 | ; unbound from the underlying members and bound to the TNic(s). This keyword 185 | ; allows a component to opt out of the default behavior 186 | ; To prevent binding this filter to the TNic(s): 187 | ; HKR, Parameters, NdisImPlatformBindingOptions,0x00010001,1 ; Do not bind to TNic 188 | ; To prevent unbinding this filter from underlying members: 189 | ; HKR, Parameters, NdisImPlatformBindingOptions,0x00010001,2 ; Do not unbind from Members 190 | ; To prevent both binding to TNic and unbinding from members: 191 | ; HKR, Parameters, NdisImPlatformBindingOptions,0x00010001,3 ; Do not bind to TNic or unbind from Members 192 | HKR, Parameters, NdisImPlatformBindingOptions,0x00010001,0 ; Subscribe to default behavior 193 | 194 | [Strings] 195 | ; TODO: Customize these strings. 196 | ProviderString = "TODO-Set-Provider" 197 | ManufacturerName = "TODO-Set-Manufacturer" 198 | NdisLwf_Desc = "NDIS Sample LightWeight Filter Create By Zlz" 199 | NdisLwf_HelpText = "A Simple NDIS Network Fliter By Zlz" 200 | 201 | 202 | 203 | 204 | -------------------------------------------------------------------------------- /NDIS 6.30/MyDriver7.sln: -------------------------------------------------------------------------------- 1 | 2 | Microsoft Visual Studio Solution File, Format Version 12.00 3 | # Visual Studio 14 4 | VisualStudioVersion = 14.0.25420.1 5 | MinimumVisualStudioVersion = 10.0.40219.1 6 | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "MY NDIS 6.0", "MY NDIS 6.0\MyDriver7.vcxproj", "{A0FB100C-0577-4389-8B61-3BD30A505B0E}" 7 | EndProject 8 | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "NdisCoreApi", "NdisCoreApi\NdisCoreApi.vcxproj", "{7E2943AC-8181-47CD-8A23-B973E2CD395A}" 9 | EndProject 10 | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "ConsoleTest", "ConsoleTest\ConsoleTest.vcxproj", "{76491131-2F35-4525-B976-A1E7DBD342CA}" 11 | ProjectSection(ProjectDependencies) = postProject 12 | {E84C9229-373F-4683-8CF9-2EECB9029F93} = {E84C9229-373F-4683-8CF9-2EECB9029F93} 13 | {7E2943AC-8181-47CD-8A23-B973E2CD395A} = {7E2943AC-8181-47CD-8A23-B973E2CD395A} 14 | EndProjectSection 15 | EndProject 16 | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "RawPacketAnalysis", "RawPacketAnalysis\RawPacketAnalysis.vcxproj", "{E84C9229-373F-4683-8CF9-2EECB9029F93}" 17 | EndProject 18 | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "NetMonitor", "NetMonitor\NetMonitor\NetMonitor.vcxproj", "{ED266BD3-4617-45A3-957D-076715A25A72}" 19 | ProjectSection(ProjectDependencies) = postProject 20 | {E84C9229-373F-4683-8CF9-2EECB9029F93} = {E84C9229-373F-4683-8CF9-2EECB9029F93} 21 | {7E2943AC-8181-47CD-8A23-B973E2CD395A} = {7E2943AC-8181-47CD-8A23-B973E2CD395A} 22 | EndProjectSection 23 | EndProject 24 | Global 25 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 26 | Debug|ARM = Debug|ARM 27 | Debug|ARM64 = Debug|ARM64 28 | Debug|x64 = Debug|x64 29 | Debug|x86 = Debug|x86 30 | Release|ARM = Release|ARM 31 | Release|ARM64 = Release|ARM64 32 | Release|x64 = Release|x64 33 | Release|x86 = Release|x86 34 | UnicodeDebug|ARM = UnicodeDebug|ARM 35 | UnicodeDebug|ARM64 = UnicodeDebug|ARM64 36 | UnicodeDebug|x64 = UnicodeDebug|x64 37 | UnicodeDebug|x86 = UnicodeDebug|x86 38 | UnicodeRelease|ARM = UnicodeRelease|ARM 39 | UnicodeRelease|ARM64 = UnicodeRelease|ARM64 40 | UnicodeRelease|x64 = UnicodeRelease|x64 41 | UnicodeRelease|x86 = UnicodeRelease|x86 42 | EndGlobalSection 43 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 44 | {A0FB100C-0577-4389-8B61-3BD30A505B0E}.Debug|ARM.ActiveCfg = Debug|ARM 45 | {A0FB100C-0577-4389-8B61-3BD30A505B0E}.Debug|ARM.Build.0 = Debug|ARM 46 | {A0FB100C-0577-4389-8B61-3BD30A505B0E}.Debug|ARM.Deploy.0 = Debug|ARM 47 | {A0FB100C-0577-4389-8B61-3BD30A505B0E}.Debug|ARM64.ActiveCfg = Debug|ARM64 48 | {A0FB100C-0577-4389-8B61-3BD30A505B0E}.Debug|ARM64.Build.0 = Debug|ARM64 49 | {A0FB100C-0577-4389-8B61-3BD30A505B0E}.Debug|ARM64.Deploy.0 = Debug|ARM64 50 | {A0FB100C-0577-4389-8B61-3BD30A505B0E}.Debug|x64.ActiveCfg = Debug|x64 51 | {A0FB100C-0577-4389-8B61-3BD30A505B0E}.Debug|x64.Build.0 = Debug|x64 52 | {A0FB100C-0577-4389-8B61-3BD30A505B0E}.Debug|x64.Deploy.0 = Debug|x64 53 | {A0FB100C-0577-4389-8B61-3BD30A505B0E}.Debug|x86.ActiveCfg = Debug|Win32 54 | {A0FB100C-0577-4389-8B61-3BD30A505B0E}.Debug|x86.Build.0 = Debug|Win32 55 | {A0FB100C-0577-4389-8B61-3BD30A505B0E}.Debug|x86.Deploy.0 = Debug|Win32 56 | {A0FB100C-0577-4389-8B61-3BD30A505B0E}.Release|ARM.ActiveCfg = Release|ARM 57 | {A0FB100C-0577-4389-8B61-3BD30A505B0E}.Release|ARM.Build.0 = Release|ARM 58 | {A0FB100C-0577-4389-8B61-3BD30A505B0E}.Release|ARM.Deploy.0 = Release|ARM 59 | {A0FB100C-0577-4389-8B61-3BD30A505B0E}.Release|ARM64.ActiveCfg = Release|ARM64 60 | {A0FB100C-0577-4389-8B61-3BD30A505B0E}.Release|ARM64.Build.0 = Release|ARM64 61 | {A0FB100C-0577-4389-8B61-3BD30A505B0E}.Release|ARM64.Deploy.0 = Release|ARM64 62 | {A0FB100C-0577-4389-8B61-3BD30A505B0E}.Release|x64.ActiveCfg = Release|x64 63 | {A0FB100C-0577-4389-8B61-3BD30A505B0E}.Release|x64.Build.0 = Release|x64 64 | {A0FB100C-0577-4389-8B61-3BD30A505B0E}.Release|x64.Deploy.0 = Release|x64 65 | {A0FB100C-0577-4389-8B61-3BD30A505B0E}.Release|x86.ActiveCfg = Release|Win32 66 | {A0FB100C-0577-4389-8B61-3BD30A505B0E}.Release|x86.Build.0 = Release|Win32 67 | {A0FB100C-0577-4389-8B61-3BD30A505B0E}.Release|x86.Deploy.0 = Release|Win32 68 | {A0FB100C-0577-4389-8B61-3BD30A505B0E}.UnicodeDebug|ARM.ActiveCfg = Debug|ARM 69 | {A0FB100C-0577-4389-8B61-3BD30A505B0E}.UnicodeDebug|ARM.Build.0 = Debug|ARM 70 | {A0FB100C-0577-4389-8B61-3BD30A505B0E}.UnicodeDebug|ARM.Deploy.0 = Debug|ARM 71 | {A0FB100C-0577-4389-8B61-3BD30A505B0E}.UnicodeDebug|ARM64.ActiveCfg = Debug|ARM64 72 | {A0FB100C-0577-4389-8B61-3BD30A505B0E}.UnicodeDebug|ARM64.Build.0 = Debug|ARM64 73 | {A0FB100C-0577-4389-8B61-3BD30A505B0E}.UnicodeDebug|ARM64.Deploy.0 = Debug|ARM64 74 | {A0FB100C-0577-4389-8B61-3BD30A505B0E}.UnicodeDebug|x64.ActiveCfg = Debug|x64 75 | {A0FB100C-0577-4389-8B61-3BD30A505B0E}.UnicodeDebug|x64.Build.0 = Debug|x64 76 | {A0FB100C-0577-4389-8B61-3BD30A505B0E}.UnicodeDebug|x64.Deploy.0 = Debug|x64 77 | {A0FB100C-0577-4389-8B61-3BD30A505B0E}.UnicodeDebug|x86.ActiveCfg = Debug|Win32 78 | {A0FB100C-0577-4389-8B61-3BD30A505B0E}.UnicodeDebug|x86.Build.0 = Debug|Win32 79 | {A0FB100C-0577-4389-8B61-3BD30A505B0E}.UnicodeDebug|x86.Deploy.0 = Debug|Win32 80 | {A0FB100C-0577-4389-8B61-3BD30A505B0E}.UnicodeRelease|ARM.ActiveCfg = Release|ARM 81 | {A0FB100C-0577-4389-8B61-3BD30A505B0E}.UnicodeRelease|ARM.Build.0 = Release|ARM 82 | {A0FB100C-0577-4389-8B61-3BD30A505B0E}.UnicodeRelease|ARM.Deploy.0 = Release|ARM 83 | {A0FB100C-0577-4389-8B61-3BD30A505B0E}.UnicodeRelease|ARM64.ActiveCfg = Release|ARM64 84 | {A0FB100C-0577-4389-8B61-3BD30A505B0E}.UnicodeRelease|ARM64.Build.0 = Release|ARM64 85 | {A0FB100C-0577-4389-8B61-3BD30A505B0E}.UnicodeRelease|ARM64.Deploy.0 = Release|ARM64 86 | {A0FB100C-0577-4389-8B61-3BD30A505B0E}.UnicodeRelease|x64.ActiveCfg = Release|x64 87 | {A0FB100C-0577-4389-8B61-3BD30A505B0E}.UnicodeRelease|x64.Build.0 = Release|x64 88 | {A0FB100C-0577-4389-8B61-3BD30A505B0E}.UnicodeRelease|x64.Deploy.0 = Release|x64 89 | {A0FB100C-0577-4389-8B61-3BD30A505B0E}.UnicodeRelease|x86.ActiveCfg = Release|Win32 90 | {A0FB100C-0577-4389-8B61-3BD30A505B0E}.UnicodeRelease|x86.Build.0 = Release|Win32 91 | {A0FB100C-0577-4389-8B61-3BD30A505B0E}.UnicodeRelease|x86.Deploy.0 = Release|Win32 92 | {7E2943AC-8181-47CD-8A23-B973E2CD395A}.Debug|ARM.ActiveCfg = Debug|Win32 93 | {7E2943AC-8181-47CD-8A23-B973E2CD395A}.Debug|ARM64.ActiveCfg = Debug|Win32 94 | {7E2943AC-8181-47CD-8A23-B973E2CD395A}.Debug|x64.ActiveCfg = Debug|x64 95 | {7E2943AC-8181-47CD-8A23-B973E2CD395A}.Debug|x64.Build.0 = Debug|x64 96 | {7E2943AC-8181-47CD-8A23-B973E2CD395A}.Debug|x86.ActiveCfg = Debug|Win32 97 | {7E2943AC-8181-47CD-8A23-B973E2CD395A}.Debug|x86.Build.0 = Debug|Win32 98 | {7E2943AC-8181-47CD-8A23-B973E2CD395A}.Release|ARM.ActiveCfg = Release|Win32 99 | {7E2943AC-8181-47CD-8A23-B973E2CD395A}.Release|ARM64.ActiveCfg = Release|Win32 100 | {7E2943AC-8181-47CD-8A23-B973E2CD395A}.Release|x64.ActiveCfg = Release|x64 101 | {7E2943AC-8181-47CD-8A23-B973E2CD395A}.Release|x64.Build.0 = Release|x64 102 | {7E2943AC-8181-47CD-8A23-B973E2CD395A}.Release|x86.ActiveCfg = Release|Win32 103 | {7E2943AC-8181-47CD-8A23-B973E2CD395A}.Release|x86.Build.0 = Release|Win32 104 | {7E2943AC-8181-47CD-8A23-B973E2CD395A}.UnicodeDebug|ARM.ActiveCfg = Release|x64 105 | {7E2943AC-8181-47CD-8A23-B973E2CD395A}.UnicodeDebug|ARM.Build.0 = Release|x64 106 | {7E2943AC-8181-47CD-8A23-B973E2CD395A}.UnicodeDebug|ARM64.ActiveCfg = Release|x64 107 | {7E2943AC-8181-47CD-8A23-B973E2CD395A}.UnicodeDebug|ARM64.Build.0 = Release|x64 108 | {7E2943AC-8181-47CD-8A23-B973E2CD395A}.UnicodeDebug|x64.ActiveCfg = Debug|x64 109 | {7E2943AC-8181-47CD-8A23-B973E2CD395A}.UnicodeDebug|x64.Build.0 = Debug|x64 110 | {7E2943AC-8181-47CD-8A23-B973E2CD395A}.UnicodeDebug|x86.ActiveCfg = Debug|Win32 111 | {7E2943AC-8181-47CD-8A23-B973E2CD395A}.UnicodeDebug|x86.Build.0 = Debug|Win32 112 | {7E2943AC-8181-47CD-8A23-B973E2CD395A}.UnicodeRelease|ARM.ActiveCfg = Release|x64 113 | {7E2943AC-8181-47CD-8A23-B973E2CD395A}.UnicodeRelease|ARM.Build.0 = Release|x64 114 | {7E2943AC-8181-47CD-8A23-B973E2CD395A}.UnicodeRelease|ARM64.ActiveCfg = Release|x64 115 | {7E2943AC-8181-47CD-8A23-B973E2CD395A}.UnicodeRelease|ARM64.Build.0 = Release|x64 116 | {7E2943AC-8181-47CD-8A23-B973E2CD395A}.UnicodeRelease|x64.ActiveCfg = Release|x64 117 | {7E2943AC-8181-47CD-8A23-B973E2CD395A}.UnicodeRelease|x64.Build.0 = Release|x64 118 | {7E2943AC-8181-47CD-8A23-B973E2CD395A}.UnicodeRelease|x86.ActiveCfg = Release|Win32 119 | {7E2943AC-8181-47CD-8A23-B973E2CD395A}.UnicodeRelease|x86.Build.0 = Release|Win32 120 | {76491131-2F35-4525-B976-A1E7DBD342CA}.Debug|ARM.ActiveCfg = Debug|Win32 121 | {76491131-2F35-4525-B976-A1E7DBD342CA}.Debug|ARM64.ActiveCfg = Debug|Win32 122 | {76491131-2F35-4525-B976-A1E7DBD342CA}.Debug|x64.ActiveCfg = Debug|x64 123 | {76491131-2F35-4525-B976-A1E7DBD342CA}.Debug|x64.Build.0 = Debug|x64 124 | {76491131-2F35-4525-B976-A1E7DBD342CA}.Debug|x86.ActiveCfg = Debug|Win32 125 | {76491131-2F35-4525-B976-A1E7DBD342CA}.Debug|x86.Build.0 = Debug|Win32 126 | {76491131-2F35-4525-B976-A1E7DBD342CA}.Release|ARM.ActiveCfg = Release|Win32 127 | {76491131-2F35-4525-B976-A1E7DBD342CA}.Release|ARM64.ActiveCfg = Release|Win32 128 | {76491131-2F35-4525-B976-A1E7DBD342CA}.Release|x64.ActiveCfg = Release|x64 129 | {76491131-2F35-4525-B976-A1E7DBD342CA}.Release|x64.Build.0 = Release|x64 130 | {76491131-2F35-4525-B976-A1E7DBD342CA}.Release|x86.ActiveCfg = Release|Win32 131 | {76491131-2F35-4525-B976-A1E7DBD342CA}.Release|x86.Build.0 = Release|Win32 132 | {76491131-2F35-4525-B976-A1E7DBD342CA}.UnicodeDebug|ARM.ActiveCfg = Release|x64 133 | {76491131-2F35-4525-B976-A1E7DBD342CA}.UnicodeDebug|ARM.Build.0 = Release|x64 134 | {76491131-2F35-4525-B976-A1E7DBD342CA}.UnicodeDebug|ARM64.ActiveCfg = Release|x64 135 | {76491131-2F35-4525-B976-A1E7DBD342CA}.UnicodeDebug|ARM64.Build.0 = Release|x64 136 | {76491131-2F35-4525-B976-A1E7DBD342CA}.UnicodeDebug|x64.ActiveCfg = Debug|x64 137 | {76491131-2F35-4525-B976-A1E7DBD342CA}.UnicodeDebug|x64.Build.0 = Debug|x64 138 | {76491131-2F35-4525-B976-A1E7DBD342CA}.UnicodeDebug|x86.ActiveCfg = Debug|Win32 139 | {76491131-2F35-4525-B976-A1E7DBD342CA}.UnicodeDebug|x86.Build.0 = Debug|Win32 140 | {76491131-2F35-4525-B976-A1E7DBD342CA}.UnicodeRelease|ARM.ActiveCfg = Release|x64 141 | {76491131-2F35-4525-B976-A1E7DBD342CA}.UnicodeRelease|ARM.Build.0 = Release|x64 142 | {76491131-2F35-4525-B976-A1E7DBD342CA}.UnicodeRelease|ARM64.ActiveCfg = Release|x64 143 | {76491131-2F35-4525-B976-A1E7DBD342CA}.UnicodeRelease|ARM64.Build.0 = Release|x64 144 | {76491131-2F35-4525-B976-A1E7DBD342CA}.UnicodeRelease|x64.ActiveCfg = Release|x64 145 | {76491131-2F35-4525-B976-A1E7DBD342CA}.UnicodeRelease|x64.Build.0 = Release|x64 146 | {76491131-2F35-4525-B976-A1E7DBD342CA}.UnicodeRelease|x86.ActiveCfg = Release|Win32 147 | {76491131-2F35-4525-B976-A1E7DBD342CA}.UnicodeRelease|x86.Build.0 = Release|Win32 148 | {E84C9229-373F-4683-8CF9-2EECB9029F93}.Debug|ARM.ActiveCfg = Debug|Win32 149 | {E84C9229-373F-4683-8CF9-2EECB9029F93}.Debug|ARM64.ActiveCfg = Debug|Win32 150 | {E84C9229-373F-4683-8CF9-2EECB9029F93}.Debug|x64.ActiveCfg = Debug|x64 151 | {E84C9229-373F-4683-8CF9-2EECB9029F93}.Debug|x64.Build.0 = Debug|x64 152 | {E84C9229-373F-4683-8CF9-2EECB9029F93}.Debug|x86.ActiveCfg = Debug|Win32 153 | {E84C9229-373F-4683-8CF9-2EECB9029F93}.Debug|x86.Build.0 = Debug|Win32 154 | {E84C9229-373F-4683-8CF9-2EECB9029F93}.Release|ARM.ActiveCfg = Release|Win32 155 | {E84C9229-373F-4683-8CF9-2EECB9029F93}.Release|ARM64.ActiveCfg = Release|Win32 156 | {E84C9229-373F-4683-8CF9-2EECB9029F93}.Release|x64.ActiveCfg = Release|x64 157 | {E84C9229-373F-4683-8CF9-2EECB9029F93}.Release|x64.Build.0 = Release|x64 158 | {E84C9229-373F-4683-8CF9-2EECB9029F93}.Release|x86.ActiveCfg = Release|Win32 159 | {E84C9229-373F-4683-8CF9-2EECB9029F93}.Release|x86.Build.0 = Release|Win32 160 | {E84C9229-373F-4683-8CF9-2EECB9029F93}.UnicodeDebug|ARM.ActiveCfg = Release|x64 161 | {E84C9229-373F-4683-8CF9-2EECB9029F93}.UnicodeDebug|ARM.Build.0 = Release|x64 162 | {E84C9229-373F-4683-8CF9-2EECB9029F93}.UnicodeDebug|ARM64.ActiveCfg = Release|x64 163 | {E84C9229-373F-4683-8CF9-2EECB9029F93}.UnicodeDebug|ARM64.Build.0 = Release|x64 164 | {E84C9229-373F-4683-8CF9-2EECB9029F93}.UnicodeDebug|x64.ActiveCfg = Debug|x64 165 | {E84C9229-373F-4683-8CF9-2EECB9029F93}.UnicodeDebug|x64.Build.0 = Debug|x64 166 | {E84C9229-373F-4683-8CF9-2EECB9029F93}.UnicodeDebug|x86.ActiveCfg = Debug|Win32 167 | {E84C9229-373F-4683-8CF9-2EECB9029F93}.UnicodeDebug|x86.Build.0 = Debug|Win32 168 | {E84C9229-373F-4683-8CF9-2EECB9029F93}.UnicodeRelease|ARM.ActiveCfg = Release|x64 169 | {E84C9229-373F-4683-8CF9-2EECB9029F93}.UnicodeRelease|ARM.Build.0 = Release|x64 170 | {E84C9229-373F-4683-8CF9-2EECB9029F93}.UnicodeRelease|ARM64.ActiveCfg = Release|x64 171 | {E84C9229-373F-4683-8CF9-2EECB9029F93}.UnicodeRelease|ARM64.Build.0 = Release|x64 172 | {E84C9229-373F-4683-8CF9-2EECB9029F93}.UnicodeRelease|x64.ActiveCfg = Release|x64 173 | {E84C9229-373F-4683-8CF9-2EECB9029F93}.UnicodeRelease|x64.Build.0 = Release|x64 174 | {E84C9229-373F-4683-8CF9-2EECB9029F93}.UnicodeRelease|x86.ActiveCfg = Release|Win32 175 | {E84C9229-373F-4683-8CF9-2EECB9029F93}.UnicodeRelease|x86.Build.0 = Release|Win32 176 | {ED266BD3-4617-45A3-957D-076715A25A72}.Debug|ARM.ActiveCfg = Debug|Win32 177 | {ED266BD3-4617-45A3-957D-076715A25A72}.Debug|ARM64.ActiveCfg = Debug|Win32 178 | {ED266BD3-4617-45A3-957D-076715A25A72}.Debug|x64.ActiveCfg = Debug|x64 179 | {ED266BD3-4617-45A3-957D-076715A25A72}.Debug|x64.Build.0 = Debug|x64 180 | {ED266BD3-4617-45A3-957D-076715A25A72}.Debug|x86.ActiveCfg = Debug|Win32 181 | {ED266BD3-4617-45A3-957D-076715A25A72}.Debug|x86.Build.0 = Debug|Win32 182 | {ED266BD3-4617-45A3-957D-076715A25A72}.Release|ARM.ActiveCfg = Release|Win32 183 | {ED266BD3-4617-45A3-957D-076715A25A72}.Release|ARM64.ActiveCfg = Release|Win32 184 | {ED266BD3-4617-45A3-957D-076715A25A72}.Release|x64.ActiveCfg = Release|x64 185 | {ED266BD3-4617-45A3-957D-076715A25A72}.Release|x64.Build.0 = Release|x64 186 | {ED266BD3-4617-45A3-957D-076715A25A72}.Release|x86.ActiveCfg = Release|Win32 187 | {ED266BD3-4617-45A3-957D-076715A25A72}.Release|x86.Build.0 = Release|Win32 188 | {ED266BD3-4617-45A3-957D-076715A25A72}.UnicodeDebug|ARM.ActiveCfg = Release|Win32 189 | {ED266BD3-4617-45A3-957D-076715A25A72}.UnicodeDebug|ARM.Build.0 = Release|Win32 190 | {ED266BD3-4617-45A3-957D-076715A25A72}.UnicodeDebug|ARM64.ActiveCfg = Release|Win32 191 | {ED266BD3-4617-45A3-957D-076715A25A72}.UnicodeDebug|ARM64.Build.0 = Release|Win32 192 | {ED266BD3-4617-45A3-957D-076715A25A72}.UnicodeDebug|x64.ActiveCfg = Debug|x64 193 | {ED266BD3-4617-45A3-957D-076715A25A72}.UnicodeDebug|x64.Build.0 = Debug|x64 194 | {ED266BD3-4617-45A3-957D-076715A25A72}.UnicodeDebug|x86.ActiveCfg = Debug|Win32 195 | {ED266BD3-4617-45A3-957D-076715A25A72}.UnicodeDebug|x86.Build.0 = Debug|Win32 196 | {ED266BD3-4617-45A3-957D-076715A25A72}.UnicodeRelease|ARM.ActiveCfg = Release|Win32 197 | {ED266BD3-4617-45A3-957D-076715A25A72}.UnicodeRelease|ARM.Build.0 = Release|Win32 198 | {ED266BD3-4617-45A3-957D-076715A25A72}.UnicodeRelease|ARM64.ActiveCfg = Release|Win32 199 | {ED266BD3-4617-45A3-957D-076715A25A72}.UnicodeRelease|ARM64.Build.0 = Release|Win32 200 | {ED266BD3-4617-45A3-957D-076715A25A72}.UnicodeRelease|x64.ActiveCfg = Release|x64 201 | {ED266BD3-4617-45A3-957D-076715A25A72}.UnicodeRelease|x64.Build.0 = Release|x64 202 | {ED266BD3-4617-45A3-957D-076715A25A72}.UnicodeRelease|x86.ActiveCfg = Release|Win32 203 | {ED266BD3-4617-45A3-957D-076715A25A72}.UnicodeRelease|x86.Build.0 = Release|Win32 204 | EndGlobalSection 205 | GlobalSection(SolutionProperties) = preSolution 206 | HideSolutionNode = FALSE 207 | EndGlobalSection 208 | EndGlobal 209 | -------------------------------------------------------------------------------- /NDIS 6.30/LICENSE.txt: -------------------------------------------------------------------------------- 1 | GNU GENERAL PUBLIC LICENSE 2 | Version 2, June 1991 3 | 4 | Copyright (C) 1989, 1991 Free Software Foundation, Inc., 5 | 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 6 | Everyone is permitted to copy and distribute verbatim copies 7 | of this license document, but changing it is not allowed. 8 | 9 | Preamble 10 | 11 | The licenses for most software are designed to take away your 12 | freedom to share and change it. By contrast, the GNU General Public 13 | License is intended to guarantee your freedom to share and change free 14 | software--to make sure the software is free for all its users. This 15 | General Public License applies to most of the Free Software 16 | Foundation's software and to any other program whose authors commit to 17 | using it. (Some other Free Software Foundation software is covered by 18 | the GNU Lesser General Public License instead.) You can apply it to 19 | your programs, too. 20 | 21 | When we speak of free software, we are referring to freedom, not 22 | price. Our General Public Licenses are designed to make sure that you 23 | have the freedom to distribute copies of free software (and charge for 24 | this service if you wish), that you receive source code or can get it 25 | if you want it, that you can change the software or use pieces of it 26 | in new free programs; and that you know you can do these things. 27 | 28 | To protect your rights, we need to make restrictions that forbid 29 | anyone to deny you these rights or to ask you to surrender the rights. 30 | These restrictions translate to certain responsibilities for you if you 31 | distribute copies of the software, or if you modify it. 32 | 33 | For example, if you distribute copies of such a program, whether 34 | gratis or for a fee, you must give the recipients all the rights that 35 | you have. You must make sure that they, too, receive or can get the 36 | source code. And you must show them these terms so they know their 37 | rights. 38 | 39 | We protect your rights with two steps: (1) copyright the software, and 40 | (2) offer you this license which gives you legal permission to copy, 41 | distribute and/or modify the software. 42 | 43 | Also, for each author's protection and ours, we want to make certain 44 | that everyone understands that there is no warranty for this free 45 | software. If the software is modified by someone else and passed on, we 46 | want its recipients to know that what they have is not the original, so 47 | that any problems introduced by others will not reflect on the original 48 | authors' reputations. 49 | 50 | Finally, any free program is threatened constantly by software 51 | patents. We wish to avoid the danger that redistributors of a free 52 | program will individually obtain patent licenses, in effect making the 53 | program proprietary. To prevent this, we have made it clear that any 54 | patent must be licensed for everyone's free use or not licensed at all. 55 | 56 | The precise terms and conditions for copying, distribution and 57 | modification follow. 58 | 59 | GNU GENERAL PUBLIC LICENSE 60 | TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 61 | 62 | 0. This License applies to any program or other work which contains 63 | a notice placed by the copyright holder saying it may be distributed 64 | under the terms of this General Public License. The "Program", below, 65 | refers to any such program or work, and a "work based on the Program" 66 | means either the Program or any derivative work under copyright law: 67 | that is to say, a work containing the Program or a portion of it, 68 | either verbatim or with modifications and/or translated into another 69 | language. (Hereinafter, translation is included without limitation in 70 | the term "modification".) Each licensee is addressed as "you". 71 | 72 | Activities other than copying, distribution and modification are not 73 | covered by this License; they are outside its scope. The act of 74 | running the Program is not restricted, and the output from the Program 75 | is covered only if its contents constitute a work based on the 76 | Program (independent of having been made by running the Program). 77 | Whether that is true depends on what the Program does. 78 | 79 | 1. You may copy and distribute verbatim copies of the Program's 80 | source code as you receive it, in any medium, provided that you 81 | conspicuously and appropriately publish on each copy an appropriate 82 | copyright notice and disclaimer of warranty; keep intact all the 83 | notices that refer to this License and to the absence of any warranty; 84 | and give any other recipients of the Program a copy of this License 85 | along with the Program. 86 | 87 | You may charge a fee for the physical act of transferring a copy, and 88 | you may at your option offer warranty protection in exchange for a fee. 89 | 90 | 2. You may modify your copy or copies of the Program or any portion 91 | of it, thus forming a work based on the Program, and copy and 92 | distribute such modifications or work under the terms of Section 1 93 | above, provided that you also meet all of these conditions: 94 | 95 | a) You must cause the modified files to carry prominent notices 96 | stating that you changed the files and the date of any change. 97 | 98 | b) You must cause any work that you distribute or publish, that in 99 | whole or in part contains or is derived from the Program or any 100 | part thereof, to be licensed as a whole at no charge to all third 101 | parties under the terms of this License. 102 | 103 | c) If the modified program normally reads commands interactively 104 | when run, you must cause it, when started running for such 105 | interactive use in the most ordinary way, to print or display an 106 | announcement including an appropriate copyright notice and a 107 | notice that there is no warranty (or else, saying that you provide 108 | a warranty) and that users may redistribute the program under 109 | these conditions, and telling the user how to view a copy of this 110 | License. (Exception: if the Program itself is interactive but 111 | does not normally print such an announcement, your work based on 112 | the Program is not required to print an announcement.) 113 | 114 | These requirements apply to the modified work as a whole. If 115 | identifiable sections of that work are not derived from the Program, 116 | and can be reasonably considered independent and separate works in 117 | themselves, then this License, and its terms, do not apply to those 118 | sections when you distribute them as separate works. But when you 119 | distribute the same sections as part of a whole which is a work based 120 | on the Program, the distribution of the whole must be on the terms of 121 | this License, whose permissions for other licensees extend to the 122 | entire whole, and thus to each and every part regardless of who wrote it. 123 | 124 | Thus, it is not the intent of this section to claim rights or contest 125 | your rights to work written entirely by you; rather, the intent is to 126 | exercise the right to control the distribution of derivative or 127 | collective works based on the Program. 128 | 129 | In addition, mere aggregation of another work not based on the Program 130 | with the Program (or with a work based on the Program) on a volume of 131 | a storage or distribution medium does not bring the other work under 132 | the scope of this License. 133 | 134 | 3. You may copy and distribute the Program (or a work based on it, 135 | under Section 2) in object code or executable form under the terms of 136 | Sections 1 and 2 above provided that you also do one of the following: 137 | 138 | a) Accompany it with the complete corresponding machine-readable 139 | source code, which must be distributed under the terms of Sections 140 | 1 and 2 above on a medium customarily used for software interchange; or, 141 | 142 | b) Accompany it with a written offer, valid for at least three 143 | years, to give any third party, for a charge no more than your 144 | cost of physically performing source distribution, a complete 145 | machine-readable copy of the corresponding source code, to be 146 | distributed under the terms of Sections 1 and 2 above on a medium 147 | customarily used for software interchange; or, 148 | 149 | c) Accompany it with the information you received as to the offer 150 | to distribute corresponding source code. (This alternative is 151 | allowed only for noncommercial distribution and only if you 152 | received the program in object code or executable form with such 153 | an offer, in accord with Subsection b above.) 154 | 155 | The source code for a work means the preferred form of the work for 156 | making modifications to it. For an executable work, complete source 157 | code means all the source code for all modules it contains, plus any 158 | associated interface definition files, plus the scripts used to 159 | control compilation and installation of the executable. However, as a 160 | special exception, the source code distributed need not include 161 | anything that is normally distributed (in either source or binary 162 | form) with the major components (compiler, kernel, and so on) of the 163 | operating system on which the executable runs, unless that component 164 | itself accompanies the executable. 165 | 166 | If distribution of executable or object code is made by offering 167 | access to copy from a designated place, then offering equivalent 168 | access to copy the source code from the same place counts as 169 | distribution of the source code, even though third parties are not 170 | compelled to copy the source along with the object code. 171 | 172 | 4. You may not copy, modify, sublicense, or distribute the Program 173 | except as expressly provided under this License. Any attempt 174 | otherwise to copy, modify, sublicense or distribute the Program is 175 | void, and will automatically terminate your rights under this License. 176 | However, parties who have received copies, or rights, from you under 177 | this License will not have their licenses terminated so long as such 178 | parties remain in full compliance. 179 | 180 | 5. You are not required to accept this License, since you have not 181 | signed it. However, nothing else grants you permission to modify or 182 | distribute the Program or its derivative works. These actions are 183 | prohibited by law if you do not accept this License. Therefore, by 184 | modifying or distributing the Program (or any work based on the 185 | Program), you indicate your acceptance of this License to do so, and 186 | all its terms and conditions for copying, distributing or modifying 187 | the Program or works based on it. 188 | 189 | 6. Each time you redistribute the Program (or any work based on the 190 | Program), the recipient automatically receives a license from the 191 | original licensor to copy, distribute or modify the Program subject to 192 | these terms and conditions. You may not impose any further 193 | restrictions on the recipients' exercise of the rights granted herein. 194 | You are not responsible for enforcing compliance by third parties to 195 | this License. 196 | 197 | 7. If, as a consequence of a court judgment or allegation of patent 198 | infringement or for any other reason (not limited to patent issues), 199 | conditions are imposed on you (whether by court order, agreement or 200 | otherwise) that contradict the conditions of this License, they do not 201 | excuse you from the conditions of this License. If you cannot 202 | distribute so as to satisfy simultaneously your obligations under this 203 | License and any other pertinent obligations, then as a consequence you 204 | may not distribute the Program at all. For example, if a patent 205 | license would not permit royalty-free redistribution of the Program by 206 | all those who receive copies directly or indirectly through you, then 207 | the only way you could satisfy both it and this License would be to 208 | refrain entirely from distribution of the Program. 209 | 210 | If any portion of this section is held invalid or unenforceable under 211 | any particular circumstance, the balance of the section is intended to 212 | apply and the section as a whole is intended to apply in other 213 | circumstances. 214 | 215 | It is not the purpose of this section to induce you to infringe any 216 | patents or other property right claims or to contest validity of any 217 | such claims; this section has the sole purpose of protecting the 218 | integrity of the free software distribution system, which is 219 | implemented by public license practices. Many people have made 220 | generous contributions to the wide range of software distributed 221 | through that system in reliance on consistent application of that 222 | system; it is up to the author/donor to decide if he or she is willing 223 | to distribute software through any other system and a licensee cannot 224 | impose that choice. 225 | 226 | This section is intended to make thoroughly clear what is believed to 227 | be a consequence of the rest of this License. 228 | 229 | 8. If the distribution and/or use of the Program is restricted in 230 | certain countries either by patents or by copyrighted interfaces, the 231 | original copyright holder who places the Program under this License 232 | may add an explicit geographical distribution limitation excluding 233 | those countries, so that distribution is permitted only in or among 234 | countries not thus excluded. In such case, this License incorporates 235 | the limitation as if written in the body of this License. 236 | 237 | 9. The Free Software Foundation may publish revised and/or new versions 238 | of the General Public License from time to time. Such new versions will 239 | be similar in spirit to the present version, but may differ in detail to 240 | address new problems or concerns. 241 | 242 | Each version is given a distinguishing version number. If the Program 243 | specifies a version number of this License which applies to it and "any 244 | later version", you have the option of following the terms and conditions 245 | either of that version or of any later version published by the Free 246 | Software Foundation. If the Program does not specify a version number of 247 | this License, you may choose any version ever published by the Free Software 248 | Foundation. 249 | 250 | 10. If you wish to incorporate parts of the Program into other free 251 | programs whose distribution conditions are different, write to the author 252 | to ask for permission. For software which is copyrighted by the Free 253 | Software Foundation, write to the Free Software Foundation; we sometimes 254 | make exceptions for this. Our decision will be guided by the two goals 255 | of preserving the free status of all derivatives of our free software and 256 | of promoting the sharing and reuse of software generally. 257 | 258 | NO WARRANTY 259 | 260 | 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY 261 | FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN 262 | OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES 263 | PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED 264 | OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 265 | MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS 266 | TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE 267 | PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, 268 | REPAIR OR CORRECTION. 269 | 270 | 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING 271 | WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR 272 | REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, 273 | INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING 274 | OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED 275 | TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY 276 | YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER 277 | PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE 278 | POSSIBILITY OF SUCH DAMAGES. 279 | 280 | END OF TERMS AND CONDITIONS 281 | 282 | How to Apply These Terms to Your New Programs 283 | 284 | If you develop a new program, and you want it to be of the greatest 285 | possible use to the public, the best way to achieve this is to make it 286 | free software which everyone can redistribute and change under these terms. 287 | 288 | To do so, attach the following notices to the program. It is safest 289 | to attach them to the start of each source file to most effectively 290 | convey the exclusion of warranty; and each file should have at least 291 | the "copyright" line and a pointer to where the full notice is found. 292 | 293 | {description} 294 | Copyright (C) {year} {fullname} 295 | 296 | This program is free software; you can redistribute it and/or modify 297 | it under the terms of the GNU General Public License as published by 298 | the Free Software Foundation; either version 2 of the License, or 299 | (at your option) any later version. 300 | 301 | This program is distributed in the hope that it will be useful, 302 | but WITHOUT ANY WARRANTY; without even the implied warranty of 303 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 304 | GNU General Public License for more details. 305 | 306 | You should have received a copy of the GNU General Public License along 307 | with this program; if not, write to the Free Software Foundation, Inc., 308 | 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 309 | 310 | Also add information on how to contact you by electronic and paper mail. 311 | 312 | If the program is interactive, make it output a short notice like this 313 | when it starts in an interactive mode: 314 | 315 | Gnomovision version 69, Copyright (C) year name of author 316 | Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. 317 | This is free software, and you are welcome to redistribute it 318 | under certain conditions; type `show c' for details. 319 | 320 | The hypothetical commands `show w' and `show c' should show the appropriate 321 | parts of the General Public License. Of course, the commands you use may 322 | be called something other than `show w' and `show c'; they could even be 323 | mouse-clicks or menu items--whatever suits your program. 324 | 325 | You should also get your employer (if you work as a programmer) or your 326 | school, if any, to sign a "copyright disclaimer" for the program, if 327 | necessary. Here is a sample; alter the names: 328 | 329 | Yoyodyne, Inc., hereby disclaims all copyright interest in the program 330 | `Gnomovision' (which makes passes at compilers) written by James Hacker. 331 | 332 | {signature of Ty Coon}, 1 April 1989 333 | Ty Coon, President of Vice 334 | 335 | This General Public License does not permit incorporating your program into 336 | proprietary programs. If your program is a subroutine library, you may 337 | consider it more useful to permit linking proprietary applications with the 338 | library. If this is what you want to do, use the GNU Lesser General 339 | Public License instead of this License. --------------------------------------------------------------------------------