mrschyte / nmap-converter

Python script for converting nmap reports into XLS
BSD 2-Clause "Simplified" License
336 stars 87 forks source link

Mac-Address #4

Closed dlaarschot closed 5 years ago

dlaarschot commented 5 years ago

Looking to modify your script to include Mac-addresses. Cant seem to find out if that variable has been defined? Any ideas. Thanks.

mrschyte commented 5 years ago

Hi! Does your NMap results include MAC addresses? If your report has the data, you can access the MAC address using host.mac from the script. I've created a small patch for you that you can try out: https://gist.github.com/mrschyte/9f965d4b2f4b5a3339b38b8105695376

dlaarschot commented 5 years ago

Thanks! Exactly what I was looking for, should have tried host.mac! Thanks again!

dlaarschot commented 5 years ago

Thanks working perfectly :)