Python library for crafting SAP's network protocols packets
pysap - Python library for crafting SAP's network protocols packets
SECUREAUTH LABS. Copyright (C) 2021 SecureAuth Corporation. All rights reserved.
Version 0.1.19 (April 2021)
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 generally not available.
is an open source Python 2 library that provides modules for crafting and sending packets
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
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 HANA SQL Command Network (
- SAP Network Interface (
Client interfaces for handling the following file formats:
- SAP Personal Security Environment (
- SAP SSO Credential (
- SAP Secure Storage in File System (
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.
To install pysap simply run:
$ pip install pysap
Documentation is available at Read the Docs.
This library is distributed under the GPLv2 license. Check the
COPYING file for
The spirit of this open source initiative is hopefully to help the community to alleviate some of the hindrances associated with the implementation of networking protocols and stacks, aiming at speeding up research and educational activities. By no means this package is meant to be used in production environments / commercial products. If so, we would advise to include it into a proper SDLC process.
The library was designed and developed by Martin Gallo from SecureAuth's Innovation Labs team, with the help of a large number of contributors.
Contributions made by:
- Florian Grunow (@0x79)
- Scott Walsh (@invisiblethreat)
- Joris van de Vis (@jvis)
- Victor Portal Gonzalez
- Dmitry Yudin (@ret5et)
- Hans-Christian Esperer (@hce)
- Vahagn Vardanyan (@vah13)
- Mathieu Geli (@gelim)
- Yvan Genuer (@iggy38)
- Malte Heinzelmann (@hnzlmnn)
- Albert Zedlitz
- Dmitry Chastuhin (@_chipik)
- Andreas Hornig
- Jennifer Hornig (@gloomicious)
Whether you want to report a bug or give some suggestions on this package, drop
us a few lines at
email@example.com or contact the author email
Release history Release notifications | RSS feed
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size||File type||Python version||Upload date||Hashes|
|Filename, size pysap-0.1.19-cp27-cp27m-macosx_10_14_x86_64.whl (146.6 kB)||File type Wheel||Python version cp27||Upload date||Hashes View|
|Filename, size pysap-0.1.19-cp27-cp27m-win_amd64.whl (139.0 kB)||File type Wheel||Python version cp27||Upload date||Hashes View|
|Filename, size pysap-0.1.19.zip (11.0 MB)||File type Source||Python version None||Upload date||Hashes View|
Hashes for pysap-0.1.19-cp27-cp27m-macosx_10_14_x86_64.whl
Hashes for pysap-0.1.19-cp27-cp27m-win_amd64.whl