home-assistant-libs / home-assistant-libs/python-nmap
"-d" output broken
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 30
- Forks
- 2
- PR merge metrics
- No merged PRs in 30d
Description
When using PortScanner() with arguments "-O -d" the XML isn't parsed correctly and breaks
The suggested work around is call get_nmap_last_output() without the "-d" tag but that information doesn't include the fingerprints I'm after
Any help would be appreciated
This is particularly relevant to resolving the Windows 11 os fingerprint, as it generates a unique one every time so I'd like to analyze the output fingerprint that seems to only appear using the debugging tag (-d)
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at the PortScanner() handling for the "-O -d" arguments and reproduce the XML parsing failure. Compare this with get_nmap_last_output() and inspect how the debugging output contains the requested OS fingerprints. Done means debugging output is parsed without breaking and the fingerprints remain available to callers.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- networking
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100