Jump to content

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


w01f

Recommended Posts

Posted

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?

Posted

We'll I can't even read your Text. It allmost matches the white background.

Posted

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.

Archived

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

  • Recently Browsing   0 members

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