Daniel Miller

Results 45 issues of Daniel Miller

Right now, --script will tab-complete names of scripts that can be found in Nmap's search path (`$NMAPDIR/scripts/*.nse` and `~/.nmap/scripts/*.nse`) but doesn't work for absolute or relative paths to scripts in...

In `pcap-npf.c`, the snapshot value is by default set to `MAXIMUM_SNAPLEN`, 262144. The user buffer for communication with the driver is set to `WIN32_DEFAULT_USER_BUFFER_SIZE`, 256000. Therefore, libpcap may instruct the...

windows

When building the DLL, the build will succeed but the DLL will have no exports because it is missing the `pcap_EXPORTS` macro definition checked for in `pcap/funcattrs.h`. The fix seems...

compiling

A licensee reports that Nmap quits with the message, "Error compiling our pcap filter: expression rejects all packets," when scanning for an address in the 169.254.0.0/16 link-local IPv4 network range....

bug
Nmap

Currently, Nmap only supports reading target specs from one file OR from the command-line. We should be able to support multiple files AND command-line specs at the same time. Some...

enhancement
Nmap

We should use the Universal CRT to avoid needing to install a VC runtime on Windows 10 and later. We may already have done this, but need to confirm that...

enhancement
Windows

https://docs.microsoft.com/en-us/windows/win32/shell/app-registration Nmap's Windows installer currently (by default) adds the Nmap install directory to the system PATH so that nmap.exe can be run from a command prompt. Windows 7 and later...

enhancement
Windows

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...

Need to update documentation for recent changes to the Npcap installer. Specifically, 2 return codes in silent mode: * ERROR_SUCCESS_REBOOT_REQUIRED (3010) * ERROR_FAIL_NOACTION_REBOOT (350) But also audit for other changes...

documentation

Examples are currently split between `Examples` (older WinPcap stuff) and `Examples-pcap` (WinPcap's "cross-platform" examples). There are code differences, missing error checks, older/deprecated API usage, etc. Additionally, the `sendpack` example does...