Skip to main content
Help us improve Python packaging – donate today!

Python library for crafting SAP's network protocols packets

Project Description

[pysap]( is a Python library that provides modules for crafting and sending packets using SAP’s NI, Message Server, Router, RFC, SNC, Enqueue and Diag protocols. The modules are build on top of [Scapy]( and are based on information acquired at researching the different protocols and services.


  • Dissection and crafting of the following network protocols:

    • SAP Network Interface (NI)
    • SAP Diag
    • SAP Enqueue
    • SAP Router
    • SAP Message Server (MS)
    • SAP SNC
  • Client interfaces for handling the following file formats:

    • SAP SAR archive files
  • Library implementing SAP’s LZH and LZC compression algorithms.

  • Automatic compression/decompression of payloads with SAP’s algorithms.

  • Client, proxy and server classes implemented for some of the protocols.

  • Example scripts to illustrate the use of the different modules and protocols.

  1. 2012-2017 by Martin Gallo, Core Security.

GNU General Public License v2 or later (GPLv2+).

Release history Release notifications

This version
History Node


History Node


History Node


History Node

History Node


History Node


History Node


History Node


History Node


History Node


History Node


History Node


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
pysap-0.1.15-cp27-cp27m-macosx_10_12_intel.whl (114.1 kB) Copy SHA256 hash SHA256 Wheel cp27 Mar 27, 2018
pysap-0.1.15-cp27-cp27m-win32.whl (90.2 kB) Copy SHA256 hash SHA256 Wheel cp27 Mar 27, 2018
pysap-0.1.15-cp27-cp27m-win_amd64.whl (93.9 kB) Copy SHA256 hash SHA256 Wheel cp27 Mar 27, 2018
pysap-0.1.15.tar.gz (6.0 MB) Copy SHA256 hash SHA256 Source None Mar 27, 2018

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page