nmap / nmap/nmap

Add raw IP packet sending abstraction so Windows Nmap can support current dnet.ip_open scripts (path-mtu, firewalk, ipid-seq, qscan, etc.)

Open
#522 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug NSE Windows
Dominant language
C
Stars
13.6k
Forks
2.9k
PR merge metrics
No merged PRs in 30d

Description

Windows does not allow raw sockets, so we need to send raw ethernet frames instead. This is what Nmap does for ultrascan and OS detection. Using dnet's eth_* instead of ip_* functions will work.

Contributor guide

Open the contributing guide

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

The issue names dnet's eth_* and ip_* functions and the affected scripts: path-mtu, firewalk, ipid-seq, and qscan. Start by comparing those dnet abstractions and tracing how the scripts use dnet.ip_open. Done means the current dnet.ip_open scripts can send raw Ethernet frames on Windows.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
networking
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.