scapyを起動すると、以下のような警告が出ることがある。
>>> from scapy.all import *
WARNING: No route found for IPv6 destination :: (no default route?). This affects only IPv6
>>> from scapy.all import *
WARNING: No IPv4 address found on anpi1 !
WARNING: No IPv4 address found on anpi0 !
WARNING: more No IPv4 address found on en3 !
以下で警告を消せる。
>>> import logging
>>> logging.getLogger("scapy.runtime").setLevel(logging.ERROR)
>>> from scapy.all import *
0件のコメント