nmap help

HI, I’m having problem with my nmap. as you can see below, i tried to nmap changeme.nmap.org but it said that 1 IP address (0 hosts up). what could be the possible problem? thank you. PS: I’m just new in using linux and no background in programming, Thank you

[root@hawksbill]─[/home/user]
└──╼ #nmap changeme.nmap.org
Starting Nmap 7.70 ( https://nmap.org ) at 2019-01-27 13:45 GMT
sendto in send_ip_packet_sd: sendto(4, packet, 40, 0, 45.33.49.119, 16) => Operation not permitted
Offending packet: TCP 10.0.2.15:49000 > 45.33.49.119:80 A ttl=53 id=44856 iplen=40  seq=0 win=1024 
sendto in send_ip_packet_sd: sendto(4, packet, 40, 0, 45.33.49.119, 16) => Operation not permitted
Offending packet: TCP 10.0.2.15:49001 > 45.33.49.119:80 A ttl=48 id=11519 iplen=40  seq=0 win=1024 
Note: Host seems down. If it is really up, but blocking our ping probes, try -Pn
Nmap done: 1 IP address (0 hosts up) scanned in 4.10 seconds



---

Your command is fine. But your system is blocking the outbound packets. Might have to change some iptables rules to fix it.

How are you running parrot? What version? ect… Try to fill out the template next time eh :wink:

There is nothing wrong with nmap
Screenshot%20from%202019-01-27%2023-44-55

hello Mr. KidKlown. I’m using parrot 4.5 on virtualbox. how can I change or what will I change in iptables? thank you

Well if we disable all iptables rules first, to make sure it is iptables blocking it.

iptables-save > /etc/network/iptables.rules
iptables -F
iptables -t nat -F

Now try nmap and see if it works. Then restore your iptables rules.

iptables-restore < /etc/network/iptables.rules

1 Like