I need an #nmap wizard. Can someone explain? This doesn't make any sense.
% sudo nmap -n -Pn -p80 192.168.183.32
Starting Nmap 7.94 ( https://nmap.org ) at 2024-11-28 11:29 CET
Nmap done: 1 IP address (0 hosts up) scanned in 1.46 seconds
% sudo nc 192.168.183.32 80
GET / HTTP/1.0
HTTP/1.1 301 Moved Permanently
Cache-Control: no-cache
@buherator weird, -sS doesn't send out a SYN according to wireshark, where as -sT works fine and I see the packets. I guess weird MacOS interface stuff, need to look into that
@buherator @floyd Just lost a few hours yesterday for the same-ish reason, genuinely thought scapy was broken 😞
@swapgs @buherator btw. it wasn't the raw socket permission issue, because I didn't change anything in that regards (only restarted, unplugged/plugged interfaces, etc.) and now it works again. I guess it was really some routing or such, but I absolutely need to figure this out somehow at one point. Wireshark was empty for the correct interface. And in the end this is buggy, nmap should at least show an error. Also combination of "-Pn" and "0 hosts up" doesn't add up, does it?
@floyd As I understand it, nmap does not see the host as up and therefore does not perform a port scan on port 80. You could tell nmap to accept all hosts as up with "-Pn" (if I'm not mistaken).
@mark22k you should probably reread the command flags in my post, it's already in there :) and therefore the entire mistery