npcap手动安装

1 安装包使用7z解压
目录结构如下
│ CheckStatus.bat
│ DiagReport-20190406-141023.txt
│ DiagReport.bat
│ DiagReport.ps1
│ FixInstall.bat
│ LICENSE
│ npcap.cat
│ npcap.inf
│ npcap.sys
│ npcap_wfp.inf
│ npf.cat
│ npf.inf
│ npf.sys
│ NPFInstall.exe
│ NPFInstall2.exe
│ npf_wfp.inf
│ Uninstall.exe

└─$SYSDIR
│ NpcapHelper.exe
│ Packet.dll
│ WlanHelper.exe
│ wpcap.dll

└─Npcap
NpcapHelper.exe
Packet.dll
WlanHelper.exe
wpcap.dll
2 执行npfinstall -h

OPTIONS:
-i : Install the LWF driver
-i2 : Install the LWF driver (with Wi-Fi support)
-u : Uninstall the LWF driver
-u2 : Uninstall the LWF driver (with Wi-Fi support)
-iw : Install the WFP callout driver
-uw : Uninstall the WFP callout driver
-il : Install “Npcap loopback adapter”
-ul : Uninstall “Npcap loopback adapter”
-ii : Install the legacy driver (for XP)
-uu : Uninstall the legacy driver (for XP)
-r : Restart all bindings
-r2 : Restart all bindings (with Wi-Fi support)
-d : Detect whether the driver service is pending to stop
-check_dll : Detect whether the Npcap DLLs are still used by any processes, will list them if yes
-kill_proc : Terminate all the processes that are still using Npcap DLLs
-kill_proc_soft : Gracefully terminate all the processes that are still using Npcap DLLs (only for GUI processes, CLI processes will not be terminated)
-kill_proc_polite : Politely terminate all the processes that are still using Npcap DLLs (wait for 15 seconds for GUI processes to close themselves, CLI processes will still be terminiated immediatelly)
-c : Clear all the driverstore cache for the driver
-wlan_check : Check whether this machine owns a wireless adapter
-wlan_write_reg : Write the names of all wireless adapters to registry
-add_path : Add Npcap folder to the PATH environment variable
-remove_path : Remove Npcap folder from the PATH environment variable
-n : Hide this window when executing the command
-h : Print this help summary page

3 执行npfinstall -add_path 添加当前目录到环境变量
4 执行npfinstall -i2 完成npcap驱动安装安装
接下来可以安装wireshark等抓捕工具

你可能感兴趣的:(软件)