Jump to content

UDP Scan (-sU) and save the output in the three major formats at once (-oA) doesn't work


Recommended Posts

Is it possible to save the output of UDP scan (-sU) in the three major formats at once?

I don't have any issue with TCP scan.

$ nmap scanme.nmap.org -oA tcp
Starting Nmap 7.91 ( https://nmap.org )
Nmap scan report for scanme.nmap.org (
Host is up (0.19s latency).
Other addresses for scanme.nmap.org (not scanned): 2600:3c01::f03c:91ff:fe00:bb2f
Not shown: 995 closed ports
22/tcp    open     ssh
25/tcp    filtered smtp
80/tcp    open     http
9929/tcp  open     nping-echo
31337/tcp open     Elite

Nmap done: 1 IP address (1 host up) scanned in 7.40 seconds

However, it doesn't work well with UDP scan

$ nmap -sU scanme.nmap.org -oA udp
You requested a scan type which requires root privileges.

$ sudo nmap -sU scanme.nmap.org -oA udp
Failed to open normal output file udp.nmap for writing
$ ls -lh
total 16K
-rw-rw-r-- 1 wolf wolf  441 Jul   6 00:20 tcp.gnmap
-rw-rw-r-- 1 wolf wolf  541 Jul   6 00:20 tcp.nmap
-rw-rw-r-- 1 wolf wolf 5.9K Jul   6 00:20 tcp.xml

The only output files generated was for TCP scan. What about UDP scan? Is it possible to use -sU with -oA?

Link to comment
Share on other sites


This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...