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
I think this is the correct way.
>>> import sys >>> sys.stderr = None # suppress stderr >>> from scapy.all import * >>> sys.stderr = sys.__stderr__ # restore stderr >>> print("other errors can be shown", file=sys.stderr) other errors can be shown >>>