idealeer / xmap

XMap is a fast network scanner designed for performing Internet-wide IPv6 & IPv4 network research scanning.
Apache License 2.0
373 stars 45 forks source link

add port to output file #16

Open SirAlidadi opened 1 year ago

SirAlidadi commented 1 year ago

Hello, how can I add the port to the end of the scanned ports in the output? Is there such a feature?

idealeer commented 1 year ago

yes. --output-fields option provides choices to select any output fields in the output.

SirAlidadi commented 1 year ago

./xmap -i enp35s0 -4 -R 0 -p 3388,8080 -O csv --probe-args=file:rang.txt -o iplist.txt -T9 --output-fields saddr,port

This command gives an error because the port field is wrong. What field should I enter for port?

SirAlidadi commented 1 year ago

IMG_20230915_183205_463

idealeer commented 8 months ago

please use sport or dport.