[TLS] Major module overhaul (#542)

* TLS module major overhaul

* Clean TLS directory

* TLS 1.3 packets and basic client automaton (+ session fixes)

* Fix multiple key share entries

* Convergence py3

* Support features from cryptography v2.0

* Validate CertificateVerify signatures

* Small fix on TLS signature parsing

* Small fixes in TLS module

* Enhance Encrypted PMS support

* Convergence py3 - print

* Revert useless changes

* Strengthen crypto lib validation
44 files changed
tree: 56177f8c06e642c76c72c069c6a2cb85c2147452
  1. .appveyor/
  2. .travis/
  3. bin/
  4. dev/
  5. doc/
  6. scapy/
  7. test/
  8. .appveyor.yml
  9. .codecov.yml
  10. .coveragerc
  11. .gitattributes
  12. .gitignore
  13. .travis.yml
  14. CONTRIBUTING.md
  15. LICENSE
  16. MANIFEST.in
  17. README.md
  18. run_scapy
  19. run_scapy.bat
  20. setup.cfg
  21. setup.py
README.md

Scapy

Travis Build Status AppVeyor Build Status Codecov 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.

Installation

Scapy works without any external Python modules on Linux and BSD like operating systems. On Windows, you need to install some mandatory dependencies as described in the documentation.

To benefit from all Scapy features, you might want to install Python modules, such as matplotlib or cryptography.

See the tutorial and follow the instructions to install scapy.

Tutorial

To begin with scapy, see the 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.