Closed ryaquaza closed 3 years ago
A kernel driver (WinPcap or Npcap) has to be installed for arpspoof to run. The library arpspoof uses to talk to the driver is already statically linked into the .exe so no further DLLs are required.
Wireshark is not required per se, but it's a convenient way to install the driver. However, you can install the driver directly without Wireshark: https://nmap.org/npcap/#download.
Many thanks for your answer. I want to ask that instead of installing the kernel driver, can I directly add WinPcap include, WinPcap library(I found it in NpcapSDK) to the source code to compile or not?
No, it's not instead, it's in addition. The pcap library from the SDK is already included in the .exe, but you also need the driver, which is separate and has to be installed.
Thanks for your help.
Hello, I want to ask is there a way to run arpspoof without having to install Wirehark? For example just add .lib or dll file to generated .exe folder?