SAP Netweaver and SAP HANA are technology platforms for building and integrating SAP business applications. Communication between components uses different network protocols and some services and tools make use of custom file formats as well. While some of them are standard and well-known protocols, others are proprietaries and public information is not available.
pysap is an open source Python library that provides modules for crafting and sending packets using SAP's
RFC protocols. In addition, support for creating and parsing different proprietary file formats is included. The modules are built on top of Scapy and are based on information acquired at researching the different protocols, file formats and services.
- Dissection and crafting of the following network protocols:
- SAP Network Interface (
- SAP Message Server (
- SAP Secure Network Connection (
- SAP Internet Graphic Server (
- SAP Remote Function Call (
- SAP Network Interface (
- Client interfaces for handling the following file formats:
- SAP Personal Security Environment (
- SAP SSO Credential (
- Library implementing SAP's
- 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.
- You can check out trunk (development version) at https://github.com/SecureAuthCorp/pysap
- v0.1.17, released on November 5th, 2019 - https://github.com/SecureAuthCorp/pysap/archive/v0.1.17.tar.gz
- v0.1.16, released on June 21st, 2018 - https://github.com/SecureAuthCorp/pysap/archive/v0.1.16.tar.gz
- v0.1.15, released on March 27th, 2018 - https://github.com/SecureAuthCorp/pysap/archive/v0.1.15.tar.gz
- v0.1.14, released on October 4th, 2017 - https://github.com/SecureAuthCorp/pysap/archive/v0.1.14.tar.gz
- v0.1.13, released on February 16th, 2017 - https://github.com/SecureAuthCorp/pysap/archive/v0.1.13.tar.gz
- v0.1.12.1, released on December 19th, 2016 - https://github.com/SecureAuthCorp/pysap/archive/v0.1.12.1.tar.gz
- v0.1.12, released on December 16th, 2016 - https://github.com/SecureAuthCorp/pysap/archive/v0.1.12.tar.gz
- v0.1.11, released on October 12th, 2016 - https://github.com/SecureAuthCorp/pysap/archive/v0.1.11.tar.gz
- v0.1.10, released on March 25th, 2016 - https://github.com/SecureAuthCorp/pysap/archive/v0.1.10.tar.gz
- v0.1.9, released on February 8th, 2016 - https://github.com/SecureAuthCorp/pysap/archive/v0.1.9.tar.gz
- v0.1.8, released on October 29th, 2015 - https://github.com/SecureAuthCorp/pysap/archive/v0.1.8.tar.gz
- v0.1.7, released on May 13th, 2015 - https://github.com/SecureAuthCorp/pysap/archive/v0.1.7.tar.gz
- v0.1.6, released on Mach 25th, 2015 - https://github.com/SecureAuthCorp/pysap/archive/v0.1.6.tar.gz
- v0.1.5, released on January 16th, 2015 - https://github.com/SecureAuthCorp/pysap/archive/v0.1.5.tar.gz
- v0.1.4, released on March 25th, 2014 - https://github.com/SecureAuthCorp/pysap/archive/v0.1.4.tar.gz
- v0.1.3, released on August 28th, 2013 – attachment
- v0.1.2, released on September 27th, 2012 – attachment
- v0.1.1, released on July 29th, 2012 – attachment
- Requirements: Python 2.7. Some third-party packets are also required.
- Installing: To install pysap simply run:
$ pip install pysap
Or from a directory you checked out the source code run:
$ pip install .
Documentation is available at Read the Docs.
This library is distributed under the GPLv2 license. Check the
COPYING file for more details.
Whether you want to report a bug or give some suggestions on this package, drop us a few lines at
firstname.lastname@example.org or contact the author email