nmap / nmap/npcap

Npcap: Write debug logs to %APPDATA%, not Program Files

Open
#88 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

The debug build of Npcap writes Packet.log to the installation directory (usually C:\Program Files\Npcap\), but not all users will have write access there. We should use %APPDATA% instead, and make sure the installation directory is not writable by other users.

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

Locate the debug-build code that writes Packet.log and the installer or installation-permission configuration. Verify that logging works for users without write access to Program Files, and check that the installation directory is not writable by other users.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
operating-systems, security
Issue type
Bug
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.