Closed randomactsofsecurity closed 3 years ago
Describe the bug Nmap files containing MAC addresses are included in the scan for URL's when parsing the nmap XML file
To Reproduce Example NMAP File containing multiple addresses:
<address addr="192.168.1.1" addrtype="ipv4"/> <address addr="00:00:00:00:00:00" addrtype="mac" vendor="FakeVendor"/>
Gowitness Result:
17 Sep 2020 10:50:00 ERR preflight failed for url error="Get \"https://00:00:00:00:00:00\": dial tcp: lookup 00:00:00:00:00:00: no such host"
Expected behavior Just need to modify cmd/nmap.go to exclude an address type of 'mac'
Version Information:
Additional context I'm 99% sure MAC addresses can't be used in a URL, but not 100% sure
Thank you!
Describe the bug Nmap files containing MAC addresses are included in the scan for URL's when parsing the nmap XML file
To Reproduce Example NMAP File containing multiple addresses:
Gowitness Result:
Expected behavior Just need to modify cmd/nmap.go to exclude an address type of 'mac'
Version Information:
Additional context I'm 99% sure MAC addresses can't be used in a URL, but not 100% sure