I tried multiple times to hide, but no success. Any help?
I already tried -
from scapy.all import *
import logging
logging.getLogger("scapy.runtime").setLevel(logging.ERROR)
Still get the same warning on console.
WARNING: No route found for IPv6 destination :: (no default route?)
FYI, I'm using Scapy with Python 2.7 on OS Mavericks.
You need to import logging and adjust the settings for the logging message first.
What's happening is you import scapy
into your namespace, trigger the error - and then change the logging settings.
import logging
logging.getLogger("scapy.runtime").setLevel(logging.ERROR)
from scapy.all import *
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With