Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IPv6 address displayed as IPv4 in XML output #807

Open
Cr4ckC4t opened this issue Dec 15, 2024 · 0 comments · May be fixed by #808
Open

IPv6 address displayed as IPv4 in XML output #807

Cr4ckC4t opened this issue Dec 15, 2024 · 0 comments · May be fixed by #808

Comments

@Cr4ckC4t
Copy link

Using masscan on scanme.nmap.org (2600:3c01::f03c:91ff:fe18:bb2f) with -oX yields:

<?xml version="1.0"?>
<!-- masscan v1.0 scan -->
<nmaprun scanner="masscan" start="1734254071" version="1.0-BETA"  xmloutputversion="1.03">
<scaninfo type="syn" protocol="tcp" />
<host endtime="1734254071"><address addr="2600:3c01::f03c:91ff:fe18:bb2f" addrtype="ipv4"/><ports><port protocol="tcp" portid="22"><state state="open" reason="syn-ack" reason_ttl="255"/></port></ports></host>
<runstats>
<finished time="1734254083" timestr="2024-12-15 10:14:43" elapsed="12" />
<hosts up="1" down="0" total="1" />
</runstats>
</nmaprun>

Issue: The addr field shows the IPv6 address but addrtype is "ipv4".

Expected output: In XML output, addrtype is "ipv6" for IPv6 addresses.

@Cr4ckC4t Cr4ckC4t linked a pull request Dec 15, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant