Unpacking Software Livestream

Join our monthly Unpacking Software livestream to hear about the latest news, chat and opinion on packaging, software deployment and lifecycle management!

Learn More

Chocolatey Product Spotlight

Join the Chocolatey Team on our regular monthly stream where we put a spotlight on the most recent Chocolatey product releases. You'll have a chance to have your questions answered in a live Ask Me Anything format.

Learn More

Chocolatey Coding Livestream

Join us for the Chocolatey Coding Livestream, where members of our team dive into the heart of open source development by coding live on various Chocolatey projects. Tune in to witness real-time coding, ask questions, and gain insights into the world of package management. Don't miss this opportunity to engage with our team and contribute to the future of Chocolatey!

Learn More

Calling All Chocolatiers! Whipping Up Windows Automation with Chocolatey Central Management

Webinar from
Wednesday, 17 January 2024

We are delighted to announce the release of Chocolatey Central Management v0.12.0, featuring seamless Deployment Plan creation, time-saving duplications, insightful Group Details, an upgraded Dashboard, bug fixes, user interface polishing, and refined documentation. As an added bonus we'll have members of our Solutions Engineering team on-hand to dive into some interesting ways you can leverage the new features available!

Watch On-Demand
Chocolatey Community Coffee Break

Join the Chocolatey Team as we discuss all things Community, what we do, how you can get involved and answer your Chocolatey questions.

Watch The Replays
Chocolatey and Intune Overview

Webinar Replay from
Wednesday, 30 March 2022

At Chocolatey Software we strive for simple, and teaching others. Let us teach you just how simple it could be to keep your 3rd party applications updated across your devices, all with Intune!

Watch On-Demand
Chocolatey For Business. In Azure. In One Click.

Livestream from
Thursday, 9 June 2022

Join James and Josh to show you how you can get the Chocolatey For Business recommended infrastructure and workflow, created, in Azure, in around 20 minutes.

Watch On-Demand
The Future of Chocolatey CLI

Livestream from
Thursday, 04 August 2022

Join Paul and Gary to hear more about the plans for the Chocolatey CLI in the not so distant future. We'll talk about some cool new features, long term asks from Customers and Community and how you can get involved!

Watch On-Demand
Hacktoberfest Tuesdays 2022

Livestreams from
October 2022

For Hacktoberfest, Chocolatey ran a livestream every Tuesday! Re-watch Cory, James, Gary, and Rain as they share knowledge on how to contribute to open-source projects such as Chocolatey CLI.

Watch On-Demand

Downloads:

17,150

Downloads of v 1.8.1:

19

Last Update:

09 Mar 2025

Published Date:

09 Mar 2025

Package Maintainer(s):

Software Author(s):

  • Nmap Software LLC

Tags:

driver packetcapture network admin

Npcap

(Waiting for Maintainer to take corrective action)

  • 1
  • 2
  • 3

1.8.1 | Updated: 09 Mar 2025

Downloads:

17,150

Downloads of v 1.8.1:

19

Published:

09 Mar 2025

Maintainer(s):

Software Author(s):

  • Nmap Software LLC

Npcap 1.8.1

(Waiting for Maintainer to take corrective action)

Legal Disclaimer: Neither this package nor Chocolatey Software, Inc. are affiliated with or endorsed by Nmap Software LLC. The inclusion of Nmap Software LLC trademark(s), if any, upon this webpage is solely to identify Nmap Software LLC goods or services and not for commercial purposes.

  • 1
  • 2
  • 3

Some Checks Have Failed or Are Not Yet Complete

Not All Tests Have Passed


Validation Testing Passed


Verification Testing Failed

Details

Scan Testing Pending

IMPORTANT

This version is in moderation and has not yet been approved. This means it doesn't show up under normal search.

  • Until approved, you should consider this package version unsafe - it could do very bad things to your system (it probably doesn't but you have been warned, that's why we have moderation).
  • This package version can change wildly over the course of moderation until it is approved. If you install it and it later has changes to this version, you will be out of sync with any changes that have been made to the package. Until approved, you should consider that this package version doesn't even exist.
  • You cannot install this package under normal scenarios. See How to install package version under moderation for more information.
  • There are also no guarantees that it will be approved.
WARNING

There are versions of this package awaiting moderation (possibly just this one). See the Version History section below.

Pauby (maintainer) on 09 Mar 2025 17:15:38 +00:00:

User 'Pauby' (maintainer) submitted package.

chocolatey-ops (reviewer) on 09 Mar 2025 17:48:15 +00:00:

npcap has failed automated validation.

Requirements

Requirements represent the minimum quality of a package that is acceptable. When a package version has failed requirements, the package version requires fixing and/or response by the maintainer. Provided a Requirement has flagged correctly, it must be fixed before the package version can be approved. The exact same version should be uploaded during moderation review.

  • Package automation scripts download a remote file without validating the checksum. More...
Guidelines

Guidelines are strong suggestions that improve the quality of a package version. These are considered something to fix for next time to increase the quality of the package. Over time Guidelines can become Requirements. A package version can be approved without addressing Guideline comments but will reduce the quality of the package.

  • In the Description element of the nuspec file a potentially invalid Url has been found. Recommendation is to fix this URL More...

Pauby (maintainer) on 09 Mar 2025 18:02:59 +00:00:

User 'Pauby' (maintainer) submitted package.

chocolatey-ops (reviewer) on 09 Mar 2025 18:38:54 +00:00:

npcap has passed automated validation. It may have or may still fail other checks like testing (verification).
Congratulations! This package passed automatic validation review without flagging on any issues the validator currently checks. A human review could still turn up issues a computer may not easily find.

chocolatey-ops (reviewer) on 09 Mar 2025 22:18:58 +00:00:

npcap has failed automated package testing (verification).
Please visit https://gist.github.com/choco-bot/92b574d3ceb273e22abc7243963094ad for details.
The package status will be changed and will be waiting on your next actions.

  • NEW! We have a test environment for you to replicate the testing we do. This can be used at any time to test packages! See https://github.com/chocolatey-community/chocolatey-test-environment
  • Please log in and leave a review comment if you have questions and/or comments.
  • If you see the verifier needs to rerun testing against the package without resubmitting (a issue in the test results), you can do that on the package page in the review section.
  • If the verifier is incompatible with the package, please log in and leave a review comment if the package needs to bypass testing (e.g. package installs specific drivers).
  • Automated testing can also fail when a package is not completely silent or has pop ups (AutoHotKey can assist - a great example is the VeraCrypt package).
  • A package that cannot be made completely unattended should have the notSilent tag. Note that this must be approved by moderators.
Description

Npcap is the Nmap Project's packet capture (and sending) library for Microsoft Windows. It implements the open Pcap API using a custom Windows kernel driver alongside our Windows build of the excellent libpcap library. This allows Windows software to capture raw network traffic (including wireless networks, wired ethernet, localhost traffic, and many VPNs) using a simple, portable API. Npcap allows for sending raw packets as well. Mac and Linux systems already include the Pcap API, so Npcap allows popular software such as Nmap and Wireshark to run on all these platforms (and more) with a single codebase. Npcap began in 2013 as some improvements to the (now discontinued) WinPcap library, but has been largely rewritten since then with hundreds of releases improving Npcap's speed, portability, security, and efficiency. In particular, Npcap now offers:

  • Loopback Packet Capture and Injection
  • Support for all Current Windows Releases
  • Libpcap API
  • Support for all Windows architectures (x86, x86-64, and ARM)
  • Extra Security
  • WinPcap compatibility
  • Raw (monitor mode) 802.11 wireless capture

The free version of Npcap may be used (but not externally redistributed) on up to 5 systems (free license details). It may also be used on unlimited systems where it is only used with Nmap, Wireshark, and/or Microsoft Defender for Identity. See the website for details on Npcap OEM for Commercial Use and Redistribution.

Notes

  • To allow the installation to be automated, a deppendency on autohotkey.portable v2.0.0 or later is used.
  • This is NOT an automatically updated package. If you find it is out of date, please contact the maintainer(s) and let them know.
  • I am unable to answer comments left on Disqus. If you have something related to the package:
    1. Raise a discussion for questions.
    2. Raise an issue for a broken package.

tools\chocolateyInstall.ps1
$ErrorActionPreference = 'Stop'

$toolsDir    = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"

$packageArgs = @{
    packageName     = $env:ChocolateyPackageName
    fileType        = 'EXE'
    url             = 'https://npcap.com/dist/npcap-1.81.exe'
    softwareName    = 'Npcap*'

    checksum        = '69a7f8467d2d207fc9f188dda5fea42e13de71f126ebf42bcf4b4682d5b68bd0'
    checksumType    = 'SHA256'

    validExitCodes  = @(0)
}

$ahkExe = 'AutoHotKey'
$ahkFile = Join-Path -Path $env:TEMP -ChildPath "$(Get-Random).ahk" 
$ahkSourceFile = Join-Path -Path $toolsDir -ChildPath "$($env:ChocolateyPackageName)_install.ahk"
Copy-Item -Path $ahkSourceFile -Destination $ahkFile -Force | Out-Null

Write-Verbose "Running AutoHotkey install script $ahkFile"
$ahkProc = Start-Process -FilePath $ahkExe -ArgumentList $ahkFile -PassThru
$ahkId = $ahkProc.Id
Write-Debug "$ahkExe start time:`t$($ahkProc.StartTime.ToShortTimeString())"
Write-Debug "Process ID:`t$ahkId"

Install-ChocolateyPackage @packageArgs

Remove-Item $ahkFile -Force -ErrorAction SilentlyContinue
tools\chocolateyUninstall.ps1
$ErrorActionPreference = 'Stop'

$toolsDir = $(Split-Path -parent $MyInvocation.MyCommand.Definition)

$packageArgs = @{
    packageName    = $env:ChocolateyPackageName
    softwareName   = "Npcap*" 
    fileType       = 'EXE'

    validExitCodes = @(0)
}

$ahkExe = 'AutoHotKey'
$ahkFile = Join-Path -Path $env:TEMP -ChildPath "$(Get-Random).ahk" 
$ahkSourceFile = Join-Path -Path $toolsDir -ChildPath "$($env:ChocolateyPackageName)_uninstall.ahk"
Copy-Item -Path $ahkSourceFile -Destination $ahkFile -Force | Out-Null

[array]$key = Get-UninstallRegistryKey -SoftwareName $packageArgs.softwareName
if ($key.Count -eq 1) {
    $key | ForEach-Object {
        $packageArgs.file = $_.UninstallString

        Write-Verbose "Running AutoHotkey install script $ahkFile"
        $ahkProc = Start-Process -FilePath $ahkExe -ArgumentList $ahkFile -PassThru
        $ahkId = $ahkProc.Id
        Write-Debug "$ahkExe start time:`t$($ahkProc.StartTime.ToShortTimeString())"
        Write-Debug "Process ID:`t$ahkId"

        Uninstall-ChocolateyPackage @packageArgs
    }
}
elseif ($key.Count -eq 0) {
    Write-Warning "$packageName has already been uninstalled by other means."
}
elseif ($key.Count -gt 1) {
    Write-Warning "$key.Count matches found!"
    Write-Warning "To prevent accidental data loss, no programs will be uninstalled."
    Write-Warning "Please alert package maintainer the following keys were matched:"
    $key | ForEach-Object {
        Write-Warning "- $_.DisplayName"
    }
}

Remove-Item $ahkFile -Force -ErrorAction SilentlyContinue
tools\npcap_install.ahk
#NoTrayIcon
; #Warn  ; Enable warnings to assist with detecting common errors.
SendMode "Input"  ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir A_ScriptDir  ; Ensures a consistent starting directory.
SetTitleMatchMode 1
SetControlDelay -1

winTitle := "Npcap"

try {
    WinWait(winTitle, "License Agreement", 90)

    WinActivate
    ; Click the "I Agree" button
    ControlClick("I &Agree", winTitle)

    WinWait(winTitle, "Installation Options", 90)

    WinActivate
    ; Click the "Install" button
    ControlClick("&Install", winTitle)

    WinWait(winTitle, "Installation Complete", 90)

    WinActivate
    ; Click the "Next" button
    ControlClick("&Next >", winTitle)

    WinWait(winTitle, "Finished", 90)

    WinActivate
    ; Click the "Finish" button
    ControlClick("Finish", winTitle)
}
tools\npcap_uninstall.ahk
#NoTrayIcon
; #Warn  ; Enable warnings to assist with detecting common errors.
SendMode "Input"  ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir A_ScriptDir  ; Ensures a consistent starting directory.
SetTitleMatchMode 1
SetControlDelay -1

winTitle := "Npcap"

try {
    WinWait(winTitle, "Uninstall", 90)

    WinActivate
    ; Click the "Uninstall" button
    ControlClick("&Uninstall", winTitle)

    WinWait(winTitle, "Uninstallation Complete", 90)

    WinActivate
    ; Click the "Close" button
    ControlClick("&Close", winTitle)
}

No results available for this package. We are building up results for older packages over time so expect to see results. If this is a new package, it should have results within a day or two.

Add to Builder Version Downloads Last Updated Status
Npcap 1.8.1 19 Sunday, March 9, 2025
Waiting for Maintainer
Discussion for the Npcap Package

Ground Rules:

  • This discussion is only about Npcap and the Npcap package. If you have feedback for Chocolatey, please contact the Google Group.
  • This discussion will carry over multiple versions. If you have a comment about a particular version, please note that in your comments.
  • The maintainers of this Chocolatey Package will be notified about new comments that are posted to this Disqus thread, however, it is NOT a guarantee that you will get a response. If you do not hear back from the maintainers after posting a message below, please follow up by using the link on the left side of this page or follow this link to contact maintainers. If you still hear nothing back, please follow the package triage process.
  • Tell us what you love about the package or Npcap, or tell us what needs improvement.
  • Share your experiences with the package, or extra configuration or gotchas that you've found.
  • If you use a url, the comment will be flagged for moderation until you've been whitelisted. Disqus moderated comments are approved on a weekly schedule if not sooner. It could take between 1-5 days for your comment to show up.
comments powered by Disqus