Scapy: the Python-based interactive packet manipulation program & library. Supports Python 2 & Python 3.
Go to file
Guillaume Valadon 02ae08b4ad Workaround to ignore interfaces name truncated by netstat
When interface names are longer than 7 characters, netstat will truncate
them to the first 7 chars which leads to looking up an invalid interface
name.
We attempt to guess the name of the interface based on the output of
ifconfig -l. If there is only one candidate we consider it, otherwise we
ignore it.
2016-08-12 11:35:02 +00:00
.travis cert.py improvements (#175) 2016-07-20 14:17:12 +02:00
bin Fixed visible REM lines in Windows .bat files 2009-10-18 16:02:10 +02:00
doc Merge pull request #216 from guedou/notebook_pipes 2016-07-11 08:20:01 +00:00
scapy Workaround to ignore interfaces name truncated by netstat 2016-08-12 11:35:02 +00:00
test Workaround to ignore interfaces name truncated by netstat 2016-08-12 11:35:02 +00:00
.gitignore Add .pyo to the ignored files 2016-08-03 13:49:42 +02:00
.hgsigs Added signature for changeset 8e04919bddd5 2014-12-23 12:30:00 +01:00
.hgtags Added tag v2.3.1 for changeset 13cb4ed640f3 2014-12-23 12:28:59 +01:00
.travis.yml Run unit tests on Linux and OS X - root and non-root 2016-06-08 09:53:11 +02:00
CONTRIBUTING.md Add section about "contributions wanted" 2016-03-20 15:04:27 +01:00
LICENSE Add license file 2015-05-13 18:31:50 -07:00
MANIFEST.in Added all files in bin/ to MANIFEST.in so that .bat are not forgotten in source archive 2010-04-07 14:13:47 +02:00
README.md doc improvement proposal (#207) 2016-07-08 08:48:44 +02:00
run_scapy python --version may output to stderr (fixes #101) 2016-03-26 12:39:20 +01:00
run_scapy.bat Fixed run_scapy.bat to work under Python 2.6 2009-10-30 22:34:19 +01:00
setup.cfg Update setup files for PyPI 2016-01-21 19:40:52 +01:00
setup.py 'packages' list in setup.py has been updated. (#224) 2016-07-27 13:27:51 +02:00

README.md

Scapy

Build Status

Scapy is a powerful Python-based interactive packet manipulation program and library.

It is able to forge or decode packets of a wide number of protocols, send them on the wire, capture them, match requests and replies, and much more.

It can easily handle most classical tasks like scanning, tracerouting, probing, unit tests, attacks or network discovery (it can replace hping, 85% of nmap, arpspoof, arp-sk, arping, tcpdump, tethereal, p0f, etc.). It also performs very well at a lot of other specific tasks that most other tools can't handle, like sending invalid frames, injecting your own 802.11 frames, combining technics (VLAN hopping+ARP cache poisoning, VOIP decoding on WEP encrypted channel, ...), etc.

See interactive tutorial and the quick demo: an interactive session (some examples may be outdated).

Contributing

Want to contribute? Great! Please take a few minutes to read this!

License

Scapy is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 2.

Scapy is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with Scapy. If not, see the gnu.org web site.