Jump to content

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


w01f
 Share

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 (45.33.32.156)
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
PORT      STATE    SERVICE
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.
QUITTING!
$ 

$ sudo nmap -sU scanme.nmap.org -oA udp
Failed to open normal output file udp.nmap for writing
QUITTING!
$ 
$ 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

Read the output, the scan has failed so it won't create any output.

Don't know why, check disk space or file access permissions.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

  • Recently Browsing   0 members

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