├── Packet.dll ├── wpcap.dll ├── npf_x64.sys ├── npf_x86.sys ├── Install_WinPcap.bat └── README.md /Packet.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RaymiiOrg/Winpcap_Install/master/Packet.dll -------------------------------------------------------------------------------- /wpcap.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RaymiiOrg/Winpcap_Install/master/wpcap.dll -------------------------------------------------------------------------------- /npf_x64.sys: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RaymiiOrg/Winpcap_Install/master/npf_x64.sys -------------------------------------------------------------------------------- /npf_x86.sys: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RaymiiOrg/Winpcap_Install/master/npf_x86.sys -------------------------------------------------------------------------------- /Install_WinPcap.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | cd %~dp0 3 | if "%PROCESSOR_ARCHITECTURE%"=="x86" move npf_x86.sys %SystemRoot%\system32\drivers\npf.sys 4 | if "%PROCESSOR_ARCHITECTURE%"=="AMD64" move npf_x64.sys %SystemRoot%\system32\drivers\npf.sys 5 | if exist %SystemRoot%\system32\drivers\npf.sys (echo move success!) else (echo move error!) 6 | sc create npf binPath= system32\drivers\npf.sys type= kernel start= demand error= normal tag= no DisplayName= "NetGroup Packet Filter Driver" 7 | sc start npf 8 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # WinPcap_Install 2 | Auto install WinPcap on Windows(command line) 3 | 4 | Reverse the installation of WinPcap and use the Install_WinPcap.bat to achieve the same goal. 5 | 6 | Author: 3gstudent@3gstudent 7 | 8 | License: BSD 3-Clause 9 | 10 | - Need Administrator permission 11 | - Support x86 and x64 12 | - Use to start masscan or nmap on Windows System. Maybe other tools need more files of WinPcap. 13 | 14 | Details: 15 | 16 | https://3gstudent.github.io/3gstudent.github.io/%E6%B8%97%E9%80%8F%E6%8A%80%E5%B7%A7-Windows%E5%B9%B3%E5%8F%B0%E8%BF%90%E8%A1%8CMasscan%E5%92%8CNmap/ 17 | --------------------------------------------------------------------------------