commit | db7c72f041294e905fb361b4e61d1902125dc212 | [log] [tgz] |
---|---|---|
author | Pierre Lalet <pierre@droids-corp.org> | Tue Dec 20 08:08:57 2016 +0000 |
committer | Guillaume Valadon <guillaume@valadon.net> | Tue Dec 20 09:08:57 2016 +0100 |
tree | 71dfcf80b46f90c790fc9e5c3a032dbf0dc76c51 | |
parent | 7ec0af2c0943c46e222d410f85a2215d45e91078 [diff] |
Add conf.checkIPinIP (#387) * Add conf.checkIPinIP This setting, when set to False, will exclude IP layers which encapsulate another IP layer from the checks to tell if a packet is an answer to another one. Fixes #383 * conf.checkIPinIP affects both IP() and IPv6() Setting conf.checkIPinIP will handle IP()/IP(), IP()/IPv6(), IPv6()/IP(), IPv6()/IPv6(). Thanks @guedou! * Clean-up IP.hashret and .answers code * Add tests for .hashret() and .answers()
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).
Want to contribute? Great! Please take a few minutes to read this!
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.