xmap icon indicating copy to clipboard operation
xmap copied to clipboard

add port to output file

Open SirAlidadi opened this issue 2 years ago • 4 comments

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

SirAlidadi avatar Sep 14 '23 16:09 SirAlidadi

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

idealeer avatar Sep 15 '23 00:09 idealeer

./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 avatar Sep 15 '23 13:09 SirAlidadi

IMG_20230915_183205_463

SirAlidadi avatar Sep 15 '23 14:09 SirAlidadi

please use sport or dport.

idealeer avatar Jan 06 '24 01:01 idealeer