Setting up Scapy for Python 3.
Please note : I tried installing it on Windows 10 but I'm getting library exceptions being reported. So I installed it on Docker Ubuntu instead.
Scapy all Pen tester to easily create their own tools for network analysis.
Please download Scapy from here. Please note : This requires Python3.
There are some setup instruction which allows you to manually install or through pip.
If you're sitting behind the firewall, you might get need to run the following commands :-
'python setup.py install'
That's probably it. But if you encounter issue like 'unable to find wpcap.dll', just http://www.winpcap.org/ and install winpcap.exe
from scapy.all import *
send(IP(dst='www.google.com')/ICMP())
You can see that 1 packet is being sent out.
Comments