Recently I had a problem, each time using sudo for nmap with --spoof-mac gives me an output that the host is down, which actually is not right because I know it is up.
Why is that happening?
Giving here an example to what happened when I sent this command on the terminal:
$ sudo nmap --spoof-mac Apple 192.168.1.1 -Pn
Host discovery disabled (-Pn). All addresses will be marked 'up' and scan times will be slower.
Starting Nmap 7.91 ( https://nmap.org ) at 2021-01-02 05:12 CST
Spoofing MAC address 00:03:93:03:E5:58 (Apple)
Nmap done: 1 IP address (0 hosts up) scanned in 1.68 seconds
--sppof-mac, you get a different output?--spoof-mac?