You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If this is going to work well we will need to be have clarity on what network interface we are sniffing on.
The names change depending on OS and sometimes hardware. Things that will helkp in the long term
Being able to list all network interface
Determining what the active network interface (does scapy tell you that?)
Getting all the info for the active interface this could include
Gateway IP
Subnet
Proxy Info if any
Having this information available will help in the future
The text was updated successfully, but these errors were encountered:
On Mac, it looks like it uses ifconfig and netstat. To access ifconfig function: from scapy.arch.unix import _guess_iface_name (kinda useless because it requires an argument to guess against). To access netstat function: from scapy.arch.unix import read_routes
There's also a value called conf.iface which is available wherever... probably the output of _guess_iface_name and similar functions for Windows, Linux architectures.
If this is going to work well we will need to be have clarity on what network interface we are sniffing on.
The names change depending on OS and sometimes hardware. Things that will helkp in the long term
Having this information available will help in the future
The text was updated successfully, but these errors were encountered: