├── .github ├── ISSUE_TEMPLATE │ ├── bug_report.md │ └── feature_request.md └── workflows │ └── test.yml ├── .gitignore ├── LICENSE.txt ├── README.md ├── requirements.txt ├── src ├── MANIFEST.in ├── README.txt ├── pyshark │ ├── __init__.py │ ├── cache.py │ ├── capture │ │ ├── __init__.py │ │ ├── capture.py │ │ ├── file_capture.py │ │ ├── inmem_capture.py │ │ ├── live_capture.py │ │ ├── live_ring_capture.py │ │ ├── pipe_capture.py │ │ └── remote_capture.py │ ├── config.ini │ ├── config.py │ ├── ek_field_mapping.py │ ├── packet │ │ ├── __init__.py │ │ ├── common.py │ │ ├── consts.py │ │ ├── fields.py │ │ ├── layers │ │ │ ├── __init__.py │ │ │ ├── base.py │ │ │ ├── ek_layer.py │ │ │ ├── json_layer.py │ │ │ └── xml_layer.py │ │ ├── packet.py │ │ └── packet_summary.py │ └── tshark │ │ ├── __init__.py │ │ ├── output_parser │ │ ├── __init__.py │ │ ├── base_parser.py │ │ ├── tshark_ek.py │ │ ├── tshark_json.py │ │ └── tshark_xml.py │ │ └── tshark.py ├── setup.py └── tox.ini └── tests ├── capture ├── test_capture.py ├── test_inmem_capture.py └── test_live_capture.py ├── conftest.py ├── data ├── capture_test.pcapng ├── ek_field_mapping.json ├── packet.json ├── packet.xml └── packet_ek.json ├── packet └── test_fields.py ├── test_basic_parsing.py ├── test_cap_operations.py ├── test_ek_field_mapping.py ├── test_packet_operations.py └── tshark ├── test_tshark.py ├── test_tshark_ek.py ├── test_tshark_json.py └── test_tshark_xml.py /.github/ISSUE_TEMPLATE/bug_report.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KimiNewt/pyshark/HEAD/.github/ISSUE_TEMPLATE/bug_report.md -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/feature_request.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KimiNewt/pyshark/HEAD/.github/ISSUE_TEMPLATE/feature_request.md -------------------------------------------------------------------------------- /.github/workflows/test.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KimiNewt/pyshark/HEAD/.github/workflows/test.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KimiNewt/pyshark/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KimiNewt/pyshark/HEAD/LICENSE.txt -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KimiNewt/pyshark/HEAD/README.md -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KimiNewt/pyshark/HEAD/requirements.txt -------------------------------------------------------------------------------- /src/MANIFEST.in: -------------------------------------------------------------------------------- 1 | include pyshark/config.ini -------------------------------------------------------------------------------- /src/README.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KimiNewt/pyshark/HEAD/src/README.txt -------------------------------------------------------------------------------- /src/pyshark/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KimiNewt/pyshark/HEAD/src/pyshark/__init__.py -------------------------------------------------------------------------------- /src/pyshark/cache.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KimiNewt/pyshark/HEAD/src/pyshark/cache.py -------------------------------------------------------------------------------- /src/pyshark/capture/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/pyshark/capture/capture.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KimiNewt/pyshark/HEAD/src/pyshark/capture/capture.py -------------------------------------------------------------------------------- /src/pyshark/capture/file_capture.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KimiNewt/pyshark/HEAD/src/pyshark/capture/file_capture.py -------------------------------------------------------------------------------- /src/pyshark/capture/inmem_capture.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KimiNewt/pyshark/HEAD/src/pyshark/capture/inmem_capture.py -------------------------------------------------------------------------------- /src/pyshark/capture/live_capture.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KimiNewt/pyshark/HEAD/src/pyshark/capture/live_capture.py -------------------------------------------------------------------------------- /src/pyshark/capture/live_ring_capture.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KimiNewt/pyshark/HEAD/src/pyshark/capture/live_ring_capture.py -------------------------------------------------------------------------------- /src/pyshark/capture/pipe_capture.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KimiNewt/pyshark/HEAD/src/pyshark/capture/pipe_capture.py -------------------------------------------------------------------------------- /src/pyshark/capture/remote_capture.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KimiNewt/pyshark/HEAD/src/pyshark/capture/remote_capture.py -------------------------------------------------------------------------------- /src/pyshark/config.ini: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KimiNewt/pyshark/HEAD/src/pyshark/config.ini -------------------------------------------------------------------------------- /src/pyshark/config.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KimiNewt/pyshark/HEAD/src/pyshark/config.py -------------------------------------------------------------------------------- /src/pyshark/ek_field_mapping.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KimiNewt/pyshark/HEAD/src/pyshark/ek_field_mapping.py -------------------------------------------------------------------------------- /src/pyshark/packet/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/pyshark/packet/common.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KimiNewt/pyshark/HEAD/src/pyshark/packet/common.py -------------------------------------------------------------------------------- /src/pyshark/packet/consts.py: -------------------------------------------------------------------------------- 1 | TRANSPORT_LAYERS = ['UDP', 'TCP'] 2 | -------------------------------------------------------------------------------- /src/pyshark/packet/fields.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KimiNewt/pyshark/HEAD/src/pyshark/packet/fields.py -------------------------------------------------------------------------------- /src/pyshark/packet/layers/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/pyshark/packet/layers/base.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KimiNewt/pyshark/HEAD/src/pyshark/packet/layers/base.py -------------------------------------------------------------------------------- /src/pyshark/packet/layers/ek_layer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KimiNewt/pyshark/HEAD/src/pyshark/packet/layers/ek_layer.py -------------------------------------------------------------------------------- /src/pyshark/packet/layers/json_layer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KimiNewt/pyshark/HEAD/src/pyshark/packet/layers/json_layer.py -------------------------------------------------------------------------------- /src/pyshark/packet/layers/xml_layer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KimiNewt/pyshark/HEAD/src/pyshark/packet/layers/xml_layer.py -------------------------------------------------------------------------------- /src/pyshark/packet/packet.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KimiNewt/pyshark/HEAD/src/pyshark/packet/packet.py -------------------------------------------------------------------------------- /src/pyshark/packet/packet_summary.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KimiNewt/pyshark/HEAD/src/pyshark/packet/packet_summary.py -------------------------------------------------------------------------------- /src/pyshark/tshark/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/pyshark/tshark/output_parser/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/pyshark/tshark/output_parser/base_parser.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KimiNewt/pyshark/HEAD/src/pyshark/tshark/output_parser/base_parser.py -------------------------------------------------------------------------------- /src/pyshark/tshark/output_parser/tshark_ek.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KimiNewt/pyshark/HEAD/src/pyshark/tshark/output_parser/tshark_ek.py -------------------------------------------------------------------------------- /src/pyshark/tshark/output_parser/tshark_json.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KimiNewt/pyshark/HEAD/src/pyshark/tshark/output_parser/tshark_json.py -------------------------------------------------------------------------------- /src/pyshark/tshark/output_parser/tshark_xml.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KimiNewt/pyshark/HEAD/src/pyshark/tshark/output_parser/tshark_xml.py -------------------------------------------------------------------------------- /src/pyshark/tshark/tshark.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KimiNewt/pyshark/HEAD/src/pyshark/tshark/tshark.py -------------------------------------------------------------------------------- /src/setup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KimiNewt/pyshark/HEAD/src/setup.py -------------------------------------------------------------------------------- /src/tox.ini: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KimiNewt/pyshark/HEAD/src/tox.ini -------------------------------------------------------------------------------- /tests/capture/test_capture.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KimiNewt/pyshark/HEAD/tests/capture/test_capture.py -------------------------------------------------------------------------------- /tests/capture/test_inmem_capture.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KimiNewt/pyshark/HEAD/tests/capture/test_inmem_capture.py -------------------------------------------------------------------------------- /tests/capture/test_live_capture.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KimiNewt/pyshark/HEAD/tests/capture/test_live_capture.py -------------------------------------------------------------------------------- /tests/conftest.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KimiNewt/pyshark/HEAD/tests/conftest.py -------------------------------------------------------------------------------- /tests/data/capture_test.pcapng: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KimiNewt/pyshark/HEAD/tests/data/capture_test.pcapng -------------------------------------------------------------------------------- /tests/data/ek_field_mapping.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KimiNewt/pyshark/HEAD/tests/data/ek_field_mapping.json -------------------------------------------------------------------------------- /tests/data/packet.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KimiNewt/pyshark/HEAD/tests/data/packet.json -------------------------------------------------------------------------------- /tests/data/packet.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KimiNewt/pyshark/HEAD/tests/data/packet.xml -------------------------------------------------------------------------------- /tests/data/packet_ek.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KimiNewt/pyshark/HEAD/tests/data/packet_ek.json -------------------------------------------------------------------------------- /tests/packet/test_fields.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KimiNewt/pyshark/HEAD/tests/packet/test_fields.py -------------------------------------------------------------------------------- /tests/test_basic_parsing.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KimiNewt/pyshark/HEAD/tests/test_basic_parsing.py -------------------------------------------------------------------------------- /tests/test_cap_operations.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KimiNewt/pyshark/HEAD/tests/test_cap_operations.py -------------------------------------------------------------------------------- /tests/test_ek_field_mapping.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KimiNewt/pyshark/HEAD/tests/test_ek_field_mapping.py -------------------------------------------------------------------------------- /tests/test_packet_operations.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KimiNewt/pyshark/HEAD/tests/test_packet_operations.py -------------------------------------------------------------------------------- /tests/tshark/test_tshark.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KimiNewt/pyshark/HEAD/tests/tshark/test_tshark.py -------------------------------------------------------------------------------- /tests/tshark/test_tshark_ek.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KimiNewt/pyshark/HEAD/tests/tshark/test_tshark_ek.py -------------------------------------------------------------------------------- /tests/tshark/test_tshark_json.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KimiNewt/pyshark/HEAD/tests/tshark/test_tshark_json.py -------------------------------------------------------------------------------- /tests/tshark/test_tshark_xml.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KimiNewt/pyshark/HEAD/tests/tshark/test_tshark_xml.py --------------------------------------------------------------------------------