Home > Software design >  Sendp function in Scapy
Sendp function in Scapy

Time:04-27

I'm using sendp() function in Scapy module to send packet. And it's really works, but I get report:

Sent 1 packet

How can I hide this report? I don't want, that sendp() write something.

CodePudding user response:

You can set the verbosity to 0 before you send the packet:

from scapy.all import conf

conf.verb = 0

# Start sending packets here...
  • Related