r-richter / hyenae-ng

Hyenae NG is an advanced cross-platform network packet generator and the successor of Hyenae. It features full network layer spoofing, pattern based address randomization and flood detection breaking mechanisms.
GNU General Public License v3.0
126 stars 31 forks source link

How to install npcap sdk #22

Open saltfish233 opened 2 years ago

saltfish233 commented 2 years ago

I don't know how to install it, who can help me?

saltfish233 commented 2 years ago

I'v solve it.

mountaincastle47 commented 2 years ago

I'v solve it.

Bro how do i install pls give me instructions

jqknono commented 2 years ago

For Windows,

  1. install choco
Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1'))
  1. install make
choco install make
  1. change the Makefile line:
    CXXFLAGS = -std=c++17 -g -Wall

to

CXXFLAGS = -std=c++17 -g -Wall -I"D:\code_private\hyenae-ng\npcap-sdk-1.12\Include" -L"D:\code_private\hyenae-ng\npcap-sdk-1.12\Lib\x64"
  1. download the SDK and uncompress to the folder above, NPCap SDK
  2. read INSTALL.md in the repo, make all
mountaincastle47 commented 2 years ago

For Windows,

  1. install choco
Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1'))
  1. install make
choco install make
  1. change the Makefile line:
CXXFLAGS = -std=c++17 -g -Wall

to

CXXFLAGS = -std=c++17 -g -Wall -ID:\code_private\hyenae-ng\npcap-sdk-1.12\Include -LD:\code_private\hyenae-ng\npcap-sdk-1.12\Lib\x64
  1. download the SDK and unpress to the folder above, NPCap SDK
  2. read INSTALL.md in the repo, make all

Ty