nmap / nmap/npcap

Use netcfg.exe instead of NPFInstall.exe to install npcap driver

Open
#614 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C
Stars
3.6k
Forks
592
PR merge metrics
No merged PRs in 30d

Description

I think we can remove the -i, -i2, -u, and -u2 options from NPFInstall.exe in favor of invoking netcfg.exe, which is present on Windows by default:

netcfg.exe -l "C:\path\to\npcap.inf" -c s -i INSECURE_NPCAP

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing NPFInstall.exe and its handling of the -i, -i2, -u, and -u2 options, then compare that flow with the netcfg.exe command shown in the issue. Done means the driver installation path uses netcfg.exe and the existing option behavior is removed or preserved as intended.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
networking, operating-systems
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.