I\'m writing a small script, that gathers some information using scapy and then returns some xml code, that I\'ll pass on to the xmlrpc interface of metasploit. I\'d like it tha
You can get rid of warnings by scapy by adding:
logging.getLogger("scapy.runtime").setLevel(logging.ERROR)
before importing Scapy. This will suppress all messages that have a lower level of seriousness than error messages.
for example:
import logging
logging.getLogger("scapy.runtime").setLevel(logging.ERROR)
from scapy.all import *
...