MyKings/python-masscan

if the host is down it will throw an exception

0c0c0f opened this issue · 2 comments

mas.scan('120.24.234.46')

image

This error is caused by 120.24.234.46 address unreasonable.

I try to ping, returns the following result:

$ ping 120.24.234.46 -c 3
PING 120.24.234.46 (120.24.234.46): 56 data bytes
Request timeout for icmp_seq 0
Request timeout for icmp_seq 1

--- 120.24.234.46 ping statistics ---
3 packets transmitted, 0 packets received, 100.0% packet loss

Address has 0 hosts associated with it.